cached

package
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2026 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package cached contains cached query helpers.

Index

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

Fetch updates data if needed and returns true if data was modified.

func (*AccountGetChannelDefaultEmojiStatuses) Get

Get updates data if needed and returns it.

func (*AccountGetChannelDefaultEmojiStatuses) Hash

Hash returns last received hash.

func (*AccountGetChannelDefaultEmojiStatuses) Value

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

Fetch updates data if needed and returns true if data was modified.

func (*AccountGetChannelRestrictedStatusEmojis) Get

Get updates data if needed and returns it.

func (*AccountGetChannelRestrictedStatusEmojis) Hash

Hash returns last received hash.

func (*AccountGetChannelRestrictedStatusEmojis) Value

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

Get updates data if needed and returns it.

func (*AccountGetChatThemes) Hash

func (s *AccountGetChatThemes) Hash() int64

Hash returns last received hash.

func (*AccountGetChatThemes) Value

Value returns last received result. NB: May be nil. Returned AccountThemes must not be mutated.

type AccountGetCollectibleEmojiStatuses

type AccountGetCollectibleEmojiStatuses struct {
	// contains filtered or unexported fields
}

func NewAccountGetCollectibleEmojiStatuses

func NewAccountGetCollectibleEmojiStatuses(raw *tg.Client) *AccountGetCollectibleEmojiStatuses

NewAccountGetCollectibleEmojiStatuses creates new AccountGetCollectibleEmojiStatuses.

func (*AccountGetCollectibleEmojiStatuses) Fetch

Fetch updates data if needed and returns true if data was modified.

func (*AccountGetCollectibleEmojiStatuses) Get

Get updates data if needed and returns it.

func (*AccountGetCollectibleEmojiStatuses) Hash

Hash returns last received hash.

func (*AccountGetCollectibleEmojiStatuses) Value

Value returns last received result. NB: May be nil. Returned AccountEmojiStatuses 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

Fetch updates data if needed and returns true if data was modified.

func (*AccountGetDefaultBackgroundEmojis) Get

Get updates data if needed and returns it.

func (*AccountGetDefaultBackgroundEmojis) Hash

Hash returns last received hash.

func (*AccountGetDefaultBackgroundEmojis) Value

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

Fetch updates data if needed and returns true if data was modified.

func (*AccountGetDefaultEmojiStatuses) Get

Get updates data if needed and returns it.

func (*AccountGetDefaultEmojiStatuses) Hash

Hash returns last received hash.

func (*AccountGetDefaultEmojiStatuses) Value

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

Fetch updates data if needed and returns true if data was modified.

func (*AccountGetDefaultGroupPhotoEmojis) Get

Get updates data if needed and returns it.

func (*AccountGetDefaultGroupPhotoEmojis) Hash

Hash returns last received hash.

func (*AccountGetDefaultGroupPhotoEmojis) Value

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

Fetch updates data if needed and returns true if data was modified.

func (*AccountGetDefaultProfilePhotoEmojis) Get

Get updates data if needed and returns it.

func (*AccountGetDefaultProfilePhotoEmojis) Hash

Hash returns last received hash.

func (*AccountGetDefaultProfilePhotoEmojis) Value

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

Fetch updates data if needed and returns true if data was modified.

func (*AccountGetRecentEmojiStatuses) Get

Get updates data if needed and returns it.

func (*AccountGetRecentEmojiStatuses) Hash

Hash returns last received hash.

func (*AccountGetRecentEmojiStatuses) Value

Value returns last received result. NB: May be nil. Returned AccountEmojiStatuses must not be mutated.

type AccountGetSavedMusicIDs

type AccountGetSavedMusicIDs struct {
	// contains filtered or unexported fields
}

func NewAccountGetSavedMusicIDs

func NewAccountGetSavedMusicIDs(raw *tg.Client) *AccountGetSavedMusicIDs

NewAccountGetSavedMusicIDs creates new AccountGetSavedMusicIDs.

func (*AccountGetSavedMusicIDs) Fetch

Fetch updates data if needed and returns true if data was modified.

func (*AccountGetSavedMusicIDs) Get

Get updates data if needed and returns it.

func (*AccountGetSavedMusicIDs) Hash

func (s *AccountGetSavedMusicIDs) Hash() int64

Hash returns last received hash.

func (*AccountGetSavedMusicIDs) Value

Value returns last received result. NB: May be nil. Returned AccountSavedMusicIDs 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

Fetch updates data if needed and returns true if data was modified.

func (*AccountGetSavedRingtones) Get

Get updates data if needed and returns it.

func (*AccountGetSavedRingtones) Hash

func (s *AccountGetSavedRingtones) Hash() int64

Hash returns last received hash.

func (*AccountGetSavedRingtones) Value

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

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

Get updates data if needed and returns it.

func (*AccountGetWallPapers) Hash

func (s *AccountGetWallPapers) Hash() int64

Hash returns last received hash.

func (*AccountGetWallPapers) Value

Value returns last received result. NB: May be nil. Returned AccountWallPapers must not be mutated.

type AccountGetWebBrowserSettings

type AccountGetWebBrowserSettings struct {
	// contains filtered or unexported fields
}

func NewAccountGetWebBrowserSettings

func NewAccountGetWebBrowserSettings(raw *tg.Client) *AccountGetWebBrowserSettings

NewAccountGetWebBrowserSettings creates new AccountGetWebBrowserSettings.

func (*AccountGetWebBrowserSettings) Fetch

Fetch updates data if needed and returns true if data was modified.

func (*AccountGetWebBrowserSettings) Get

Get updates data if needed and returns it.

func (*AccountGetWebBrowserSettings) Hash

Hash returns last received hash.

func (*AccountGetWebBrowserSettings) Value

Value returns last received result. NB: May be nil. Returned AccountWebBrowserSettings must not be mutated.

type AicomposeGetTones

type AicomposeGetTones struct {
	// contains filtered or unexported fields
}

func NewAicomposeGetTones

func NewAicomposeGetTones(raw *tg.Client) *AicomposeGetTones

NewAicomposeGetTones creates new AicomposeGetTones.

func (*AicomposeGetTones) Fetch

func (s *AicomposeGetTones) Fetch(ctx context.Context) (bool, error)

Fetch updates data if needed and returns true if data was modified.

func (*AicomposeGetTones) Get

Get updates data if needed and returns it.

func (*AicomposeGetTones) Hash

func (s *AicomposeGetTones) Hash() int64

Hash returns last received hash.

func (*AicomposeGetTones) Value

func (s *AicomposeGetTones) Value() *tg.AicomposeTones

Value returns last received result. NB: May be nil. Returned AicomposeTones 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

Get updates data if needed and returns it.

func (*ContactsGetContacts) Hash

func (s *ContactsGetContacts) Hash() int64

Hash returns last received hash.

func (*ContactsGetContacts) Value

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

Get updates data if needed and returns it.

func (*MessagesGetAllStickers) Hash

func (s *MessagesGetAllStickers) Hash() int64

Hash returns last received hash.

func (*MessagesGetAllStickers) Value

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

Fetch updates data if needed and returns true if data was modified.

func (*MessagesGetAttachMenuBots) Get

Get updates data if needed and returns it.

func (*MessagesGetAttachMenuBots) Hash

func (s *MessagesGetAttachMenuBots) Hash() int64

Hash returns last received hash.

func (*MessagesGetAttachMenuBots) Value

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

Fetch updates data if needed and returns true if data was modified.

func (*MessagesGetDefaultTagReactions) Get

Get updates data if needed and returns it.

func (*MessagesGetDefaultTagReactions) Hash

Hash returns last received hash.

func (*MessagesGetDefaultTagReactions) Value

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

Fetch updates data if needed and returns true if data was modified.

func (*MessagesGetEmojiStickers) Get

Get updates data if needed and returns it.

func (*MessagesGetEmojiStickers) Hash

func (s *MessagesGetEmojiStickers) Hash() int64

Hash returns last received hash.

func (*MessagesGetEmojiStickers) Value

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

Fetch updates data if needed and returns true if data was modified.

func (*MessagesGetFavedStickers) Get

Get updates data if needed and returns it.

func (*MessagesGetFavedStickers) Hash

func (s *MessagesGetFavedStickers) Hash() int64

Hash returns last received hash.

func (*MessagesGetFavedStickers) Value

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

Fetch updates data if needed and returns true if data was modified.

func (*MessagesGetFeaturedEmojiStickers) Get

Get updates data if needed and returns it.

func (*MessagesGetFeaturedEmojiStickers) Hash

Hash returns last received hash.

func (*MessagesGetFeaturedEmojiStickers) Value

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

Fetch updates data if needed and returns true if data was modified.

func (*MessagesGetFeaturedStickers) Get

Get updates data if needed and returns it.

func (*MessagesGetFeaturedStickers) Hash

Hash returns last received hash.

func (*MessagesGetFeaturedStickers) Value

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

Fetch updates data if needed and returns true if data was modified.

func (*MessagesGetMaskStickers) Get

Get updates data if needed and returns it.

func (*MessagesGetMaskStickers) Hash

func (s *MessagesGetMaskStickers) Hash() int64

Hash returns last received hash.

func (*MessagesGetMaskStickers) Value

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

Fetch updates data if needed and returns true if data was modified.

func (*MessagesGetQuickReplies) Get

Get updates data if needed and returns it.

func (*MessagesGetQuickReplies) Hash

func (s *MessagesGetQuickReplies) Hash() int64

Hash returns last received hash.

func (*MessagesGetQuickReplies) Value

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

Fetch updates data if needed and returns true if data was modified.

func (*MessagesGetRecentReactions) Get

Get updates data if needed and returns it.

func (*MessagesGetRecentReactions) Hash

Hash returns last received hash.

func (*MessagesGetRecentReactions) Value

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

Fetch updates data if needed and returns true if data was modified.

func (*MessagesGetRecentStickers) Get

Get updates data if needed and returns it.

func (*MessagesGetRecentStickers) Hash

func (s *MessagesGetRecentStickers) Hash() int64

Hash returns last received hash.

func (*MessagesGetRecentStickers) Value

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

Get updates data if needed and returns it.

func (*MessagesGetSavedGifs) Hash

func (s *MessagesGetSavedGifs) Hash() int64

Hash returns last received hash.

func (*MessagesGetSavedGifs) Value

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

Fetch updates data if needed and returns true if data was modified.

func (*MessagesGetSavedReactionTags) Get

Get updates data if needed and returns it.

func (*MessagesGetSavedReactionTags) Hash

Hash returns last received hash.

func (*MessagesGetSavedReactionTags) Value

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

Get updates data if needed and returns it.

func (*MessagesGetStickers) Hash

func (s *MessagesGetStickers) Hash() int64

Hash returns last received hash.

func (*MessagesGetStickers) Value

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

Fetch updates data if needed and returns true if data was modified.

func (*MessagesGetTopReactions) Get

Get updates data if needed and returns it.

func (*MessagesGetTopReactions) Hash

func (s *MessagesGetTopReactions) Hash() int64

Hash returns last received hash.

func (*MessagesGetTopReactions) Value

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

Fetch updates data if needed and returns true if data was modified.

func (*MessagesSearchCustomEmoji) Get

Get updates data if needed and returns it.

func (*MessagesSearchCustomEmoji) Hash

func (s *MessagesSearchCustomEmoji) Hash() int64

Hash returns last received hash.

func (*MessagesSearchCustomEmoji) Value

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

Fetch updates data if needed and returns true if data was modified.

func (*MessagesSearchEmojiStickerSets) Get

Get updates data if needed and returns it.

func (*MessagesSearchEmojiStickerSets) Hash

Hash returns last received hash.

func (*MessagesSearchEmojiStickerSets) Value

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

Fetch updates data if needed and returns true if data was modified.

func (*MessagesSearchStickerSets) Get

Get updates data if needed and returns it.

func (*MessagesSearchStickerSets) Hash

func (s *MessagesSearchStickerSets) Hash() int64

Hash returns last received hash.

func (*MessagesSearchStickerSets) Value

Value returns last received result. NB: May be nil. Returned MessagesFoundStickerSets must not be mutated.

type PaymentsGetStarGiftActiveAuctions

type PaymentsGetStarGiftActiveAuctions struct {
	// contains filtered or unexported fields
}

func NewPaymentsGetStarGiftActiveAuctions

func NewPaymentsGetStarGiftActiveAuctions(raw *tg.Client) *PaymentsGetStarGiftActiveAuctions

NewPaymentsGetStarGiftActiveAuctions creates new PaymentsGetStarGiftActiveAuctions.

func (*PaymentsGetStarGiftActiveAuctions) Fetch

Fetch updates data if needed and returns true if data was modified.

func (*PaymentsGetStarGiftActiveAuctions) Get

Get updates data if needed and returns it.

func (*PaymentsGetStarGiftActiveAuctions) Hash

Hash returns last received hash.

func (*PaymentsGetStarGiftActiveAuctions) Value

Value returns last received result. NB: May be nil. Returned PaymentsStarGiftActiveAuctions must not be mutated.

type PaymentsGetStarGiftCollections

type PaymentsGetStarGiftCollections struct {
	// contains filtered or unexported fields
}

func NewPaymentsGetStarGiftCollections

func NewPaymentsGetStarGiftCollections(raw *tg.Client, initial *tg.PaymentsGetStarGiftCollectionsRequest) *PaymentsGetStarGiftCollections

NewPaymentsGetStarGiftCollections creates new PaymentsGetStarGiftCollections.

func (*PaymentsGetStarGiftCollections) Fetch

Fetch updates data if needed and returns true if data was modified.

func (*PaymentsGetStarGiftCollections) Get

Get updates data if needed and returns it.

func (*PaymentsGetStarGiftCollections) Hash

Hash returns last received hash.

func (*PaymentsGetStarGiftCollections) Value

Value returns last received result. NB: May be nil. Returned PaymentsStarGiftCollections must not be mutated.

type StoriesGetAlbums

type StoriesGetAlbums struct {
	// contains filtered or unexported fields
}

func NewStoriesGetAlbums

func NewStoriesGetAlbums(raw *tg.Client, initial *tg.StoriesGetAlbumsRequest) *StoriesGetAlbums

NewStoriesGetAlbums creates new StoriesGetAlbums.

func (*StoriesGetAlbums) Fetch

func (s *StoriesGetAlbums) Fetch(ctx context.Context) (bool, error)

Fetch updates data if needed and returns true if data was modified.

func (*StoriesGetAlbums) Get

Get updates data if needed and returns it.

func (*StoriesGetAlbums) Hash

func (s *StoriesGetAlbums) Hash() int64

Hash returns last received hash.

func (*StoriesGetAlbums) Value

func (s *StoriesGetAlbums) Value() *tg.StoriesAlbums

Value returns last received result. NB: May be nil. Returned StoriesAlbums must not be mutated.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL