filters

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: MIT Imports: 1 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message func(msg *gotdbot.Message) bool

Message is a filter for Message type

type UpdateAccentColors

type UpdateAccentColors func(u *gotdbot.UpdateAccentColors) bool

UpdateAccentColors The list of supported accent colors has changed

type UpdateActiveEmojiReactions

type UpdateActiveEmojiReactions func(u *gotdbot.UpdateActiveEmojiReactions) bool

UpdateActiveEmojiReactions The list of active emoji reactions has changed

type UpdateActiveGiftAuctions

type UpdateActiveGiftAuctions func(u *gotdbot.UpdateActiveGiftAuctions) bool

UpdateActiveGiftAuctions The list of auctions in which the current user participates has changed

type UpdateActiveLiveLocationMessages

type UpdateActiveLiveLocationMessages func(u *gotdbot.UpdateActiveLiveLocationMessages) bool

UpdateActiveLiveLocationMessages The list of messages with active live location that need to be updated by the application has changed. The list is persistent across application restarts only if the message database is used

type UpdateActiveNotifications

type UpdateActiveNotifications func(u *gotdbot.UpdateActiveNotifications) bool

UpdateActiveNotifications Contains active notifications that were shown on previous application launches. This update is sent only if the message database is used. In that case it comes once before any updateNotification and updateNotificationGroup update

type UpdateAgeVerificationParameters

type UpdateAgeVerificationParameters func(u *gotdbot.UpdateAgeVerificationParameters) bool

UpdateAgeVerificationParameters The parameters for age verification of the current user's account have changed

type UpdateAnimatedEmojiMessageClicked

type UpdateAnimatedEmojiMessageClicked func(u *gotdbot.UpdateAnimatedEmojiMessageClicked) bool

UpdateAnimatedEmojiMessageClicked Some animated emoji message was clicked and a big animated sticker must be played if the message is visible on the screen. chatActionWatchingAnimations with the text of the message needs to be sent if the sticker is played

type UpdateAnimationSearchParameters

type UpdateAnimationSearchParameters func(u *gotdbot.UpdateAnimationSearchParameters) bool

UpdateAnimationSearchParameters The parameters of animation search through getOption("animation_search_bot_username") bot have changed

type UpdateApplicationRecaptchaVerificationRequired

type UpdateApplicationRecaptchaVerificationRequired func(u *gotdbot.UpdateApplicationRecaptchaVerificationRequired) bool

UpdateApplicationRecaptchaVerificationRequired A request can't be completed unless reCAPTCHA verification is performed; for official mobile applications only.

type UpdateApplicationVerificationRequired

type UpdateApplicationVerificationRequired func(u *gotdbot.UpdateApplicationVerificationRequired) bool

UpdateApplicationVerificationRequired A request can't be completed unless application verification is performed; for official mobile applications only.

type UpdateAttachmentMenuBots

type UpdateAttachmentMenuBots func(u *gotdbot.UpdateAttachmentMenuBots) bool

UpdateAttachmentMenuBots The list of bots added to attachment or side menu has changed

type UpdateAuthorizationState

type UpdateAuthorizationState func(u *gotdbot.UpdateAuthorizationState) bool

UpdateAuthorizationState The user authorization state has changed

type UpdateAutosaveSettings

type UpdateAutosaveSettings func(u *gotdbot.UpdateAutosaveSettings) bool

UpdateAutosaveSettings Autosave settings for some type of chats were updated

type UpdateAvailableMessageEffects

type UpdateAvailableMessageEffects func(u *gotdbot.UpdateAvailableMessageEffects) bool

UpdateAvailableMessageEffects The list of available message effects has changed

type UpdateBasicGroup

type UpdateBasicGroup func(u *gotdbot.UpdateBasicGroup) bool

UpdateBasicGroup Some data of a basic group has changed. This update is guaranteed to come before the basic group identifier is returned to the application

type UpdateBasicGroupFullInfo

type UpdateBasicGroupFullInfo func(u *gotdbot.UpdateBasicGroupFullInfo) bool

UpdateBasicGroupFullInfo Some data in basicGroupFullInfo has been changed

type UpdateBusinessConnection

type UpdateBusinessConnection func(u *gotdbot.UpdateBusinessConnection) bool

UpdateBusinessConnection A business connection has changed; for bots only

type UpdateBusinessMessageEdited

type UpdateBusinessMessageEdited func(u *gotdbot.UpdateBusinessMessageEdited) bool

UpdateBusinessMessageEdited A message in a business account was edited; for bots only

type UpdateBusinessMessagesDeleted

type UpdateBusinessMessagesDeleted func(u *gotdbot.UpdateBusinessMessagesDeleted) bool

UpdateBusinessMessagesDeleted Messages in a business account were deleted; for bots only

type UpdateCall

type UpdateCall func(u *gotdbot.UpdateCall) bool

UpdateCall New call was created or information about a call was updated

type UpdateChatAccentColors

type UpdateChatAccentColors func(u *gotdbot.UpdateChatAccentColors) bool

UpdateChatAccentColors Chat accent colors have changed

type UpdateChatAction

type UpdateChatAction func(u *gotdbot.UpdateChatAction) bool

UpdateChatAction A message sender activity in the chat has changed

