channels.getSendAs

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

channels.sendAsPeers#8356cda9 peers:Vector<Peer> chats:Vector<Chat> users:Vector<User> = channels.SendAsPeers;
---functions---
channels.getSendAs#dc770ee peer:InputPeer = channels.SendAsPeers;

Parameters

Name Type Description
peer InputPeer The group where we intend to send messages

Result

channels.SendAsPeers

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Bots can use this method