channels.getSendAs

Obtains a list of peers that can be used to send messages in a specific group

 اسکیمای روش از لایه 199 در دسترس است. تغییر »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
for_paid_reactions flags.0?true If set, fetches the list of peers that can be used to send paid reactions to messages of a specific peer.
peer InputPeer The group where we intend to send messages

Result

channels.SendAsPeers

Only users can use this method

Possible errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.
400 CHANNEL_PRIVATE You haven't joined this channel/supergroup.
400 CHAT_ID_INVALID The provided chat id is invalid.
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

Message reactions

Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.