Search code examples
python-3.xtelegramtelethon

Get available reactions of message in telethon


In windows version of Telegram you see the list of available reactions (which you can submit on the message) in right of message. How can i get that list using telethon?


Solution

  • You have to fetch the chat's full info that has target message.

    full_chat = await client(
        telethon.functions.channels.GetFullChannelRequest(
            channel
        )
    )
    print(full_chat.full_chat.available_reactions)