type UpdateChatActionBar

type UpdateChatActionBar func(u *gotdbot.UpdateChatActionBar) bool

UpdateChatActionBar The chat action bar was changed

type UpdateChatActiveStories

type UpdateChatActiveStories func(u *gotdbot.UpdateChatActiveStories) bool

UpdateChatActiveStories The list of active stories posted by a specific chat has changed

type UpdateChatAddedToList

type UpdateChatAddedToList func(u *gotdbot.UpdateChatAddedToList) bool

UpdateChatAddedToList A chat was added to a chat list

type UpdateChatAvailableReactions

type UpdateChatAvailableReactions func(u *gotdbot.UpdateChatAvailableReactions) bool

UpdateChatAvailableReactions The chat available reactions were changed

type UpdateChatBackground

type UpdateChatBackground func(u *gotdbot.UpdateChatBackground) bool

UpdateChatBackground The chat background was changed

type UpdateChatBlockList

type UpdateChatBlockList func(u *gotdbot.UpdateChatBlockList) bool

UpdateChatBlockList A chat was blocked or unblocked

type UpdateChatBoost

type UpdateChatBoost func(u *gotdbot.UpdateChatBoost) bool

UpdateChatBoost A chat boost has changed; for bots only

type UpdateChatBusinessBotManageBar

type UpdateChatBusinessBotManageBar func(u *gotdbot.UpdateChatBusinessBotManageBar) bool

UpdateChatBusinessBotManageBar The bar for managing business bot was changed in a chat

type UpdateChatDefaultDisableNotification

type UpdateChatDefaultDisableNotification func(u *gotdbot.UpdateChatDefaultDisableNotification) bool

UpdateChatDefaultDisableNotification The value of the default disable_notification parameter, used when a message is sent to the chat, was changed

type UpdateChatDraftMessage

type UpdateChatDraftMessage func(u *gotdbot.UpdateChatDraftMessage) bool

UpdateChatDraftMessage A chat draft has changed. Be aware that the update may come in the currently opened chat but with old content of the draft. If the user has changed the content of the draft, this update mustn't be applied

type UpdateChatEmojiStatus

type UpdateChatEmojiStatus func(u *gotdbot.UpdateChatEmojiStatus) bool

UpdateChatEmojiStatus Chat emoji status has changed

type UpdateChatFolders

type UpdateChatFolders func(u *gotdbot.UpdateChatFolders) bool

UpdateChatFolders The list of chat folders or a chat folder has changed

type UpdateChatHasProtectedContent

type UpdateChatHasProtectedContent func(u *gotdbot.UpdateChatHasProtectedContent) bool

UpdateChatHasProtectedContent A chat content was allowed or restricted for saving

type UpdateChatHasScheduledMessages

type UpdateChatHasScheduledMessages func(u *gotdbot.UpdateChatHasScheduledMessages) bool

UpdateChatHasScheduledMessages A chat's has_scheduled_messages field has changed

type UpdateChatHasWelcomeMessages

type UpdateChatHasWelcomeMessages func(u *gotdbot.UpdateChatHasWelcomeMessages) bool

UpdateChatHasWelcomeMessages A chat's has_welcome_messages field has changed

type UpdateChatIsMarkedAsUnread

type UpdateChatIsMarkedAsUnread func(u *gotdbot.UpdateChatIsMarkedAsUnread) bool

UpdateChatIsMarkedAsUnread A chat was marked as unread or was read

type UpdateChatIsTranslatable

type UpdateChatIsTranslatable func(u *gotdbot.UpdateChatIsTranslatable) bool

UpdateChatIsTranslatable Translation of chat messages was enabled or disabled

type UpdateChatJoinResult

type UpdateChatJoinResult func(u *gotdbot.UpdateChatJoinResult) bool

UpdateChatJoinResult A join request from the user was completed

type UpdateChatLastMessage

type UpdateChatLastMessage func(u *gotdbot.UpdateChatLastMessage) bool

UpdateChatLastMessage The last message of a chat was changed

type UpdateChatMember

type UpdateChatMember func(u *gotdbot.UpdateChatMember) bool

UpdateChatMember User rights changed in a chat; for bots only

type UpdateChatMessageAutoDeleteTime

type UpdateChatMessageAutoDeleteTime func(u *gotdbot.UpdateChatMessageAutoDeleteTime) bool

UpdateChatMessageAutoDeleteTime The message auto-delete or self-destruct timer setting for a chat was changed

type UpdateChatMessageSender

type UpdateChatMessageSender func(u *gotdbot.UpdateChatMessageSender) bool

UpdateChatMessageSender The message sender that is selected to send messages in a chat has changed

type UpdateChatNotificationSettings

type UpdateChatNotificationSettings func(u *gotdbot.UpdateChatNotificationSettings) bool

UpdateChatNotificationSettings Notification settings for a chat were changed

type UpdateChatOnlineMemberCount

type UpdateChatOnlineMemberCount func(u *gotdbot.UpdateChatOnlineMemberCount) bool

UpdateChatOnlineMemberCount The number of online group members has changed. This update with non-zero number of online group members is sent only for currently opened chats.

type UpdateChatPendingJoinRequests

