Link Search Menu Expand Document

Constructor: channels.sendAsPeers

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
peersArray of SendAsPeerYesPeers that can be used to send messages to the group
chatsArray of ChatYesMentioned chats
usersArray of UserYesMentioned users

Type: channels.SendAsPeers

Example:

$channels_sendAsPeers = ['_' => 'channels.sendAsPeers', 'peers' => [SendAsPeer, SendAsPeer], 'chats' => [Chat, Chat], 'users' => [User, User]];