Layer 227
ContactsTopPeersObj
Top peers
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 |
Returns
contacts.TopPeersGogram Example
// Creating ContactsTopPeersObj constructor obj := &tg.ContactsTopPeersObj{ Categories: &tg.VectorTopPeerCategoryPeers{}, Chats: &tg.VectorChat{}, Users: &tg.VectorUser{}, }