Layer 220
constructor
phone.joinAsPeers#afe5623f peers:Vector<Peer> chats:Vector<Chat> users:Vector<User> = phone.JoinAsPeers;

Parameters

Name Type Description
Peers Vector<Peer> Peers
Chats Vector<Chat> Chats mentioned in the peers vector
Users Vector<User> Users mentioned in the peers vector

Gogram Example

// Creating PhoneJoinAsPeers constructor
obj := &tg.PhoneJoinAsPeers{
    Peers: []tg.Peer{&tg.Peer{}},
    Chats: []tg.Chat{&tg.Chat{}},
    Users: []tg.User{&tg.User{}},
}