Layer 228
AccountChatThemesObj
Available chat themes
constructor
account.chatThemes#be098173 flags:# hash:long themes:Vector<ChatTheme> chats:Vector<Chat> users:Vector<User> next_offset:flags.0?string = account.ChatThemes;
Parameters
| Name | Type | Description |
|---|---|---|
| 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? string | Next offset for pagination. |
Returns
account.ChatThemesGogram Example
// Creating AccountChatThemesObj constructor obj := &tg.AccountChatThemesObj{ Hash: 480, Themes: []tg.ChatTheme{&tg.ChatThemeObj{}}, Chats: []tg.Chat{&tg.ChatObj{}}, Users: []tg.User{&tg.UserObj{}}, NextOffset: "example", }