messages.getMessageReactionsList
Get full message reaction list
Example
const {Api, TelegramClient} = require('telegram');
const {StringSession} = require('telegram/sessions');
const session = new StringSession('');
const client = new TelegramClient(session, apiId, apiHash, {});
(async function run() {
const result = await client.invoke(new Api.messages.getMessageReactionsList({
peer: new Api.InputPeer({...}),
id: 3694644,
reaction: 'random string here',
offset: 'random string here',
limit: 3992090,
}));
console.log(result); // prints the result
})();
TL schema
Method schema is available as of layer 129. Switch »
Parameters
Name
Type
Description
offset
Offset (typically taken from the next_offset field of the returned MessageReactionsList)
Result
Possible errors
Code
Type
Description
Can bots use this methd ?
yes
Related pages
List of message reactions
How to fetch results from large lists of objects.
Last updated
Was this helpful?