account.getUniqueGiftChatThemes
Obtain all chat themes » associated to owned collectible gifts ».
func (c *Client) AccountGetUniqueGiftChatThemes(ctx context.Context, request *AccountGetUniqueGiftChatThemesRequest) (AccountChatThemesClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.AccountGetUniqueGiftChatThemes(ctx, &tg.AccountGetUniqueGiftChatThemesRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // AccountChatThemesClass
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Offset | string | yes | Offset for pagination, intially an empty string, then equal the value of the last returned account.chatThemes.next_offset (if set). |
Limit | int | yes | 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 | int64 | yes | Hash from a previously returned account.chatThemes constructor, to avoid returning any result if the theme list hasn't changed. |
Returns
References
- Official documentation
- Generated Go reference
- TL definition:
account.getUniqueGiftChatThemes#e42ce9c9