MadelineProtoDocs/docs/API_docs/constructors/phone.joinAsPeers.md
2024-05-01 14:53:46 +02:00

1.1 KiB

title description nav_exclude image redirect_from
phone.joinAsPeers A list of peers that can be used to join a group call, presenting yourself as a specific user/channel. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/phone_joinAsPeers.html

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:

Name Type Required Description
peers Array of Peer Yes Peers
chats Array of Chat Yes Chats mentioned in the peers vector
users Array of User Yes Users mentioned in the peers vector

Type: phone.JoinAsPeers

Example:

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