type UpdateChatPendingJoinRequests func(u *gotdbot.UpdateChatPendingJoinRequests) bool

UpdateChatPendingJoinRequests The chat pending join requests were changed

type UpdateChatPermissions

type UpdateChatPermissions func(u *gotdbot.UpdateChatPermissions) bool

UpdateChatPermissions Chat permissions were changed

type UpdateChatPhoto

type UpdateChatPhoto func(u *gotdbot.UpdateChatPhoto) bool

UpdateChatPhoto A chat photo was changed

type UpdateChatPosition

type UpdateChatPosition func(u *gotdbot.UpdateChatPosition) bool

UpdateChatPosition The position of a chat in a chat list has changed. An updateChatLastMessage or updateChatDraftMessage update might be sent instead of the update

type UpdateChatReadInbox

type UpdateChatReadInbox func(u *gotdbot.UpdateChatReadInbox) bool

UpdateChatReadInbox Incoming messages were read or the number of unread messages has been changed

type UpdateChatReadOutbox

type UpdateChatReadOutbox func(u *gotdbot.UpdateChatReadOutbox) bool

UpdateChatReadOutbox Outgoing messages were read

type UpdateChatRemovedFromList

type UpdateChatRemovedFromList func(u *gotdbot.UpdateChatRemovedFromList) bool

UpdateChatRemovedFromList A chat was removed from a chat list

type UpdateChatReplyMarkup

type UpdateChatReplyMarkup func(u *gotdbot.UpdateChatReplyMarkup) bool

UpdateChatReplyMarkup The chat reply markup was changed

type UpdateChatRevenueAmount

type UpdateChatRevenueAmount func(u *gotdbot.UpdateChatRevenueAmount) bool

UpdateChatRevenueAmount The revenue earned from sponsored messages in a chat has changed. If chat revenue screen is opened, then getChatRevenueTransactions may be called to fetch new transactions

type UpdateChatTheme

type UpdateChatTheme func(u *gotdbot.UpdateChatTheme) bool

UpdateChatTheme The chat theme was changed

type UpdateChatTitle

type UpdateChatTitle func(u *gotdbot.UpdateChatTitle) bool

UpdateChatTitle The title of a chat was changed

type UpdateChatUnreadMentionCount

type UpdateChatUnreadMentionCount func(u *gotdbot.UpdateChatUnreadMentionCount) bool

UpdateChatUnreadMentionCount The chat unread_mention_count has changed

type UpdateChatUnreadPollVoteCount

type UpdateChatUnreadPollVoteCount func(u *gotdbot.UpdateChatUnreadPollVoteCount) bool

UpdateChatUnreadPollVoteCount The chat unread_poll_vote_count has changed

type UpdateChatUnreadReactionCount

type UpdateChatUnreadReactionCount func(u *gotdbot.UpdateChatUnreadReactionCount) bool

UpdateChatUnreadReactionCount The chat unread_reaction_count has changed

type UpdateChatVideoChat

type UpdateChatVideoChat func(u *gotdbot.UpdateChatVideoChat) bool

UpdateChatVideoChat A chat video chat state has changed

type UpdateChatViewAsTopics

type UpdateChatViewAsTopics func(u *gotdbot.UpdateChatViewAsTopics) bool

UpdateChatViewAsTopics A chat default appearance has changed

type UpdateChatWelcomeMessages

type UpdateChatWelcomeMessages func(u *gotdbot.UpdateChatWelcomeMessages) bool

UpdateChatWelcomeMessages The list of welcome messages of a chat has changed

type UpdateCommunity

type UpdateCommunity func(u *gotdbot.UpdateCommunity) bool

UpdateCommunity Some data of a community has changed. This update is guaranteed to come before the community identifier is returned to the application

type UpdateCommunityFullInfo

type UpdateCommunityFullInfo func(u *gotdbot.UpdateCommunityFullInfo) bool

UpdateCommunityFullInfo Some data in communityFullInfo has been changed

type UpdateConnectionState

type UpdateConnectionState func(u *gotdbot.UpdateConnectionState) bool

UpdateConnectionState The connection state has changed. This update must be used only to show a human-readable description of the connection state

type UpdateContactCloseBirthdays

type UpdateContactCloseBirthdays func(u *gotdbot.UpdateContactCloseBirthdays) bool

UpdateContactCloseBirthdays The list of contacts that had birthdays recently or will have birthday soon has changed

type UpdateDefaultBackground

type UpdateDefaultBackground func(u *gotdbot.UpdateDefaultBackground) bool

UpdateDefaultBackground The default background has changed

type UpdateDefaultPaidReactionType

type UpdateDefaultPaidReactionType func(u *gotdbot.UpdateDefaultPaidReactionType) bool

UpdateDefaultPaidReactionType The type of default paid reaction has changed

type UpdateDefaultReactionType

type UpdateDefaultReactionType func(u *gotdbot.UpdateDefaultReactionType) bool

UpdateDefaultReactionType The type of default reaction has changed

type UpdateDeleteMessages

type UpdateDeleteMessages func(u *gotdbot.UpdateDeleteMessages) bool

UpdateDeleteMessages Some messages were deleted

type UpdateDiceEmojis

type UpdateDiceEmojis func(u *gotdbot.UpdateDiceEmojis) bool

