Cierra Clark
Cierra Clark

Reputation: 127

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?

Upvotes: 1

Views: 750

Answers (1)

MustA
MustA

Reputation: 1148

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)

Upvotes: 1

Related Questions