channels.getSendAs
Obtains a list of peers that can be displayed as the sender in a specific context. With `for_live_stories`, returns peers that may author live story in-call messages ».
Obtains a list of peers that can be displayed as the sender in a specific context. With `for_live_stories`, returns peers that may author [live story in-call messages »](https://core.telegram.org/api/group-calls.md#in-call-messages).
| Name | Type | Required | Description |
|---|---|---|---|
for_paid_reactions | true | No | If set, fetches the list of peers that can be used to send [paid reactions](https://core.telegram.org/api/reactions.md#paid-reactions) to messages of a specific peer. |
for_live_stories | true | No | Fetch the peers that may be passed to [phone.sendGroupCallMessage](https://core.telegram.org/method/phone.sendGroupCallMessage.md).`send_as` to comment or react in a [live story »](https://core.telegram.org/api/group-calls.md#in-call-messages). |
peer | InputPeer | Yes | The target peer; when `for_live_stories` is set, the peer that owns the live story. |
Replies
channels.SendAsPeers
MTProto RPC
- 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.