UpdateDiceEmojis The list of supported dice emojis has changed

type UpdateDirectMessagesChatTopic

type UpdateDirectMessagesChatTopic func(u *gotdbot.UpdateDirectMessagesChatTopic) bool

UpdateDirectMessagesChatTopic Basic information about a topic in a channel direct messages chat administered by the current user has changed. This update is guaranteed to come before the topic identifier is returned to the application

type UpdateEmojiChatThemes

type UpdateEmojiChatThemes func(u *gotdbot.UpdateEmojiChatThemes) bool

UpdateEmojiChatThemes The list of available emoji chat themes has changed

type UpdateFavoriteStickers

type UpdateFavoriteStickers func(u *gotdbot.UpdateFavoriteStickers) bool

UpdateFavoriteStickers The list of favorite stickers was updated

type UpdateFile

type UpdateFile func(u *gotdbot.UpdateFile) bool

UpdateFile Information about a file was updated

type UpdateFileAddedToDownloads

type UpdateFileAddedToDownloads func(u *gotdbot.UpdateFileAddedToDownloads) bool

UpdateFileAddedToDownloads A file was added to the file download list. This update is sent only after file download list is loaded for the first time

type UpdateFileDownload

type UpdateFileDownload func(u *gotdbot.UpdateFileDownload) bool

UpdateFileDownload A file download was changed. This update is sent only after file download list is loaded for the first time

type UpdateFileDownloads

type UpdateFileDownloads func(u *gotdbot.UpdateFileDownloads) bool

UpdateFileDownloads The state of the file download list has changed

type UpdateFileGenerationStart

type UpdateFileGenerationStart func(u *gotdbot.UpdateFileGenerationStart) bool

UpdateFileGenerationStart The file generation process needs to be started by the application. Use setFileGenerationProgress and finishFileGeneration to generate the file

type UpdateFileGenerationStop

type UpdateFileGenerationStop func(u *gotdbot.UpdateFileGenerationStop) bool

UpdateFileGenerationStop File generation is no longer needed

type UpdateFileRemovedFromDownloads

type UpdateFileRemovedFromDownloads func(u *gotdbot.UpdateFileRemovedFromDownloads) bool

UpdateFileRemovedFromDownloads A file was removed from the file download list. This update is sent only after file download list is loaded for the first time

type UpdateForumTopic

type UpdateForumTopic func(u *gotdbot.UpdateForumTopic) bool

UpdateForumTopic Information about a topic in a forum chat was changed

type UpdateForumTopicInfo

type UpdateForumTopicInfo func(u *gotdbot.UpdateForumTopicInfo) bool

UpdateForumTopicInfo Basic information about a topic in a forum chat was changed

type UpdateFreezeState

type UpdateFreezeState func(u *gotdbot.UpdateFreezeState) bool

UpdateFreezeState The freeze state of the current user's account has changed

type UpdateGiftAuctionState

type UpdateGiftAuctionState func(u *gotdbot.UpdateGiftAuctionState) bool

UpdateGiftAuctionState State of a gift auction was updated

type UpdateGramRevenueStatus

type UpdateGramRevenueStatus func(u *gotdbot.UpdateGramRevenueStatus) bool

UpdateGramRevenueStatus The TON Gram revenue earned by the current user has changed. If Gram transaction screen of the chat is opened, then getTonTransactions may be called to fetch new transactions

type UpdateGroupCall

type UpdateGroupCall func(u *gotdbot.UpdateGroupCall) bool

UpdateGroupCall Information about a group call was updated

type UpdateGroupCallMessageLevels

type UpdateGroupCallMessageLevels func(u *gotdbot.UpdateGroupCallMessageLevels) bool

UpdateGroupCallMessageLevels The levels of live story group call messages have changed

type UpdateGroupCallMessageSendFailed

type UpdateGroupCallMessageSendFailed func(u *gotdbot.UpdateGroupCallMessageSendFailed) bool

UpdateGroupCallMessageSendFailed A group call message failed to send

type UpdateGroupCallMessagesDeleted

type UpdateGroupCallMessagesDeleted func(u *gotdbot.UpdateGroupCallMessagesDeleted) bool

UpdateGroupCallMessagesDeleted Some group call messages were deleted

type UpdateGroupCallParticipant

type UpdateGroupCallParticipant func(u *gotdbot.UpdateGroupCallParticipant) bool

UpdateGroupCallParticipant Information about a group call participant was changed. The updates are sent only after the group call is received through getGroupCall and only if the call is joined or being joined

type UpdateGroupCallParticipants

type UpdateGroupCallParticipants func(u *gotdbot.UpdateGroupCallParticipants) bool

UpdateGroupCallParticipants The list of group call participants that can send and receive encrypted call data has changed; for group calls not bound to a chat only

type UpdateGroupCallVerificationState

type UpdateGroupCallVerificationState func(u *gotdbot.UpdateGroupCallVerificationState) bool

UpdateGroupCallVerificationState The verification state of an encrypted group call has changed; for group calls not bound to a chat only

type UpdateHavePendingNotifications

type UpdateHavePendingNotifications func(u *gotdbot.UpdateHavePendingNotifications) bool

UpdateHavePendingNotifications Describes whether there are some pending notification updates. Can be used to prevent application from killing, while there are some pending notifications

type UpdateInstalledStickerSets

type UpdateInstalledStickerSets func(u *gotdbot.UpdateInstalledStickerSets) bool

UpdateInstalledStickerSets The list of installed sticker sets was updated

type UpdateLanguagePackStrings

type UpdateLanguagePackStrings func(u *gotdbot.UpdateLanguagePackStrings) bool

UpdateLanguagePackStrings Some language pack strings have been updated

type UpdateLiveStoryTopDonors

type UpdateLiveStoryTopDonors func(u *gotdbot.UpdateLiveStoryTopDonors) bool

UpdateLiveStoryTopDonors The list of top donors in live story group call has changed

type UpdateManagedBot

type UpdateManagedBot func(u *gotdbot.UpdateManagedBot) bool

UpdateManagedBot A bot that can be managed by the current bot was created or updated; for bots only

type UpdateMessageContainsUnreadPollVotes

type UpdateMessageContainsUnreadPollVotes func(u *gotdbot.UpdateMessageContainsUnreadPollVotes) bool

UpdateMessageContainsUnreadPollVotes Unread votes were added or removed from a poll message

type UpdateMessageContent

type UpdateMessageContent func(u *gotdbot.UpdateMessageContent) bool

UpdateMessageContent The message content has changed

type UpdateMessageContentOpened

type UpdateMessageContentOpened func(u *gotdbot.UpdateMessageContentOpened) bool

UpdateMessageContentOpened The message content was opened. Updates voice note messages to "listened", video note messages to "viewed" and starts the self-destruct timer

type UpdateMessageEdited

type UpdateMessageEdited func(u *gotdbot.UpdateMessageEdited) bool

UpdateMessageEdited A message was edited. Changes in the message content will come in a separate updateMessageContent

type UpdateMessageEphemeralContent

type UpdateMessageEphemeralContent func(u *gotdbot.UpdateMessageEphemeralContent) bool

UpdateMessageEphemeralContent The message ephemeral content has changed

type UpdateMessageFactCheck

type UpdateMessageFactCheck func(u *gotdbot.UpdateMessageFactCheck) bool

UpdateMessageFactCheck A fact-check added to a message was changed

type UpdateMessageInteractionInfo

type UpdateMessageInteractionInfo func(u *gotdbot.UpdateMessageInteractionInfo) bool

UpdateMessageInteractionInfo The information about interactions with a message has changed

type UpdateMessageIsPinned

type UpdateMessageIsPinned func(u *gotdbot.UpdateMessageIsPinned) bool

UpdateMessageIsPinned The message pinned state was changed

type UpdateMessageLiveLocationViewed

type UpdateMessageLiveLocationViewed func(u *gotdbot.UpdateMessageLiveLocationViewed) bool

UpdateMessageLiveLocationViewed A message with a live location was viewed. When the update is received, the application is expected to update the live location

type UpdateMessageMentionRead

type UpdateMessageMentionRead func(u *gotdbot.UpdateMessageMentionRead) bool

UpdateMessageMentionRead A message with an unread mention was read

type UpdateMessageReaction

type UpdateMessageReaction func(u *gotdbot.UpdateMessageReaction) bool

UpdateMessageReaction User changed its reactions on a message with public reactions; for bots only

type UpdateMessageReactions

type UpdateMessageReactions func(u *gotdbot.UpdateMessageReactions) bool

UpdateMessageReactions Reactions added to a message with anonymous reactions have changed; for bots only

type UpdateMessageSendAcknowledged

type UpdateMessageSendAcknowledged func(u *gotdbot.UpdateMessageSendAcknowledged) bool

UpdateMessageSendAcknowledged A request to send a message has reached the Telegram server. This doesn't mean that the message will be sent successfully.

type UpdateMessageSendFailed

type UpdateMessageSendFailed func(u *gotdbot.UpdateMessageSendFailed) bool

UpdateMessageSendFailed A message failed to send. Be aware that some messages being sent can be irrecoverably deleted, in which case updateDeleteMessages will be received instead of this update

type UpdateMessageSendSucceeded

type UpdateMessageSendSucceeded func(u *gotdbot.UpdateMessageSendSucceeded) bool

UpdateMessageSendSucceeded A message has been successfully sent

type UpdateMessageSuggestedPostInfo

type UpdateMessageSuggestedPostInfo func(u *gotdbot.UpdateMessageSuggestedPostInfo) bool

UpdateMessageSuggestedPostInfo Information about suggested post of a message was changed

type UpdateMessageUnreadReactions

type UpdateMessageUnreadReactions func(u *gotdbot.UpdateMessageUnreadReactions) bool

UpdateMessageUnreadReactions The list of unread reactions added to a message was changed

type UpdateNewBusinessCallbackQuery

type UpdateNewBusinessCallbackQuery func(u *gotdbot.UpdateNewBusinessCallbackQuery) bool

UpdateNewBusinessCallbackQuery A new incoming callback query from a business message; for bots only

type UpdateNewBusinessMessage

type UpdateNewBusinessMessage func(u *gotdbot.UpdateNewBusinessMessage) bool

UpdateNewBusinessMessage A new message was added to a business account; for bots only

