Layer 220
MessagesChatsSlice
Partial list of chats, more would have to be fetched with pagination
constructor
messages.chatsSlice#9cd81144 count:int chats:Vector<Chat> = messages.Chats;
Parameters
| Name | Type | Description |
|---|---|---|
| Count | int | Total number of results that were found server-side (not all are included in chats ) |
| Chats | Vector<Chat> | Chats |
Returns
messages.ChatsGogram Example
// Creating MessagesChatsSlice constructor obj := &tg.MessagesChatsSlice{ Count: 0, Chats: []tg.Chat{&tg.Chat{}}, }