Layer 227
constructor
contacts.topPeers#70b772a8 categories:Vector<TopPeerCategoryPeers> chats:Vector<Chat> users:Vector<User> = contacts.TopPeers;

Parameters

Name Type Description
Categories Vector < TopPeerCategoryPeers > Top peers by top peer category
Chats Vector < Chat > Chats
Users Vector < User > Users

Gogram Example

// Creating ContactsTopPeersObj constructor
obj := &tg.ContactsTopPeersObj{
    Categories: &tg.VectorTopPeerCategoryPeers{},
    Chats: &tg.VectorChat{},
    Users: &tg.VectorUser{},
}