Documentation ¶
Overview ¶
Package cached contains cached query helpers.
Index ¶
- type AccountGetChannelDefaultEmojiStatuses
- func (s *AccountGetChannelDefaultEmojiStatuses) Fetch(ctx context.Context) (bool, error)
- func (s *AccountGetChannelDefaultEmojiStatuses) Get(ctx context.Context) (*tg.AccountEmojiStatuses, error)
- func (s *AccountGetChannelDefaultEmojiStatuses) Hash() int64
- func (s *AccountGetChannelDefaultEmojiStatuses) Value() *tg.AccountEmojiStatuses
- type AccountGetChannelRestrictedStatusEmojis
- func (s *AccountGetChannelRestrictedStatusEmojis) Fetch(ctx context.Context) (bool, error)
- func (s *AccountGetChannelRestrictedStatusEmojis) Get(ctx context.Context) (*tg.EmojiList, error)
- func (s *AccountGetChannelRestrictedStatusEmojis) Hash() int64
- func (s *AccountGetChannelRestrictedStatusEmojis) Value() *tg.EmojiList
- type AccountGetChatThemes
- type AccountGetDefaultBackgroundEmojis
- type AccountGetDefaultEmojiStatuses
- func (s *AccountGetDefaultEmojiStatuses) Fetch(ctx context.Context) (bool, error)
- func (s *AccountGetDefaultEmojiStatuses) Get(ctx context.Context) (*tg.AccountEmojiStatuses, error)
- func (s *AccountGetDefaultEmojiStatuses) Hash() int64
- func (s *AccountGetDefaultEmojiStatuses) Value() *tg.AccountEmojiStatuses
- type AccountGetDefaultGroupPhotoEmojis
- type AccountGetDefaultProfilePhotoEmojis
- func (s *AccountGetDefaultProfilePhotoEmojis) Fetch(ctx context.Context) (bool, error)
- func (s *AccountGetDefaultProfilePhotoEmojis) Get(ctx context.Context) (*tg.EmojiList, error)
- func (s *AccountGetDefaultProfilePhotoEmojis) Hash() int64
- func (s *AccountGetDefaultProfilePhotoEmojis) Value() *tg.EmojiList
- type AccountGetRecentEmojiStatuses
- func (s *AccountGetRecentEmojiStatuses) Fetch(ctx context.Context) (bool, error)
- func (s *AccountGetRecentEmojiStatuses) Get(ctx context.Context) (*tg.AccountEmojiStatuses, error)
- func (s *AccountGetRecentEmojiStatuses) Hash() int64
- func (s *AccountGetRecentEmojiStatuses) Value() *tg.AccountEmojiStatuses
- type AccountGetSavedRingtones
- type AccountGetThemes
- type AccountGetWallPapers
- type ContactsGetContacts
- type MessagesGetAllStickers
- type MessagesGetAttachMenuBots
- type MessagesGetDefaultTagReactions
- func (s *MessagesGetDefaultTagReactions) Fetch(ctx context.Context) (bool, error)
- func (s *MessagesGetDefaultTagReactions) Get(ctx context.Context) (*tg.MessagesReactions, error)
- func (s *MessagesGetDefaultTagReactions) Hash() int64
- func (s *MessagesGetDefaultTagReactions) Value() *tg.MessagesReactions
- type MessagesGetEmojiStickers
- type MessagesGetFavedStickers
- type MessagesGetFeaturedEmojiStickers
- func (s *MessagesGetFeaturedEmojiStickers) Fetch(ctx context.Context) (bool, error)
- func (s *MessagesGetFeaturedEmojiStickers) Get(ctx context.Context) (*tg.MessagesFeaturedStickers, error)
- func (s *MessagesGetFeaturedEmojiStickers) Hash() int64
- func (s *MessagesGetFeaturedEmojiStickers) Value() *tg.MessagesFeaturedStickers
- type MessagesGetFeaturedStickers
- func (s *MessagesGetFeaturedStickers) Fetch(ctx context.Context) (bool, error)
- func (s *MessagesGetFeaturedStickers) Get(ctx context.Context) (*tg.MessagesFeaturedStickers, error)
- func (s *MessagesGetFeaturedStickers) Hash() int64
- func (s *MessagesGetFeaturedStickers) Value() *tg.MessagesFeaturedStickers
- type MessagesGetMaskStickers
- type MessagesGetQuickReplies
- type MessagesGetRecentReactions
- type MessagesGetRecentStickers
- type MessagesGetSavedGifs
- type MessagesGetSavedReactionTags
- func (s *MessagesGetSavedReactionTags) Fetch(ctx context.Context) (bool, error)
- func (s *MessagesGetSavedReactionTags) Get(ctx context.Context) (*tg.MessagesSavedReactionTags, error)
- func (s *MessagesGetSavedReactionTags) Hash() int64
- func (s *MessagesGetSavedReactionTags) Value() *tg.MessagesSavedReactionTags
- type MessagesGetStickers
- type MessagesGetTopReactions
- type MessagesSearchCustomEmoji
- type MessagesSearchEmojiStickerSets
- func (s *MessagesSearchEmojiStickerSets) Fetch(ctx context.Context) (bool, error)
- func (s *MessagesSearchEmojiStickerSets) Get(ctx context.Context) (*tg.MessagesFoundStickerSets, error)
- func (s *MessagesSearchEmojiStickerSets) Hash() int64
- func (s *MessagesSearchEmojiStickerSets) Value() *tg.MessagesFoundStickerSets
- type MessagesSearchStickerSets
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountGetChannelDefaultEmojiStatuses ¶
type AccountGetChannelDefaultEmojiStatuses struct {
// contains filtered or unexported fields
}
func NewAccountGetChannelDefaultEmojiStatuses ¶
func NewAccountGetChannelDefaultEmojiStatuses(raw *tg.Client) *AccountGetChannelDefaultEmojiStatuses
NewAccountGetChannelDefaultEmojiStatuses creates new AccountGetChannelDefaultEmojiStatuses.
func (*AccountGetChannelDefaultEmojiStatuses) Fetch ¶
func (s *AccountGetChannelDefaultEmojiStatuses) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*AccountGetChannelDefaultEmojiStatuses) Get ¶
func (s *AccountGetChannelDefaultEmojiStatuses) Get(ctx context.Context) (*tg.AccountEmojiStatuses, error)
Get updates data if needed and returns it.
func (*AccountGetChannelDefaultEmojiStatuses) Hash ¶
func (s *AccountGetChannelDefaultEmojiStatuses) Hash() int64
Hash returns last received hash.
func (*AccountGetChannelDefaultEmojiStatuses) Value ¶
func (s *AccountGetChannelDefaultEmojiStatuses) Value() *tg.AccountEmojiStatuses
Value returns last received result. NB: May be nil. Returned AccountEmojiStatuses must not be mutated.
type AccountGetChannelRestrictedStatusEmojis ¶
type AccountGetChannelRestrictedStatusEmojis struct {
// contains filtered or unexported fields
}
func NewAccountGetChannelRestrictedStatusEmojis ¶
func NewAccountGetChannelRestrictedStatusEmojis(raw *tg.Client) *AccountGetChannelRestrictedStatusEmojis
NewAccountGetChannelRestrictedStatusEmojis creates new AccountGetChannelRestrictedStatusEmojis.
func (*AccountGetChannelRestrictedStatusEmojis) Fetch ¶
func (s *AccountGetChannelRestrictedStatusEmojis) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*AccountGetChannelRestrictedStatusEmojis) Hash ¶
func (s *AccountGetChannelRestrictedStatusEmojis) Hash() int64
Hash returns last received hash.
func (*AccountGetChannelRestrictedStatusEmojis) Value ¶
func (s *AccountGetChannelRestrictedStatusEmojis) Value() *tg.EmojiList
Value returns last received result. NB: May be nil. Returned EmojiList must not be mutated.
type AccountGetChatThemes ¶
type AccountGetChatThemes struct {
// contains filtered or unexported fields
}
func NewAccountGetChatThemes ¶
func NewAccountGetChatThemes(raw *tg.Client) *AccountGetChatThemes
NewAccountGetChatThemes creates new AccountGetChatThemes.
func (*AccountGetChatThemes) Fetch ¶
func (s *AccountGetChatThemes) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*AccountGetChatThemes) Get ¶
func (s *AccountGetChatThemes) Get(ctx context.Context) (*tg.AccountThemes, error)
Get updates data if needed and returns it.
func (*AccountGetChatThemes) Hash ¶
func (s *AccountGetChatThemes) Hash() int64
Hash returns last received hash.
func (*AccountGetChatThemes) Value ¶
func (s *AccountGetChatThemes) Value() *tg.AccountThemes
Value returns last received result. NB: May be nil. Returned AccountThemes must not be mutated.
type AccountGetDefaultBackgroundEmojis ¶
type AccountGetDefaultBackgroundEmojis struct {
// contains filtered or unexported fields
}
func NewAccountGetDefaultBackgroundEmojis ¶
func NewAccountGetDefaultBackgroundEmojis(raw *tg.Client) *AccountGetDefaultBackgroundEmojis
NewAccountGetDefaultBackgroundEmojis creates new AccountGetDefaultBackgroundEmojis.
func (*AccountGetDefaultBackgroundEmojis) Fetch ¶
func (s *AccountGetDefaultBackgroundEmojis) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*AccountGetDefaultBackgroundEmojis) Hash ¶
func (s *AccountGetDefaultBackgroundEmojis) Hash() int64
Hash returns last received hash.
func (*AccountGetDefaultBackgroundEmojis) Value ¶
func (s *AccountGetDefaultBackgroundEmojis) Value() *tg.EmojiList
Value returns last received result. NB: May be nil. Returned EmojiList must not be mutated.
type AccountGetDefaultEmojiStatuses ¶
type AccountGetDefaultEmojiStatuses struct {
// contains filtered or unexported fields
}
func NewAccountGetDefaultEmojiStatuses ¶
func NewAccountGetDefaultEmojiStatuses(raw *tg.Client) *AccountGetDefaultEmojiStatuses
NewAccountGetDefaultEmojiStatuses creates new AccountGetDefaultEmojiStatuses.
func (*AccountGetDefaultEmojiStatuses) Fetch ¶
func (s *AccountGetDefaultEmojiStatuses) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*AccountGetDefaultEmojiStatuses) Get ¶
func (s *AccountGetDefaultEmojiStatuses) Get(ctx context.Context) (*tg.AccountEmojiStatuses, error)
Get updates data if needed and returns it.
func (*AccountGetDefaultEmojiStatuses) Hash ¶
func (s *AccountGetDefaultEmojiStatuses) Hash() int64
Hash returns last received hash.
func (*AccountGetDefaultEmojiStatuses) Value ¶
func (s *AccountGetDefaultEmojiStatuses) Value() *tg.AccountEmojiStatuses
Value returns last received result. NB: May be nil. Returned AccountEmojiStatuses must not be mutated.
type AccountGetDefaultGroupPhotoEmojis ¶
type AccountGetDefaultGroupPhotoEmojis struct {
// contains filtered or unexported fields
}
func NewAccountGetDefaultGroupPhotoEmojis ¶
func NewAccountGetDefaultGroupPhotoEmojis(raw *tg.Client) *AccountGetDefaultGroupPhotoEmojis
NewAccountGetDefaultGroupPhotoEmojis creates new AccountGetDefaultGroupPhotoEmojis.
func (*AccountGetDefaultGroupPhotoEmojis) Fetch ¶
func (s *AccountGetDefaultGroupPhotoEmojis) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*AccountGetDefaultGroupPhotoEmojis) Hash ¶
func (s *AccountGetDefaultGroupPhotoEmojis) Hash() int64
Hash returns last received hash.
func (*AccountGetDefaultGroupPhotoEmojis) Value ¶
func (s *AccountGetDefaultGroupPhotoEmojis) Value() *tg.EmojiList
Value returns last received result. NB: May be nil. Returned EmojiList must not be mutated.
type AccountGetDefaultProfilePhotoEmojis ¶
type AccountGetDefaultProfilePhotoEmojis struct {
// contains filtered or unexported fields
}
func NewAccountGetDefaultProfilePhotoEmojis ¶
func NewAccountGetDefaultProfilePhotoEmojis(raw *tg.Client) *AccountGetDefaultProfilePhotoEmojis
NewAccountGetDefaultProfilePhotoEmojis creates new AccountGetDefaultProfilePhotoEmojis.
func (*AccountGetDefaultProfilePhotoEmojis) Fetch ¶
func (s *AccountGetDefaultProfilePhotoEmojis) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*AccountGetDefaultProfilePhotoEmojis) Hash ¶
func (s *AccountGetDefaultProfilePhotoEmojis) Hash() int64
Hash returns last received hash.
func (*AccountGetDefaultProfilePhotoEmojis) Value ¶
func (s *AccountGetDefaultProfilePhotoEmojis) Value() *tg.EmojiList
Value returns last received result. NB: May be nil. Returned EmojiList must not be mutated.
type AccountGetRecentEmojiStatuses ¶
type AccountGetRecentEmojiStatuses struct {
// contains filtered or unexported fields
}
func NewAccountGetRecentEmojiStatuses ¶
func NewAccountGetRecentEmojiStatuses(raw *tg.Client) *AccountGetRecentEmojiStatuses
NewAccountGetRecentEmojiStatuses creates new AccountGetRecentEmojiStatuses.
func (*AccountGetRecentEmojiStatuses) Fetch ¶
func (s *AccountGetRecentEmojiStatuses) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*AccountGetRecentEmojiStatuses) Get ¶
func (s *AccountGetRecentEmojiStatuses) Get(ctx context.Context) (*tg.AccountEmojiStatuses, error)
Get updates data if needed and returns it.
func (*AccountGetRecentEmojiStatuses) Hash ¶
func (s *AccountGetRecentEmojiStatuses) Hash() int64
Hash returns last received hash.
func (*AccountGetRecentEmojiStatuses) Value ¶
func (s *AccountGetRecentEmojiStatuses) Value() *tg.AccountEmojiStatuses
Value returns last received result. NB: May be nil. Returned AccountEmojiStatuses must not be mutated.
type AccountGetSavedRingtones ¶
type AccountGetSavedRingtones struct {
// contains filtered or unexported fields
}
func NewAccountGetSavedRingtones ¶
func NewAccountGetSavedRingtones(raw *tg.Client) *AccountGetSavedRingtones
NewAccountGetSavedRingtones creates new AccountGetSavedRingtones.
func (*AccountGetSavedRingtones) Fetch ¶
func (s *AccountGetSavedRingtones) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*AccountGetSavedRingtones) Get ¶
func (s *AccountGetSavedRingtones) Get(ctx context.Context) (*tg.AccountSavedRingtones, error)
Get updates data if needed and returns it.
func (*AccountGetSavedRingtones) Hash ¶
func (s *AccountGetSavedRingtones) Hash() int64
Hash returns last received hash.
func (*AccountGetSavedRingtones) Value ¶
func (s *AccountGetSavedRingtones) Value() *tg.AccountSavedRingtones
Value returns last received result. NB: May be nil. Returned AccountSavedRingtones must not be mutated.
type AccountGetThemes ¶
type AccountGetThemes struct {
// contains filtered or unexported fields
}
func NewAccountGetThemes ¶
func NewAccountGetThemes(raw *tg.Client, initial *tg.AccountGetThemesRequest) *AccountGetThemes
NewAccountGetThemes creates new AccountGetThemes.
func (*AccountGetThemes) Fetch ¶
func (s *AccountGetThemes) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*AccountGetThemes) Get ¶
func (s *AccountGetThemes) Get(ctx context.Context) (*tg.AccountThemes, error)
Get updates data if needed and returns it.
func (*AccountGetThemes) Hash ¶
func (s *AccountGetThemes) Hash() int64
Hash returns last received hash.
func (*AccountGetThemes) Value ¶
func (s *AccountGetThemes) Value() *tg.AccountThemes
Value returns last received result. NB: May be nil. Returned AccountThemes must not be mutated.
type AccountGetWallPapers ¶
type AccountGetWallPapers struct {
// contains filtered or unexported fields
}
func NewAccountGetWallPapers ¶
func NewAccountGetWallPapers(raw *tg.Client) *AccountGetWallPapers
NewAccountGetWallPapers creates new AccountGetWallPapers.
func (*AccountGetWallPapers) Fetch ¶
func (s *AccountGetWallPapers) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*AccountGetWallPapers) Get ¶
func (s *AccountGetWallPapers) Get(ctx context.Context) (*tg.AccountWallPapers, error)
Get updates data if needed and returns it.
func (*AccountGetWallPapers) Hash ¶
func (s *AccountGetWallPapers) Hash() int64
Hash returns last received hash.
func (*AccountGetWallPapers) Value ¶
func (s *AccountGetWallPapers) Value() *tg.AccountWallPapers
Value returns last received result. NB: May be nil. Returned AccountWallPapers must not be mutated.
type ContactsGetContacts ¶
type ContactsGetContacts struct {
// contains filtered or unexported fields
}
func NewContactsGetContacts ¶
func NewContactsGetContacts(raw *tg.Client) *ContactsGetContacts
NewContactsGetContacts creates new ContactsGetContacts.
func (*ContactsGetContacts) Fetch ¶
func (s *ContactsGetContacts) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*ContactsGetContacts) Get ¶
func (s *ContactsGetContacts) Get(ctx context.Context) (*tg.ContactsContacts, error)
Get updates data if needed and returns it.
func (*ContactsGetContacts) Hash ¶
func (s *ContactsGetContacts) Hash() int64
Hash returns last received hash.
func (*ContactsGetContacts) Value ¶
func (s *ContactsGetContacts) Value() *tg.ContactsContacts
Value returns last received result. NB: May be nil. Returned ContactsContacts must not be mutated.
type MessagesGetAllStickers ¶
type MessagesGetAllStickers struct {
// contains filtered or unexported fields
}
func NewMessagesGetAllStickers ¶
func NewMessagesGetAllStickers(raw *tg.Client) *MessagesGetAllStickers
NewMessagesGetAllStickers creates new MessagesGetAllStickers.
func (*MessagesGetAllStickers) Fetch ¶
func (s *MessagesGetAllStickers) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*MessagesGetAllStickers) Get ¶
func (s *MessagesGetAllStickers) Get(ctx context.Context) (*tg.MessagesAllStickers, error)
Get updates data if needed and returns it.
func (*MessagesGetAllStickers) Hash ¶
func (s *MessagesGetAllStickers) Hash() int64
Hash returns last received hash.
func (*MessagesGetAllStickers) Value ¶
func (s *MessagesGetAllStickers) Value() *tg.MessagesAllStickers
Value returns last received result. NB: May be nil. Returned MessagesAllStickers must not be mutated.
type MessagesGetAttachMenuBots ¶
type MessagesGetAttachMenuBots struct {
// contains filtered or unexported fields
}
func NewMessagesGetAttachMenuBots ¶
func NewMessagesGetAttachMenuBots(raw *tg.Client) *MessagesGetAttachMenuBots
NewMessagesGetAttachMenuBots creates new MessagesGetAttachMenuBots.
func (*MessagesGetAttachMenuBots) Fetch ¶
func (s *MessagesGetAttachMenuBots) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*MessagesGetAttachMenuBots) Get ¶
func (s *MessagesGetAttachMenuBots) Get(ctx context.Context) (*tg.AttachMenuBots, error)
Get updates data if needed and returns it.
func (*MessagesGetAttachMenuBots) Hash ¶
func (s *MessagesGetAttachMenuBots) Hash() int64
Hash returns last received hash.
func (*MessagesGetAttachMenuBots) Value ¶
func (s *MessagesGetAttachMenuBots) Value() *tg.AttachMenuBots
Value returns last received result. NB: May be nil. Returned AttachMenuBots must not be mutated.
type MessagesGetDefaultTagReactions ¶
type MessagesGetDefaultTagReactions struct {
// contains filtered or unexported fields
}
func NewMessagesGetDefaultTagReactions ¶
func NewMessagesGetDefaultTagReactions(raw *tg.Client) *MessagesGetDefaultTagReactions
NewMessagesGetDefaultTagReactions creates new MessagesGetDefaultTagReactions.
func (*MessagesGetDefaultTagReactions) Fetch ¶
func (s *MessagesGetDefaultTagReactions) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*MessagesGetDefaultTagReactions) Get ¶
func (s *MessagesGetDefaultTagReactions) Get(ctx context.Context) (*tg.MessagesReactions, error)
Get updates data if needed and returns it.
func (*MessagesGetDefaultTagReactions) Hash ¶
func (s *MessagesGetDefaultTagReactions) Hash() int64
Hash returns last received hash.
func (*MessagesGetDefaultTagReactions) Value ¶
func (s *MessagesGetDefaultTagReactions) Value() *tg.MessagesReactions
Value returns last received result. NB: May be nil. Returned MessagesReactions must not be mutated.
type MessagesGetEmojiStickers ¶
type MessagesGetEmojiStickers struct {
// contains filtered or unexported fields
}
func NewMessagesGetEmojiStickers ¶
func NewMessagesGetEmojiStickers(raw *tg.Client) *MessagesGetEmojiStickers
NewMessagesGetEmojiStickers creates new MessagesGetEmojiStickers.
func (*MessagesGetEmojiStickers) Fetch ¶
func (s *MessagesGetEmojiStickers) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*MessagesGetEmojiStickers) Get ¶
func (s *MessagesGetEmojiStickers) Get(ctx context.Context) (*tg.MessagesAllStickers, error)
Get updates data if needed and returns it.
func (*MessagesGetEmojiStickers) Hash ¶
func (s *MessagesGetEmojiStickers) Hash() int64
Hash returns last received hash.
func (*MessagesGetEmojiStickers) Value ¶
func (s *MessagesGetEmojiStickers) Value() *tg.MessagesAllStickers
Value returns last received result. NB: May be nil. Returned MessagesAllStickers must not be mutated.
type MessagesGetFavedStickers ¶
type MessagesGetFavedStickers struct {
// contains filtered or unexported fields
}
func NewMessagesGetFavedStickers ¶
func NewMessagesGetFavedStickers(raw *tg.Client) *MessagesGetFavedStickers
NewMessagesGetFavedStickers creates new MessagesGetFavedStickers.
func (*MessagesGetFavedStickers) Fetch ¶
func (s *MessagesGetFavedStickers) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*MessagesGetFavedStickers) Get ¶
func (s *MessagesGetFavedStickers) Get(ctx context.Context) (*tg.MessagesFavedStickers, error)
Get updates data if needed and returns it.
func (*MessagesGetFavedStickers) Hash ¶
func (s *MessagesGetFavedStickers) Hash() int64
Hash returns last received hash.
func (*MessagesGetFavedStickers) Value ¶
func (s *MessagesGetFavedStickers) Value() *tg.MessagesFavedStickers
Value returns last received result. NB: May be nil. Returned MessagesFavedStickers must not be mutated.
type MessagesGetFeaturedEmojiStickers ¶
type MessagesGetFeaturedEmojiStickers struct {
// contains filtered or unexported fields
}
func NewMessagesGetFeaturedEmojiStickers ¶
func NewMessagesGetFeaturedEmojiStickers(raw *tg.Client) *MessagesGetFeaturedEmojiStickers
NewMessagesGetFeaturedEmojiStickers creates new MessagesGetFeaturedEmojiStickers.
func (*MessagesGetFeaturedEmojiStickers) Fetch ¶
func (s *MessagesGetFeaturedEmojiStickers) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*MessagesGetFeaturedEmojiStickers) Get ¶
func (s *MessagesGetFeaturedEmojiStickers) Get(ctx context.Context) (*tg.MessagesFeaturedStickers, error)
Get updates data if needed and returns it.
func (*MessagesGetFeaturedEmojiStickers) Hash ¶
func (s *MessagesGetFeaturedEmojiStickers) Hash() int64
Hash returns last received hash.
func (*MessagesGetFeaturedEmojiStickers) Value ¶
func (s *MessagesGetFeaturedEmojiStickers) Value() *tg.MessagesFeaturedStickers
Value returns last received result. NB: May be nil. Returned MessagesFeaturedStickers must not be mutated.
type MessagesGetFeaturedStickers ¶
type MessagesGetFeaturedStickers struct {
// contains filtered or unexported fields
}
func NewMessagesGetFeaturedStickers ¶
func NewMessagesGetFeaturedStickers(raw *tg.Client) *MessagesGetFeaturedStickers
NewMessagesGetFeaturedStickers creates new MessagesGetFeaturedStickers.
func (*MessagesGetFeaturedStickers) Fetch ¶
func (s *MessagesGetFeaturedStickers) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*MessagesGetFeaturedStickers) Get ¶
func (s *MessagesGetFeaturedStickers) Get(ctx context.Context) (*tg.MessagesFeaturedStickers, error)
Get updates data if needed and returns it.
func (*MessagesGetFeaturedStickers) Hash ¶
func (s *MessagesGetFeaturedStickers) Hash() int64
Hash returns last received hash.
func (*MessagesGetFeaturedStickers) Value ¶
func (s *MessagesGetFeaturedStickers) Value() *tg.MessagesFeaturedStickers
Value returns last received result. NB: May be nil. Returned MessagesFeaturedStickers must not be mutated.
type MessagesGetMaskStickers ¶
type MessagesGetMaskStickers struct {
// contains filtered or unexported fields
}
func NewMessagesGetMaskStickers ¶
func NewMessagesGetMaskStickers(raw *tg.Client) *MessagesGetMaskStickers
NewMessagesGetMaskStickers creates new MessagesGetMaskStickers.
func (*MessagesGetMaskStickers) Fetch ¶
func (s *MessagesGetMaskStickers) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*MessagesGetMaskStickers) Get ¶
func (s *MessagesGetMaskStickers) Get(ctx context.Context) (*tg.MessagesAllStickers, error)
Get updates data if needed and returns it.
func (*MessagesGetMaskStickers) Hash ¶
func (s *MessagesGetMaskStickers) Hash() int64
Hash returns last received hash.
func (*MessagesGetMaskStickers) Value ¶
func (s *MessagesGetMaskStickers) Value() *tg.MessagesAllStickers
Value returns last received result. NB: May be nil. Returned MessagesAllStickers must not be mutated.
type MessagesGetQuickReplies ¶
type MessagesGetQuickReplies struct {
// contains filtered or unexported fields
}
func NewMessagesGetQuickReplies ¶
func NewMessagesGetQuickReplies(raw *tg.Client) *MessagesGetQuickReplies
NewMessagesGetQuickReplies creates new MessagesGetQuickReplies.
func (*MessagesGetQuickReplies) Fetch ¶
func (s *MessagesGetQuickReplies) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*MessagesGetQuickReplies) Get ¶
func (s *MessagesGetQuickReplies) Get(ctx context.Context) (*tg.MessagesQuickReplies, error)
Get updates data if needed and returns it.
func (*MessagesGetQuickReplies) Hash ¶
func (s *MessagesGetQuickReplies) Hash() int64
Hash returns last received hash.
func (*MessagesGetQuickReplies) Value ¶
func (s *MessagesGetQuickReplies) Value() *tg.MessagesQuickReplies
Value returns last received result. NB: May be nil. Returned MessagesQuickReplies must not be mutated.
type MessagesGetRecentReactions ¶
type MessagesGetRecentReactions struct {
// contains filtered or unexported fields
}
func NewMessagesGetRecentReactions ¶
func NewMessagesGetRecentReactions(raw *tg.Client, initial *tg.MessagesGetRecentReactionsRequest) *MessagesGetRecentReactions
NewMessagesGetRecentReactions creates new MessagesGetRecentReactions.
func (*MessagesGetRecentReactions) Fetch ¶
func (s *MessagesGetRecentReactions) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*MessagesGetRecentReactions) Get ¶
func (s *MessagesGetRecentReactions) Get(ctx context.Context) (*tg.MessagesReactions, error)
Get updates data if needed and returns it.
func (*MessagesGetRecentReactions) Hash ¶
func (s *MessagesGetRecentReactions) Hash() int64
Hash returns last received hash.
func (*MessagesGetRecentReactions) Value ¶
func (s *MessagesGetRecentReactions) Value() *tg.MessagesReactions
Value returns last received result. NB: May be nil. Returned MessagesReactions must not be mutated.
type MessagesGetRecentStickers ¶
type MessagesGetRecentStickers struct {
// contains filtered or unexported fields
}
func NewMessagesGetRecentStickers ¶
func NewMessagesGetRecentStickers(raw *tg.Client, initial *tg.MessagesGetRecentStickersRequest) *MessagesGetRecentStickers
NewMessagesGetRecentStickers creates new MessagesGetRecentStickers.
func (*MessagesGetRecentStickers) Fetch ¶
func (s *MessagesGetRecentStickers) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*MessagesGetRecentStickers) Get ¶
func (s *MessagesGetRecentStickers) Get(ctx context.Context) (*tg.MessagesRecentStickers, error)
Get updates data if needed and returns it.
func (*MessagesGetRecentStickers) Hash ¶
func (s *MessagesGetRecentStickers) Hash() int64
Hash returns last received hash.
func (*MessagesGetRecentStickers) Value ¶
func (s *MessagesGetRecentStickers) Value() *tg.MessagesRecentStickers
Value returns last received result. NB: May be nil. Returned MessagesRecentStickers must not be mutated.
type MessagesGetSavedGifs ¶
type MessagesGetSavedGifs struct {
// contains filtered or unexported fields
}
func NewMessagesGetSavedGifs ¶
func NewMessagesGetSavedGifs(raw *tg.Client) *MessagesGetSavedGifs
NewMessagesGetSavedGifs creates new MessagesGetSavedGifs.
func (*MessagesGetSavedGifs) Fetch ¶
func (s *MessagesGetSavedGifs) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*MessagesGetSavedGifs) Get ¶
func (s *MessagesGetSavedGifs) Get(ctx context.Context) (*tg.MessagesSavedGifs, error)
Get updates data if needed and returns it.
func (*MessagesGetSavedGifs) Hash ¶
func (s *MessagesGetSavedGifs) Hash() int64
Hash returns last received hash.
func (*MessagesGetSavedGifs) Value ¶
func (s *MessagesGetSavedGifs) Value() *tg.MessagesSavedGifs
Value returns last received result. NB: May be nil. Returned MessagesSavedGifs must not be mutated.
type MessagesGetSavedReactionTags ¶
type MessagesGetSavedReactionTags struct {
// contains filtered or unexported fields
}
func NewMessagesGetSavedReactionTags ¶
func NewMessagesGetSavedReactionTags(raw *tg.Client, initial *tg.MessagesGetSavedReactionTagsRequest) *MessagesGetSavedReactionTags
NewMessagesGetSavedReactionTags creates new MessagesGetSavedReactionTags.
func (*MessagesGetSavedReactionTags) Fetch ¶
func (s *MessagesGetSavedReactionTags) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*MessagesGetSavedReactionTags) Get ¶
func (s *MessagesGetSavedReactionTags) Get(ctx context.Context) (*tg.MessagesSavedReactionTags, error)
Get updates data if needed and returns it.
func (*MessagesGetSavedReactionTags) Hash ¶
func (s *MessagesGetSavedReactionTags) Hash() int64
Hash returns last received hash.
func (*MessagesGetSavedReactionTags) Value ¶
func (s *MessagesGetSavedReactionTags) Value() *tg.MessagesSavedReactionTags
Value returns last received result. NB: May be nil. Returned MessagesSavedReactionTags must not be mutated.
type MessagesGetStickers ¶
type MessagesGetStickers struct {
// contains filtered or unexported fields
}
func NewMessagesGetStickers ¶
func NewMessagesGetStickers(raw *tg.Client, initial *tg.MessagesGetStickersRequest) *MessagesGetStickers
NewMessagesGetStickers creates new MessagesGetStickers.
func (*MessagesGetStickers) Fetch ¶
func (s *MessagesGetStickers) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*MessagesGetStickers) Get ¶
func (s *MessagesGetStickers) Get(ctx context.Context) (*tg.MessagesStickers, error)
Get updates data if needed and returns it.
func (*MessagesGetStickers) Hash ¶
func (s *MessagesGetStickers) Hash() int64
Hash returns last received hash.
func (*MessagesGetStickers) Value ¶
func (s *MessagesGetStickers) Value() *tg.MessagesStickers
Value returns last received result. NB: May be nil. Returned MessagesStickers must not be mutated.
type MessagesGetTopReactions ¶
type MessagesGetTopReactions struct {
// contains filtered or unexported fields
}
func NewMessagesGetTopReactions ¶
func NewMessagesGetTopReactions(raw *tg.Client, initial *tg.MessagesGetTopReactionsRequest) *MessagesGetTopReactions
NewMessagesGetTopReactions creates new MessagesGetTopReactions.
func (*MessagesGetTopReactions) Fetch ¶
func (s *MessagesGetTopReactions) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*MessagesGetTopReactions) Get ¶
func (s *MessagesGetTopReactions) Get(ctx context.Context) (*tg.MessagesReactions, error)
Get updates data if needed and returns it.
func (*MessagesGetTopReactions) Hash ¶
func (s *MessagesGetTopReactions) Hash() int64
Hash returns last received hash.
func (*MessagesGetTopReactions) Value ¶
func (s *MessagesGetTopReactions) Value() *tg.MessagesReactions
Value returns last received result. NB: May be nil. Returned MessagesReactions must not be mutated.
type MessagesSearchCustomEmoji ¶
type MessagesSearchCustomEmoji struct {
// contains filtered or unexported fields
}
func NewMessagesSearchCustomEmoji ¶
func NewMessagesSearchCustomEmoji(raw *tg.Client, initial *tg.MessagesSearchCustomEmojiRequest) *MessagesSearchCustomEmoji
NewMessagesSearchCustomEmoji creates new MessagesSearchCustomEmoji.
func (*MessagesSearchCustomEmoji) Fetch ¶
func (s *MessagesSearchCustomEmoji) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*MessagesSearchCustomEmoji) Hash ¶
func (s *MessagesSearchCustomEmoji) Hash() int64
Hash returns last received hash.
func (*MessagesSearchCustomEmoji) Value ¶
func (s *MessagesSearchCustomEmoji) Value() *tg.EmojiList
Value returns last received result. NB: May be nil. Returned EmojiList must not be mutated.
type MessagesSearchEmojiStickerSets ¶
type MessagesSearchEmojiStickerSets struct {
// contains filtered or unexported fields
}
func NewMessagesSearchEmojiStickerSets ¶
func NewMessagesSearchEmojiStickerSets(raw *tg.Client, initial *tg.MessagesSearchEmojiStickerSetsRequest) *MessagesSearchEmojiStickerSets
NewMessagesSearchEmojiStickerSets creates new MessagesSearchEmojiStickerSets.
func (*MessagesSearchEmojiStickerSets) Fetch ¶
func (s *MessagesSearchEmojiStickerSets) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*MessagesSearchEmojiStickerSets) Get ¶
func (s *MessagesSearchEmojiStickerSets) Get(ctx context.Context) (*tg.MessagesFoundStickerSets, error)
Get updates data if needed and returns it.
func (*MessagesSearchEmojiStickerSets) Hash ¶
func (s *MessagesSearchEmojiStickerSets) Hash() int64
Hash returns last received hash.
func (*MessagesSearchEmojiStickerSets) Value ¶
func (s *MessagesSearchEmojiStickerSets) Value() *tg.MessagesFoundStickerSets
Value returns last received result. NB: May be nil. Returned MessagesFoundStickerSets must not be mutated.
type MessagesSearchStickerSets ¶
type MessagesSearchStickerSets struct {
// contains filtered or unexported fields
}
func NewMessagesSearchStickerSets ¶
func NewMessagesSearchStickerSets(raw *tg.Client, initial *tg.MessagesSearchStickerSetsRequest) *MessagesSearchStickerSets
NewMessagesSearchStickerSets creates new MessagesSearchStickerSets.
func (*MessagesSearchStickerSets) Fetch ¶
func (s *MessagesSearchStickerSets) Fetch(ctx context.Context) (bool, error)
Fetch updates data if needed and returns true if data was modified.
func (*MessagesSearchStickerSets) Get ¶
func (s *MessagesSearchStickerSets) Get(ctx context.Context) (*tg.MessagesFoundStickerSets, error)
Get updates data if needed and returns it.
func (*MessagesSearchStickerSets) Hash ¶
func (s *MessagesSearchStickerSets) Hash() int64
Hash returns last received hash.
func (*MessagesSearchStickerSets) Value ¶
func (s *MessagesSearchStickerSets) Value() *tg.MessagesFoundStickerSets
Value returns last received result. NB: May be nil. Returned MessagesFoundStickerSets must not be mutated.