About bot functionality #19
-
Hello, I'm just starting with my new bot project, and I got some question about functionality of your library. Is there any way to "mark message as readen" without sending anything to a user, just do let him know that his request was readen by my bot? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi 👋
|
Beta Was this translation helpful? Give feedback.
Hi 👋
Thanks for asking 🙂
I recommend to use
sendChatAction
with desired action liketyping
orupload_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 (usinganswerCallbackQuery
), you can specifytext
and optionallyshow_alert
==true
to notify user.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 …