Link Search Menu Expand Document

Constructor: phone.joinAsPeers

Back to constructors index

A list of peers that can be used to join a group call, presenting yourself as a specific user/channel.

Attributes:

NameTypeRequiredDescription
peersArray of PeerYesPeers
chatsArray of ChatYesChats mentioned in the peers vector
usersArray of UserYesUsers mentioned in the peers vector

Type: phone.JoinAsPeers

Example:

$phone_joinAsPeers = ['_' => 'phone.joinAsPeers', 'peers' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]];