Constructor: channels.sendAsPeers
A list of peers that can be used to send messages in a specific group
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| peers | Array of SendAsPeer | Yes | Peers that can be used to send messages to the group |
| chats | Array of Chat | Yes | Mentioned chats |
| users | Array of User | Yes | Mentioned users |
Type: channels.SendAsPeers
Example:
$channels_sendAsPeers = ['_' => 'channels.sendAsPeers', 'peers' => [SendAsPeer, SendAsPeer], 'chats' => [Chat, Chat], 'users' => [User, User]];