skip to Main Content

Is it possible to get callbacks in the webhook whenever a user reads the message sent by the bot, using Telegram bot API?

It is not documented, and I cannot figure out a way how to achieve it.

3

Answers


  1. At the moment this feature is not available with Telegram Bot API.

    We don‘t have a ’delivered to device’ status for messages because
    Telegram can run on as many devices as you want. So which particular
    one would that check mean?

    FAQ: https://telegram.org/faq#q-what-do-the-green-checks-mean


    EDIT

    You can achieve the read status of messages using the regular Telegram API (https://core.telegram.org/methods)


    Related topic

    Login or Signup to reply.
  2. Telegram actually provides two APIs:

    • The Bot API allows you to easily create programs that use Telegram messages for an interface.
    • The Telegram API allows you to build your own customized Telegram clients.

    The feature you are looking for is not available via the Bot API, rather it’s only available via Telegram API.

    Also

    1 check = message delivered to the Telegram cloud (and is waiting for your chat partner to see it in Telegram), notification sent (if the recipient is accepting notifications).

    2 checks = message read (recipient opened Telegram and the conversation with your message).

    We don’t have an additional status for ‘message delivered to device’,
    because you can use Telegram on multiple devices simultaneously. Since
    you don’t know which one of their devices the person is actually
    using, delivery to one of the devices becomes irrelevant.
    [Telegram Support]

    Login or Signup to reply.
  3. As other answered, the feature you are looking for is not available via the Bot API.

    That’s, for me, conceptually, a BUG, or at least a Change request (CR).

    Using Telegram API instead of Bot API is a workaround. 🙁

    We need to ask Telegram the CR, implicitly pointed out on the original question by @user7518s.

    BTW: it could be great to have a callback for voice/media
    messages. In case of a long audio (or video) message, for example, it could be useful to
    know if the message is completely listened (or watched) with timestamp of
    interruption in case of a message partially listened (watched)!

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search