account.getUniqueGiftChatThemes #
Obtain all chat themes » associated to owned or hosted collectible gifts ».¶
Layer 223
account.chatThemesNotModified#e011e1c4 = account.ChatThemes;
account.chatThemes#be098173 flags:# hash:long themes:Vector<ChatTheme> chats:Vector<Chat> users:Vector<User> next_offset:flags.0?string = account.ChatThemes;
---functions---
account.getUniqueGiftChatThemes#e42ce9c9 offset:string limit:int hash:long = account.ChatThemes; Parameters #
| Name | Type | Description |
|---|---|---|
| offset | string | Offset for pagination, intially an empty string, then equal the value of the last returned account.chatThemes.next_offset (if set). |
| limit | int | Maximum number of results to return, see pagination. Note that the server may return less than limit results, even if the actual number of remaining results is >= limit, paginate to fetch them all. |
| hash | long | Hash from a previously returned account.chatThemes constructor, to avoid returning any result if the theme list hasn't changed. |
Result #
Only users can use this method #
Related pages #
Pagination in the API #
How to fetch results from large lists of objects.¶
account.chatThemes #
Available chat themes¶
Telegram themes #
Telegram apps support generating, sharing and synchronizing app themes.¶
Telegram Gifts #
Users can send Gifts to their friends. The recipients of gifts can display them on their profile pages or turn them into Telegram Stars ». Telegram Stars can be used for many things, including supporting creators and buying services in mini apps.¶