Layer 220
AccountChatThemes
Available chat themes
constructor
account.chatThemes#16484857 flags:# hash:long themes:Vector<ChatTheme> chats:Vector<Chat> users:Vector<User> next_offset:flags.0?int = account.ChatThemes;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Hash | long | Hash to pass to the method that returned this constructor, to avoid refetching the result if it hasn't changed. |
| Themes | Vector<ChatTheme> | Themes. |
| Chats | Vector<Chat> | Chats mentioned in the themes field. |
| Users | Vector<User> | Users mentioned in the themes field. |
| NextOffset | flags.0?int | Next offset for pagination. |
Returns
account.ChatThemesGogram Example
// Creating AccountChatThemes constructor obj := &tg.AccountChatThemes{ Hash: int64(0), Themes: []tg.ChatTheme{&tg.ChatTheme{}}, Chats: []tg.Chat{&tg.Chat{}}, Users: []tg.User{&tg.User{}}, // Optional fields: // NextOffset: 0, }