Skip to main content

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

NameTypeRequiredDescription
OffsetstringyesOffset for pagination, intially an empty string, then equal the value of the last returned account.chatThemes.next_offset (if set).
LimitintyesMaximum 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.
Hashint64yesHash from a previously returned account.chatThemes constructor, to avoid returning any result if the theme list hasn't changed.

Returns

AccountChatThemesClass

References