type UpdateNewCallSignalingData

type UpdateNewCallSignalingData func(u *gotdbot.UpdateNewCallSignalingData) bool

UpdateNewCallSignalingData New call signaling data arrived

type UpdateNewCallbackQuery

type UpdateNewCallbackQuery func(u *gotdbot.UpdateNewCallbackQuery) bool

UpdateNewCallbackQuery A new incoming callback query; for bots only

type UpdateNewChat

type UpdateNewChat func(u *gotdbot.UpdateNewChat) bool

UpdateNewChat A new chat has been loaded/created. This update is guaranteed to come before the chat identifier is returned to the application. The chat field changes will be reported through separate updates

type UpdateNewChatJoinRequest

type UpdateNewChatJoinRequest func(u *gotdbot.UpdateNewChatJoinRequest) bool

UpdateNewChatJoinRequest A user sent a join request to a chat; for bots only

type UpdateNewChosenInlineResult

type UpdateNewChosenInlineResult func(u *gotdbot.UpdateNewChosenInlineResult) bool

UpdateNewChosenInlineResult The user has chosen a result of an inline query; for bots only

type UpdateNewCustomEvent

type UpdateNewCustomEvent func(u *gotdbot.UpdateNewCustomEvent) bool

UpdateNewCustomEvent A new incoming event; for bots only

type UpdateNewCustomQuery

type UpdateNewCustomQuery func(u *gotdbot.UpdateNewCustomQuery) bool

UpdateNewCustomQuery A new incoming query; for bots only

type UpdateNewGroupCallMessage

type UpdateNewGroupCallMessage func(u *gotdbot.UpdateNewGroupCallMessage) bool

UpdateNewGroupCallMessage A new message was received in a group call

type UpdateNewGroupCallPaidReaction

type UpdateNewGroupCallPaidReaction func(u *gotdbot.UpdateNewGroupCallPaidReaction) bool

UpdateNewGroupCallPaidReaction A new paid reaction was received in a live story group call

type UpdateNewGuestQuery

type UpdateNewGuestQuery func(u *gotdbot.UpdateNewGuestQuery) bool

UpdateNewGuestQuery A new incoming guest query; for bots only

type UpdateNewInlineCallbackQuery

type UpdateNewInlineCallbackQuery func(u *gotdbot.UpdateNewInlineCallbackQuery) bool

UpdateNewInlineCallbackQuery A new incoming callback query from a message sent via a bot; for bots only

type UpdateNewInlineQuery

type UpdateNewInlineQuery func(u *gotdbot.UpdateNewInlineQuery) bool

UpdateNewInlineQuery A new incoming inline query; for bots only

type UpdateNewMessage

type UpdateNewMessage func(u *gotdbot.UpdateNewMessage) bool

UpdateNewMessage A new message was received; can also be an outgoing message

type UpdateNewOauthRequest

type UpdateNewOauthRequest func(u *gotdbot.UpdateNewOauthRequest) bool

UpdateNewOauthRequest An OAuth authorization request was received

type UpdateNewPreCheckoutQuery

type UpdateNewPreCheckoutQuery func(u *gotdbot.UpdateNewPreCheckoutQuery) bool

UpdateNewPreCheckoutQuery A new incoming pre-checkout query; for bots only. Contains full information about a checkout

type UpdateNewShippingQuery

type UpdateNewShippingQuery func(u *gotdbot.UpdateNewShippingQuery) bool

UpdateNewShippingQuery A new incoming shipping query; for bots only. Only for invoices with flexible price

type UpdateNotification

type UpdateNotification func(u *gotdbot.UpdateNotification) bool

UpdateNotification A notification was changed

type UpdateNotificationGroup

type UpdateNotificationGroup func(u *gotdbot.UpdateNotificationGroup) bool

UpdateNotificationGroup A list of active notifications in a notification group has changed

type UpdateOption

type UpdateOption func(u *gotdbot.UpdateOption) bool

UpdateOption An option changed its value

type UpdateOwnedGramCount

type UpdateOwnedGramCount func(u *gotdbot.UpdateOwnedGramCount) bool

UpdateOwnedGramCount The number of TON Grams owned by the current user has changed

type UpdateOwnedStarCount

type UpdateOwnedStarCount func(u *gotdbot.UpdateOwnedStarCount) bool

UpdateOwnedStarCount The number of Telegram Stars owned by the current user has changed

type UpdatePaidMediaPurchased

type UpdatePaidMediaPurchased func(u *gotdbot.UpdatePaidMediaPurchased) bool

UpdatePaidMediaPurchased Paid media were purchased by a user; for bots only

type UpdatePendingMessage

type UpdatePendingMessage func(u *gotdbot.UpdatePendingMessage) bool

UpdatePendingMessage A new pending text or rich message was received in a chat with a bot. The message must be shown in the chat for at most getOption("pending_text_message_period") seconds,

type UpdatePoll

type UpdatePoll func(u *gotdbot.UpdatePoll) bool

UpdatePoll A poll was updated; for bots only

type UpdatePollAnswer

type UpdatePollAnswer func(u *gotdbot.UpdatePollAnswer) bool

UpdatePollAnswer A user changed the answer to a poll; for bots only

type UpdateProfileAccentColors

type UpdateProfileAccentColors func(u *gotdbot.UpdateProfileAccentColors) bool

UpdateProfileAccentColors The list of supported accent colors for user profiles has changed

type UpdateQuickReplyShortcut

type UpdateQuickReplyShortcut func(u *gotdbot.UpdateQuickReplyShortcut) bool

UpdateQuickReplyShortcut Basic information about a quick reply shortcut has changed. This update is guaranteed to come before the quick shortcut name is returned to the application

type UpdateQuickReplyShortcutDeleted

type UpdateQuickReplyShortcutDeleted func(u *gotdbot.UpdateQuickReplyShortcutDeleted) bool

UpdateQuickReplyShortcutDeleted A quick reply shortcut and all its messages were deleted

type UpdateQuickReplyShortcutMessages

type UpdateQuickReplyShortcutMessages func(u *gotdbot.UpdateQuickReplyShortcutMessages) bool

UpdateQuickReplyShortcutMessages The list of quick reply shortcut messages has changed

type UpdateQuickReplyShortcuts

type UpdateQuickReplyShortcuts func(u *gotdbot.UpdateQuickReplyShortcuts) bool

UpdateQuickReplyShortcuts The list of quick reply shortcuts has changed

type UpdateReactionNotificationSettings

type UpdateReactionNotificationSettings func(u *gotdbot.UpdateReactionNotificationSettings) bool

UpdateReactionNotificationSettings Notification settings for reactions were updated

type UpdateRecentStickers

type UpdateRecentStickers func(u *gotdbot.UpdateRecentStickers) bool

UpdateRecentStickers The list of recently used stickers was updated

type UpdateSavedAnimations

type UpdateSavedAnimations func(u *gotdbot.UpdateSavedAnimations) bool

UpdateSavedAnimations The list of saved animations was updated

type UpdateSavedMessagesTags

type UpdateSavedMessagesTags func(u *gotdbot.UpdateSavedMessagesTags) bool

UpdateSavedMessagesTags Tags used in Saved Messages or a Saved Messages topic have changed

type UpdateSavedMessagesTopic

type UpdateSavedMessagesTopic func(u *gotdbot.UpdateSavedMessagesTopic) bool

UpdateSavedMessagesTopic Basic information about a Saved Messages topic has changed. This update is guaranteed to come before the topic identifier is returned to the application

type UpdateSavedMessagesTopicCount

type UpdateSavedMessagesTopicCount func(u *gotdbot.UpdateSavedMessagesTopicCount) bool

UpdateSavedMessagesTopicCount Number of Saved Messages topics has changed

type UpdateSavedNotificationSounds

type UpdateSavedNotificationSounds func(u *gotdbot.UpdateSavedNotificationSounds) bool

UpdateSavedNotificationSounds The list of saved notification sounds was updated. This update may not be sent until information about a notification sound was requested for the first time

type UpdateScopeNotificationSettings

type UpdateScopeNotificationSettings func(u *gotdbot.UpdateScopeNotificationSettings) bool

UpdateScopeNotificationSettings Notification settings for some type of chats were updated

type UpdateSecretChat

type UpdateSecretChat func(u *gotdbot.UpdateSecretChat) bool

UpdateSecretChat Some data of a secret chat has changed. This update is guaranteed to come before the secret chat identifier is returned to the application

type UpdateServiceNotification

type UpdateServiceNotification func(u *gotdbot.UpdateServiceNotification) bool

UpdateServiceNotification A service notification from the server was received. Upon receiving this the application must show a popup with the content of the notification

type UpdateSpeechRecognitionTrial

type UpdateSpeechRecognitionTrial func(u *gotdbot.UpdateSpeechRecognitionTrial) bool

UpdateSpeechRecognitionTrial The parameters of speech recognition without Telegram Premium subscription have changed

type UpdateSpeedLimitNotification

type UpdateSpeedLimitNotification func(u *gotdbot.UpdateSpeedLimitNotification) bool

UpdateSpeedLimitNotification Download or upload file speed for the user was limited, but it can be restored by subscription to Telegram Premium. The notification can be postponed until a file being downloaded or uploaded is visible to the user.

type UpdateStakeDiceState

type UpdateStakeDiceState func(u *gotdbot.UpdateStakeDiceState) bool

UpdateStakeDiceState The stake dice state has changed

type UpdateStarRevenueStatus

type UpdateStarRevenueStatus func(u *gotdbot.UpdateStarRevenueStatus) bool

UpdateStarRevenueStatus The Telegram Star revenue earned by a user or a chat has changed. If Telegram Star transaction screen of the chat is opened, then getStarTransactions may be called to fetch new transactions

type UpdateStickerSet

type UpdateStickerSet func(u *gotdbot.UpdateStickerSet) bool

UpdateStickerSet A sticker set has changed

type UpdateStopMessageDraft

type UpdateStopMessageDraft func(u *gotdbot.UpdateStopMessageDraft) bool

UpdateStopMessageDraft A message draft generation was stopped by the user

type UpdateStory

type UpdateStory func(u *gotdbot.UpdateStory) bool

UpdateStory A story was changed

type UpdateStoryDeleted

type UpdateStoryDeleted func(u *gotdbot.UpdateStoryDeleted) bool

