Skip to content

About bot functionality #19

Answered by mymmrac
AnthonyAspen asked this question in Q&A
Discussion options

You must be logged in to vote

Hi 👋
Thanks for asking 🙂

  1. I recommend to use sendChatAction with desired action like typing or upload_photo, etc. depending on what you are actually doing in background, but keep in mind that this status will be displayed at most for 5 seconds, so if you are doing something that may take longer, it's better to send an actual message explaining what is happening. Also in case if your action requires answering callback (using answerCallbackQuery), you can specify text and optionally show_alert == true to notify user.

  2. Based on functionality, Telego just takes another way of doing things, it provides full one-to-one API as Telegram describes it, with utility and helper methods. This means …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mymmrac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants