Layer 220
ChannelsSendAsPeers
A list of peers that can be used to send messages in a specific group
constructor
channels.sendAsPeers#f496b0c6 peers:Vector<SendAsPeer> chats:Vector<Chat> users:Vector<User> = channels.SendAsPeers;
Parameters
| Name | Type | Description |
|---|---|---|
| Peers | Vector<SendAsPeer> | Peers that can be used to send messages to the group |
| Chats | Vector<Chat> | Mentioned chats |
| Users | Vector<User> | Mentioned users |
Returns
channels.SendAsPeersGogram Example
// Creating ChannelsSendAsPeers constructor obj := &tg.ChannelsSendAsPeers{ Peers: []tg.SendAsPeer{&tg.SendAsPeer{}}, Chats: []tg.Chat{&tg.Chat{}}, Users: []tg.User{&tg.User{}}, }