Telegram bot c# publish the code
<p>I'm editing the question since the comment below gave me a good source code and I solved the first part.</p>

<p>Anyone looking for a good example on how to program a Telegram bot, check <a href="http://github.com/MrRoundRobin/telegram.bot.examples" rel="nofollow">here</a></p>

<p>My main problem is: I've written the code, I've created a bot. Now I don't really know how to link the bot and the code, I need to know the two following points:</p>

<ul>
<li>How can I debug a bot?</li>
<li>How can I publish the code way to make the published bot use it?</li>
</ul>

<p>Thanks all</p>