Layer 227
MessagesDialogsObj
Full list of chats with messages and auxiliary data.
constructor
messages.dialogs#15ba6c40 dialogs:Vector<Dialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Dialogs;
Parameters
| Name | Type | Description |
|---|---|---|
| Dialogs | Vector < Dialog > | List of chats |
| Messages | Vector < Message > | List of last messages from each chat |
| Chats | Vector < Chat > | List of groups mentioned in the chats |
| Users | Vector < User > | List of users mentioned in messages and groups |
Returns
messages.DialogsGogram Example
// Creating MessagesDialogsObj constructor obj := &tg.MessagesDialogsObj{ Dialogs: &tg.VectorDialog{}, Messages: &tg.VectorMessage{}, Chats: &tg.VectorChat{}, Users: &tg.VectorUser{}, }