FAQ

FAQ


Give me the example? ID: 5e23be87ee06d67569cd0626

https://github.com/TelegramBots/Telegram.Bot.Examples

What example can I use? ID: 5e23be88ee06d67569cd0627

https://github.com/TelegramBots/Telegram.Bot.Examples

What function should I use? ID: 5e23be88ee06d67569cd0628

https://core.telegram.org/bots/api#available-methods

If user reply to himself (like i did with this message) bot`s update would not have value for "ReplyToMessage"? ID: 5ef873869e0f6277dfb8775a

but have you tried checking privacy settings of the bot? i don't think that this should have an effect but maybe it does have

how can I send a bot message to a specific person? ID: 5f033ea49ea99d4bba341f57

await client.SendTextMessageAync(userId, "message")

How do I use an HTTP/Socks proxy? ID: 5f32b7a5996cd169afcb6186

Look at the wiki page: https://telegrambots.github.io/book/4/proxy.html

I got a '409' error. What do I do? ID: 5f32b7d3996cd169afcb6188

You are trying to receive updates multiple times at the same time. Either you are calling GetUpdates from two instances of the bot, or you are calling GetUpdates while a web hook is already set. That is not supported by the API, only receive on one instance.

How do I get the user id from a username? ID: 5f32b7e1996cd169afcb618a

There is no way to do that with the API directly. You could store a list of known usernames, mapped to ids. This is not recommended, because usernames can be changed.

Report Page