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 | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
for_paid_reactions | true | Nein | 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 | Nein | 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 | Ja | The target peer; when `for_live_stories` is set, the peer that owns the live story. |
Antworten
channels.SendAsPeers
MTProto RPC
- 400 · CHANNEL_INVALID – Der angegebene Kanal ist ungültig.
- 400 · CHANNEL_PRIVATE — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.
- 400 · CHAT_ID_INVALID – Die angegebene Chat-ID ist ungültig.
- 400 · PEER_ID_INVALID – Die angegebene Peer-ID ist ungültig.