telegram api method · layer 229 · #461b3f48

messages.getMessageReactionsList

usable by users

Get message reaction list, along with the sender of each reaction.

definition

messages.getMessageReactionsList#461b3f48 flags:# peer:InputPeer id:int reaction:flags.0?Reaction offset:flags.1?string limit:int = messages.MessageReactionsList;

parameters

nametypedescription
flags#Flags, see TL conditional fields
peerInputPeerPeer
idintMessage ID
reactionflags.0?ReactionGet only reactions of this type
offsetflags.1?stringOffset for pagination (taken from the next_offset field of the returned messages.MessageReactionsList); empty in the first request.
limitintMaximum number of results to return, see pagination

returns

messages.MessageReactionsList

errors (5)

codeerrordescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection.
400CHANNEL_INVALIDThe provided channel is invalid.
400MSG_ID_INVALIDInvalid message ID provided.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).
403BROADCAST_FORBIDDENChannel poll voters and reactions cannot be fetched to prevent deanonymization.

history

present in layers 136–229 · constructor id changed 1×

idlayers
#e0ee6b77136–144
#461b3f48145–229