messages.getUnreadReactions #

Get unread reactions to messages you sent

Layer 223

messages.messages#1d73e7ea messages:Vector<Message> topics:Vector<ForumTopic> chats:Vector<Chat> users:Vector<User> = messages.Messages;
messages.messagesSlice#5f206716 flags:# inexact:flags.1?true count:int next_rate:flags.0?int offset_id_offset:flags.2?int search_flood:flags.3?SearchPostsFlood messages:Vector<Message> topics:Vector<ForumTopic> chats:Vector<Chat> users:Vector<User> = messages.Messages;
messages.channelMessages#c776ba4e flags:# inexact:flags.1?true pts:int count:int offset_id_offset:flags.2?int messages:Vector<Message> topics:Vector<ForumTopic> chats:Vector<Chat> users:Vector<User> = messages.Messages;
messages.messagesNotModified#74535f21 count:int = messages.Messages;
---functions---
messages.getUnreadReactions#bd7f90ac flags:# peer:InputPeer top_msg_id:flags.0?int saved_peer_id:flags.1?InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
peerInputPeerPeer
top_msg_idflags.0?intIf set, considers only reactions to messages within the specified forum topic
saved_peer_idflags.1?InputPeerIf set, must be equal to the ID of a monoforum topic: will affect that topic in the monoforum passed in peer.
offset_idintOffsets for pagination, for more info click here
add_offsetintOffsets for pagination, for more info click here
limitintMaximum number of results to return, see pagination
max_idintOnly return reactions for messages up until this message ID
min_idintOnly return reactions for messages starting from this message ID

Result #

messages.Messages

Only users can use this method #

Possible errors #

CodeTypeDescription
400PEER_ID_INVALIDThe provided peer id is invalid.

Forum topics #

Telegram allows creating forums with multiple distinct topics.

Direct messages to channels #

Telegram supports direct messages to channels, which can also be used to suggest (even paid) channel posts.

Pagination in the API #

How to fetch results from large lists of objects.