UpdateStoryDeleted A story became inaccessible

type UpdateStoryListChatCount

type UpdateStoryListChatCount func(u *gotdbot.UpdateStoryListChatCount) bool

UpdateStoryListChatCount Number of chats in a story list has changed

type UpdateStoryPostFailed

type UpdateStoryPostFailed func(u *gotdbot.UpdateStoryPostFailed) bool

UpdateStoryPostFailed A story failed to post. If the story posting is canceled, then updateStoryDeleted will be received instead of this update

type UpdateStoryPostSucceeded

type UpdateStoryPostSucceeded func(u *gotdbot.UpdateStoryPostSucceeded) bool

UpdateStoryPostSucceeded A story has been successfully posted

type UpdateStoryStealthMode

type UpdateStoryStealthMode func(u *gotdbot.UpdateStoryStealthMode) bool

UpdateStoryStealthMode Story stealth mode settings have changed

type UpdateSuggestedActions

type UpdateSuggestedActions func(u *gotdbot.UpdateSuggestedActions) bool

UpdateSuggestedActions The list of suggested to the user actions has changed

type UpdateSupergroup

type UpdateSupergroup func(u *gotdbot.UpdateSupergroup) bool

UpdateSupergroup Some data of a supergroup or a channel has changed. This update is guaranteed to come before the supergroup identifier is returned to the application

type UpdateSupergroupFullInfo

type UpdateSupergroupFullInfo func(u *gotdbot.UpdateSupergroupFullInfo) bool

UpdateSupergroupFullInfo Some data in supergroupFullInfo has been changed

type UpdateTermsOfService

type UpdateTermsOfService func(u *gotdbot.UpdateTermsOfService) bool

UpdateTermsOfService New terms of service must be accepted by the user. If the terms of service are declined, then the deleteAccount method must be called with the reason "Decline ToS update"

type UpdateTextCompositionStyles

type UpdateTextCompositionStyles func(u *gotdbot.UpdateTextCompositionStyles) bool

UpdateTextCompositionStyles The styles supported for text composition have changed

type UpdateTopicMessageCount

type UpdateTopicMessageCount func(u *gotdbot.UpdateTopicMessageCount) bool

UpdateTopicMessageCount Number of messages in a topic has changed; for Saved Messages and channel direct messages chat topics only

type UpdateTrendingStickerSets

type UpdateTrendingStickerSets func(u *gotdbot.UpdateTrendingStickerSets) bool

UpdateTrendingStickerSets The list of trending sticker sets was updated or some of them were viewed

type UpdateTrustedMiniAppBots

type UpdateTrustedMiniAppBots func(u *gotdbot.UpdateTrustedMiniAppBots) bool

UpdateTrustedMiniAppBots Lists of bots which Mini Apps must be allowed to read text from clipboard and must be opened without a warning

type UpdateUnconfirmedSession

type UpdateUnconfirmedSession func(u *gotdbot.UpdateUnconfirmedSession) bool

UpdateUnconfirmedSession The first unconfirmed session has changed

type UpdateUnreadChatCount

type UpdateUnreadChatCount func(u *gotdbot.UpdateUnreadChatCount) bool

UpdateUnreadChatCount Number of unread chats, i.e. with unread messages or marked as unread, has changed. This update is sent only if the message database is used

type UpdateUnreadMessageCount

type UpdateUnreadMessageCount func(u *gotdbot.UpdateUnreadMessageCount) bool

UpdateUnreadMessageCount Number of unread messages in a chat list has changed. This update is sent only if the message database is used

type UpdateUser

type UpdateUser func(u *gotdbot.UpdateUser) bool

UpdateUser Some data of a user has changed. This update is guaranteed to come before the user identifier is returned to the application

type UpdateUserFullInfo

type UpdateUserFullInfo func(u *gotdbot.UpdateUserFullInfo) bool

UpdateUserFullInfo Some data in userFullInfo has been changed

type UpdateUserPrivacySettingRules

type UpdateUserPrivacySettingRules func(u *gotdbot.UpdateUserPrivacySettingRules) bool

UpdateUserPrivacySettingRules Some privacy setting rules have been changed

type UpdateUserStatus

type UpdateUserStatus func(u *gotdbot.UpdateUserStatus) bool

UpdateUserStatus The user went online or offline

type UpdateUserSubscription

type UpdateUserSubscription func(u *gotdbot.UpdateUserSubscription) bool

UpdateUserSubscription Subscription of a user to the bot was changed; for bots only

type UpdateVideoPublished

type UpdateVideoPublished func(u *gotdbot.UpdateVideoPublished) bool

UpdateVideoPublished An automatically scheduled message with video has been successfully sent after conversion

type UpdateWebAppMessageSent

type UpdateWebAppMessageSent func(u *gotdbot.UpdateWebAppMessageSent) bool

UpdateWebAppMessageSent A message was sent by an opened Web App, so the Web App needs to be closed

type UpdateWebBrowserSettings

type UpdateWebBrowserSettings func(u *gotdbot.UpdateWebBrowserSettings) bool

UpdateWebBrowserSettings Web browser settings have been updated

type Updates

type Updates func(u *gotdbot.Updates) bool

Updates Contains a list of updates

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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