messages.getMessagesReactions

Get message reactions

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.getMessagesReactions({
        peer: new Api.InputPeer({...}),
        id: [9196068],
        }));
    console.log(result); // prints the result
})();

TL schema

Method schema is available as of layer 129. Switch ยป

Parameters

Name

Type

Description

peer

Peer

id

Message IDs

Result

Updates

Possible errors

Code

Type

Description

Can bots use this methd ?

yes

Last updated