Versions in this module Expand all Collapse all v1 v1.0.4 Aug 1, 2022 v1.0.3 Jul 31, 2022 v1.0.2 Jul 17, 2022 v1.0.1 Jul 17, 2022 Changes in this version + func SetFilePath(path string) + func SetLogVerbosityLevel(level int) + type AccountTTL struct + Days int32 + func NewAccountTTL(days int32) *AccountTTL + func (accountTTL *AccountTTL) MessageType() string + type Address struct + City string + CountryCode string + PostalCode string + State string + StreetLine1 string + StreetLine2 string + func NewAddress(countryCode string, state string, city string, streetLine1 string, ...) *Address + func (address *Address) MessageType() string + type AnimatedChatPhoto struct + File *File + Length int32 + MainFrameTimestamp float64 + func NewAnimatedChatPhoto(length int32, file *File, mainFrameTimestamp float64) *AnimatedChatPhoto + func (animatedChatPhoto *AnimatedChatPhoto) MessageType() string + type Animation struct + Animation *File + Duration int32 + FileName string + HasStickers bool + Height int32 + MimeType string + Minithumbnail *Minithumbnail + Thumbnail *Thumbnail + Width int32 + func NewAnimation(duration int32, width int32, height int32, fileName string, mimeType string, ...) *Animation + func (animation *Animation) MessageType() string + type Animations struct + Animations []Animation + func NewAnimations(animations []Animation) *Animations + func (animations *Animations) MessageType() string + type Audio struct + AlbumCoverMinithumbnail *Minithumbnail + AlbumCoverThumbnail *Thumbnail + Audio *File + Duration int32 + FileName string + MimeType string + Performer string + Title string + func NewAudio(duration int32, title string, performer string, fileName string, ...) *Audio + func (audio *Audio) MessageType() string + type AuthenticationCodeInfo struct + NextType AuthenticationCodeType + PhoneNumber string + Timeout int32 + Type AuthenticationCodeType + func NewAuthenticationCodeInfo(phoneNumber string, typeParam AuthenticationCodeType, ...) *AuthenticationCodeInfo + func (authenticationCodeInfo *AuthenticationCodeInfo) MessageType() string + func (authenticationCodeInfo *AuthenticationCodeInfo) UnmarshalJSON(b []byte) error + type AuthenticationCodeType interface + GetAuthenticationCodeTypeEnum func() AuthenticationCodeTypeEnum + type AuthenticationCodeTypeCall struct + Length int32 + func NewAuthenticationCodeTypeCall(length int32) *AuthenticationCodeTypeCall + func (authenticationCodeTypeCall *AuthenticationCodeTypeCall) GetAuthenticationCodeTypeEnum() AuthenticationCodeTypeEnum + func (authenticationCodeTypeCall *AuthenticationCodeTypeCall) MessageType() string + type AuthenticationCodeTypeEnum string + const AuthenticationCodeTypeCallType + const AuthenticationCodeTypeFlashCallType + const AuthenticationCodeTypeSmsType + const AuthenticationCodeTypeTelegramMessageType + type AuthenticationCodeTypeFlashCall struct + Pattern string + func NewAuthenticationCodeTypeFlashCall(pattern string) *AuthenticationCodeTypeFlashCall + func (authenticationCodeTypeFlashCall *AuthenticationCodeTypeFlashCall) GetAuthenticationCodeTypeEnum() AuthenticationCodeTypeEnum + func (authenticationCodeTypeFlashCall *AuthenticationCodeTypeFlashCall) MessageType() string + type AuthenticationCodeTypeSms struct + Length int32 + func NewAuthenticationCodeTypeSms(length int32) *AuthenticationCodeTypeSms + func (authenticationCodeTypeSms *AuthenticationCodeTypeSms) GetAuthenticationCodeTypeEnum() AuthenticationCodeTypeEnum + func (authenticationCodeTypeSms *AuthenticationCodeTypeSms) MessageType() string + type AuthenticationCodeTypeTelegramMessage struct + Length int32 + func NewAuthenticationCodeTypeTelegramMessage(length int32) *AuthenticationCodeTypeTelegramMessage + func (authenticationCodeTypeTelegramMessage *AuthenticationCodeTypeTelegramMessage) GetAuthenticationCodeTypeEnum() AuthenticationCodeTypeEnum + func (authenticationCodeTypeTelegramMessage *AuthenticationCodeTypeTelegramMessage) MessageType() string + type AuthorizationState interface + GetAuthorizationStateEnum func() AuthorizationStateEnum + type AuthorizationStateClosed struct + func NewAuthorizationStateClosed() *AuthorizationStateClosed + func (authorizationStateClosed *AuthorizationStateClosed) GetAuthorizationStateEnum() AuthorizationStateEnum + func (authorizationStateClosed *AuthorizationStateClosed) MessageType() string + type AuthorizationStateClosing struct + func NewAuthorizationStateClosing() *AuthorizationStateClosing + func (authorizationStateClosing *AuthorizationStateClosing) GetAuthorizationStateEnum() AuthorizationStateEnum + func (authorizationStateClosing *AuthorizationStateClosing) MessageType() string + type AuthorizationStateEnum string + const AuthorizationStateClosedType + const AuthorizationStateClosingType + const AuthorizationStateLoggingOutType + const AuthorizationStateReadyType + const AuthorizationStateWaitCodeType + const AuthorizationStateWaitEncryptionKeyType + const AuthorizationStateWaitOtherDeviceConfirmationType + const AuthorizationStateWaitPasswordType + const AuthorizationStateWaitPhoneNumberType + const AuthorizationStateWaitRegistrationType + const AuthorizationStateWaitTdlibParametersType + type AuthorizationStateLoggingOut struct + func NewAuthorizationStateLoggingOut() *AuthorizationStateLoggingOut + func (authorizationStateLoggingOut *AuthorizationStateLoggingOut) GetAuthorizationStateEnum() AuthorizationStateEnum + func (authorizationStateLoggingOut *AuthorizationStateLoggingOut) MessageType() string + type AuthorizationStateReady struct + func NewAuthorizationStateReady() *AuthorizationStateReady + func (authorizationStateReady *AuthorizationStateReady) GetAuthorizationStateEnum() AuthorizationStateEnum + func (authorizationStateReady *AuthorizationStateReady) MessageType() string + type AuthorizationStateWaitCode struct + CodeInfo *AuthenticationCodeInfo + func NewAuthorizationStateWaitCode(codeInfo *AuthenticationCodeInfo) *AuthorizationStateWaitCode + func (authorizationStateWaitCode *AuthorizationStateWaitCode) GetAuthorizationStateEnum() AuthorizationStateEnum + func (authorizationStateWaitCode *AuthorizationStateWaitCode) MessageType() string + type AuthorizationStateWaitEncryptionKey struct + IsEncrypted bool + func NewAuthorizationStateWaitEncryptionKey(isEncrypted bool) *AuthorizationStateWaitEncryptionKey + func (authorizationStateWaitEncryptionKey *AuthorizationStateWaitEncryptionKey) GetAuthorizationStateEnum() AuthorizationStateEnum + func (authorizationStateWaitEncryptionKey *AuthorizationStateWaitEncryptionKey) MessageType() string + type AuthorizationStateWaitOtherDeviceConfirmation struct + Link string + func NewAuthorizationStateWaitOtherDeviceConfirmation(link string) *AuthorizationStateWaitOtherDeviceConfirmation + func (authorizationStateWaitOtherDeviceConfirmation *AuthorizationStateWaitOtherDeviceConfirmation) GetAuthorizationStateEnum() AuthorizationStateEnum + func (authorizationStateWaitOtherDeviceConfirmation *AuthorizationStateWaitOtherDeviceConfirmation) MessageType() string + type AuthorizationStateWaitPassword struct + HasRecoveryEmailAddress bool + PasswordHint string + RecoveryEmailAddressPattern string + func NewAuthorizationStateWaitPassword(passwordHint string, hasRecoveryEmailAddress bool, ...) *AuthorizationStateWaitPassword + func (authorizationStateWaitPassword *AuthorizationStateWaitPassword) GetAuthorizationStateEnum() AuthorizationStateEnum + func (authorizationStateWaitPassword *AuthorizationStateWaitPassword) MessageType() string + type AuthorizationStateWaitPhoneNumber struct + func NewAuthorizationStateWaitPhoneNumber() *AuthorizationStateWaitPhoneNumber + func (authorizationStateWaitPhoneNumber *AuthorizationStateWaitPhoneNumber) GetAuthorizationStateEnum() AuthorizationStateEnum + func (authorizationStateWaitPhoneNumber *AuthorizationStateWaitPhoneNumber) MessageType() string + type AuthorizationStateWaitRegistration struct + TermsOfService *TermsOfService + func NewAuthorizationStateWaitRegistration(termsOfService *TermsOfService) *AuthorizationStateWaitRegistration + func (authorizationStateWaitRegistration *AuthorizationStateWaitRegistration) GetAuthorizationStateEnum() AuthorizationStateEnum + func (authorizationStateWaitRegistration *AuthorizationStateWaitRegistration) MessageType() string + type AuthorizationStateWaitTdlibParameters struct + func NewAuthorizationStateWaitTdlibParameters() *AuthorizationStateWaitTdlibParameters + func (authorizationStateWaitTdlibParameters *AuthorizationStateWaitTdlibParameters) GetAuthorizationStateEnum() AuthorizationStateEnum + func (authorizationStateWaitTdlibParameters *AuthorizationStateWaitTdlibParameters) MessageType() string + type AutoDownloadSettings struct + IsAutoDownloadEnabled bool + MaxOtherFileSize int32 + MaxPhotoFileSize int32 + MaxVideoFileSize int32 + PreloadLargeVideos bool + PreloadNextAudio bool + UseLessDataForCalls bool + VideoUploadBitrate int32 + func NewAutoDownloadSettings(isAutoDownloadEnabled bool, maxPhotoFileSize int32, maxVideoFileSize int32, ...) *AutoDownloadSettings + func (autoDownloadSettings *AutoDownloadSettings) MessageType() string + type AutoDownloadSettingsPresets struct + High *AutoDownloadSettings + Low *AutoDownloadSettings + Medium *AutoDownloadSettings + func NewAutoDownloadSettingsPresets(low *AutoDownloadSettings, medium *AutoDownloadSettings, ...) *AutoDownloadSettingsPresets + func (autoDownloadSettingsPresets *AutoDownloadSettingsPresets) MessageType() string + type Background struct + Document *Document + ID JSONInt64 + IsDark bool + IsDefault bool + Name string + Type BackgroundType + func NewBackground(iD JSONInt64, isDefault bool, isDark bool, name string, document *Document, ...) *Background + func (background *Background) MessageType() string + func (background *Background) UnmarshalJSON(b []byte) error + type BackgroundFill interface + GetBackgroundFillEnum func() BackgroundFillEnum + type BackgroundFillEnum string + const BackgroundFillGradientType + const BackgroundFillSolidType + type BackgroundFillGradient struct + BottomColor int32 + RotationAngle int32 + TopColor int32 + func NewBackgroundFillGradient(topColor int32, bottomColor int32, rotationAngle int32) *BackgroundFillGradient + func (backgroundFillGradient *BackgroundFillGradient) GetBackgroundFillEnum() BackgroundFillEnum + func (backgroundFillGradient *BackgroundFillGradient) MessageType() string + type BackgroundFillSolid struct + Color int32 + func NewBackgroundFillSolid(color int32) *BackgroundFillSolid + func (backgroundFillSolid *BackgroundFillSolid) GetBackgroundFillEnum() BackgroundFillEnum + func (backgroundFillSolid *BackgroundFillSolid) MessageType() string + type BackgroundType interface + GetBackgroundTypeEnum func() BackgroundTypeEnum + type BackgroundTypeEnum string + const BackgroundTypeFillType + const BackgroundTypePatternType + const BackgroundTypeWallpaperType + type BackgroundTypeFill struct + Fill BackgroundFill + func NewBackgroundTypeFill(fill BackgroundFill) *BackgroundTypeFill + func (backgroundTypeFill *BackgroundTypeFill) GetBackgroundTypeEnum() BackgroundTypeEnum + func (backgroundTypeFill *BackgroundTypeFill) MessageType() string + func (backgroundTypeFill *BackgroundTypeFill) UnmarshalJSON(b []byte) error + type BackgroundTypePattern struct + Fill BackgroundFill + Intensity int32 + IsMoving bool + func NewBackgroundTypePattern(fill BackgroundFill, intensity int32, isMoving bool) *BackgroundTypePattern + func (backgroundTypePattern *BackgroundTypePattern) GetBackgroundTypeEnum() BackgroundTypeEnum + func (backgroundTypePattern *BackgroundTypePattern) MessageType() string + func (backgroundTypePattern *BackgroundTypePattern) UnmarshalJSON(b []byte) error + type BackgroundTypeWallpaper struct + IsBlurred bool + IsMoving bool + func NewBackgroundTypeWallpaper(isBlurred bool, isMoving bool) *BackgroundTypeWallpaper + func (backgroundTypeWallpaper *BackgroundTypeWallpaper) GetBackgroundTypeEnum() BackgroundTypeEnum + func (backgroundTypeWallpaper *BackgroundTypeWallpaper) MessageType() string + type Backgrounds struct + Backgrounds []Background + func NewBackgrounds(backgrounds []Background) *Backgrounds + func (backgrounds *Backgrounds) MessageType() string + type BankCardActionOpenURL struct + Text string + URL string + func NewBankCardActionOpenURL(text string, uRL string) *BankCardActionOpenURL + func (bankCardActionOpenURL *BankCardActionOpenURL) MessageType() string + type BankCardInfo struct + Actions []BankCardActionOpenURL + Title string + func NewBankCardInfo(title string, actions []BankCardActionOpenURL) *BankCardInfo + func (bankCardInfo *BankCardInfo) MessageType() string + type BasicGroup struct + ID int32 + IsActive bool + MemberCount int32 + Status ChatMemberStatus + UpgradedToSupergroupID int32 + func NewBasicGroup(iD int32, memberCount int32, status ChatMemberStatus, isActive bool, ...) *BasicGroup + func (basicGroup *BasicGroup) MessageType() string + func (basicGroup *BasicGroup) UnmarshalJSON(b []byte) error + type BasicGroupFullInfo struct + CreatorUserID int32 + Description string + InviteLink *ChatInviteLink + Members []ChatMember + Photo *ChatPhoto + func NewBasicGroupFullInfo(photo *ChatPhoto, description string, creatorUserID int32, ...) *BasicGroupFullInfo + func (basicGroupFullInfo *BasicGroupFullInfo) MessageType() string + type BotCommand struct + Command string + Description string + func NewBotCommand(command string, description string) *BotCommand + func (botCommand *BotCommand) MessageType() string + type BotInfo struct + Commands []BotCommand + Description string + func NewBotInfo(description string, commands []BotCommand) *BotInfo + func (botInfo *BotInfo) MessageType() string + type Call struct + ID int32 + IsOutgoing bool + IsVideo bool + State CallState + UserID int32 + func NewCall(iD int32, userID int32, isOutgoing bool, isVideo bool, state CallState) *Call + func (call *Call) MessageType() string + func (call *Call) UnmarshalJSON(b []byte) error + type CallDiscardReason interface + GetCallDiscardReasonEnum func() CallDiscardReasonEnum + type CallDiscardReasonDeclined struct + func NewCallDiscardReasonDeclined() *CallDiscardReasonDeclined + func (callDiscardReasonDeclined *CallDiscardReasonDeclined) GetCallDiscardReasonEnum() CallDiscardReasonEnum + func (callDiscardReasonDeclined *CallDiscardReasonDeclined) MessageType() string + type CallDiscardReasonDisconnected struct + func NewCallDiscardReasonDisconnected() *CallDiscardReasonDisconnected + func (callDiscardReasonDisconnected *CallDiscardReasonDisconnected) GetCallDiscardReasonEnum() CallDiscardReasonEnum + func (callDiscardReasonDisconnected *CallDiscardReasonDisconnected) MessageType() string + type CallDiscardReasonEmpty struct + func NewCallDiscardReasonEmpty() *CallDiscardReasonEmpty + func (callDiscardReasonEmpty *CallDiscardReasonEmpty) GetCallDiscardReasonEnum() CallDiscardReasonEnum + func (callDiscardReasonEmpty *CallDiscardReasonEmpty) MessageType() string + type CallDiscardReasonEnum string + const CallDiscardReasonDeclinedType + const CallDiscardReasonDisconnectedType + const CallDiscardReasonEmptyType + const CallDiscardReasonHungUpType + const CallDiscardReasonMissedType + type CallDiscardReasonHungUp struct + func NewCallDiscardReasonHungUp() *CallDiscardReasonHungUp + func (callDiscardReasonHungUp *CallDiscardReasonHungUp) GetCallDiscardReasonEnum() CallDiscardReasonEnum + func (callDiscardReasonHungUp *CallDiscardReasonHungUp) MessageType() string + type CallDiscardReasonMissed struct + func NewCallDiscardReasonMissed() *CallDiscardReasonMissed + func (callDiscardReasonMissed *CallDiscardReasonMissed) GetCallDiscardReasonEnum() CallDiscardReasonEnum + func (callDiscardReasonMissed *CallDiscardReasonMissed) MessageType() string + type CallID struct + ID int32 + func NewCallID(iD int32) *CallID + func (callID *CallID) MessageType() string + type CallProblem interface + GetCallProblemEnum func() CallProblemEnum + type CallProblemDistortedSpeech struct + func NewCallProblemDistortedSpeech() *CallProblemDistortedSpeech + func (callProblemDistortedSpeech *CallProblemDistortedSpeech) GetCallProblemEnum() CallProblemEnum + func (callProblemDistortedSpeech *CallProblemDistortedSpeech) MessageType() string + type CallProblemDistortedVideo struct + func NewCallProblemDistortedVideo() *CallProblemDistortedVideo + func (callProblemDistortedVideo *CallProblemDistortedVideo) GetCallProblemEnum() CallProblemEnum + func (callProblemDistortedVideo *CallProblemDistortedVideo) MessageType() string + type CallProblemDropped struct + func NewCallProblemDropped() *CallProblemDropped + func (callProblemDropped *CallProblemDropped) GetCallProblemEnum() CallProblemEnum + func (callProblemDropped *CallProblemDropped) MessageType() string + type CallProblemEcho struct + func NewCallProblemEcho() *CallProblemEcho + func (callProblemEcho *CallProblemEcho) GetCallProblemEnum() CallProblemEnum + func (callProblemEcho *CallProblemEcho) MessageType() string + type CallProblemEnum string + const CallProblemDistortedSpeechType + const CallProblemDistortedVideoType + const CallProblemDroppedType + const CallProblemEchoType + const CallProblemInterruptionsType + const CallProblemNoiseType + const CallProblemPixelatedVideoType + const CallProblemSilentLocalType + const CallProblemSilentRemoteType + type CallProblemInterruptions struct + func NewCallProblemInterruptions() *CallProblemInterruptions + func (callProblemInterruptions *CallProblemInterruptions) GetCallProblemEnum() CallProblemEnum + func (callProblemInterruptions *CallProblemInterruptions) MessageType() string + type CallProblemNoise struct + func NewCallProblemNoise() *CallProblemNoise + func (callProblemNoise *CallProblemNoise) GetCallProblemEnum() CallProblemEnum + func (callProblemNoise *CallProblemNoise) MessageType() string + type CallProblemPixelatedVideo struct + func NewCallProblemPixelatedVideo() *CallProblemPixelatedVideo + func (callProblemPixelatedVideo *CallProblemPixelatedVideo) GetCallProblemEnum() CallProblemEnum + func (callProblemPixelatedVideo *CallProblemPixelatedVideo) MessageType() string + type CallProblemSilentLocal struct + func NewCallProblemSilentLocal() *CallProblemSilentLocal + func (callProblemSilentLocal *CallProblemSilentLocal) GetCallProblemEnum() CallProblemEnum + func (callProblemSilentLocal *CallProblemSilentLocal) MessageType() string + type CallProblemSilentRemote struct + func NewCallProblemSilentRemote() *CallProblemSilentRemote + func (callProblemSilentRemote *CallProblemSilentRemote) GetCallProblemEnum() CallProblemEnum + func (callProblemSilentRemote *CallProblemSilentRemote) MessageType() string + type CallProtocol struct + LibraryVersions []string + MaxLayer int32 + MinLayer int32 + UDPP2p bool + UDPReflector bool + func NewCallProtocol(uDPP2p bool, uDPReflector bool, minLayer int32, maxLayer int32, ...) *CallProtocol + func (callProtocol *CallProtocol) MessageType() string + type CallServer struct + ID JSONInt64 + IPAddress string + IPv6Address string + Port int32 + Type CallServerType + func NewCallServer(iD JSONInt64, iPAddress string, iPv6Address string, port int32, ...) *CallServer + func (callServer *CallServer) MessageType() string + func (callServer *CallServer) UnmarshalJSON(b []byte) error + type CallServerType interface + GetCallServerTypeEnum func() CallServerTypeEnum + type CallServerTypeEnum string + const CallServerTypeTelegramReflectorType + const CallServerTypeWebrtcType + type CallServerTypeTelegramReflector struct + PeerTag []byte + func NewCallServerTypeTelegramReflector(peerTag []byte) *CallServerTypeTelegramReflector + func (callServerTypeTelegramReflector *CallServerTypeTelegramReflector) GetCallServerTypeEnum() CallServerTypeEnum + func (callServerTypeTelegramReflector *CallServerTypeTelegramReflector) MessageType() string + type CallServerTypeWebrtc struct + Password string + SupportsStun bool + SupportsTurn bool + Username string + func NewCallServerTypeWebrtc(username string, password string, supportsTurn bool, supportsStun bool) *CallServerTypeWebrtc + func (callServerTypeWebrtc *CallServerTypeWebrtc) GetCallServerTypeEnum() CallServerTypeEnum + func (callServerTypeWebrtc *CallServerTypeWebrtc) MessageType() string + type CallState interface + GetCallStateEnum func() CallStateEnum + type CallStateDiscarded struct + NeedDebugInformation bool + NeedRating bool + Reason CallDiscardReason + func NewCallStateDiscarded(reason CallDiscardReason, needRating bool, needDebugInformation bool) *CallStateDiscarded + func (callStateDiscarded *CallStateDiscarded) GetCallStateEnum() CallStateEnum + func (callStateDiscarded *CallStateDiscarded) MessageType() string + func (callStateDiscarded *CallStateDiscarded) UnmarshalJSON(b []byte) error + type CallStateEnum string + const CallStateDiscardedType + const CallStateErrorType + const CallStateExchangingKeysType + const CallStateHangingUpType + const CallStatePendingType + const CallStateReadyType + type CallStateError struct + Error *Error + func NewCallStateError(error *Error) *CallStateError + func (callStateError *CallStateError) GetCallStateEnum() CallStateEnum + func (callStateError *CallStateError) MessageType() string + type CallStateExchangingKeys struct + func NewCallStateExchangingKeys() *CallStateExchangingKeys + func (callStateExchangingKeys *CallStateExchangingKeys) GetCallStateEnum() CallStateEnum + func (callStateExchangingKeys *CallStateExchangingKeys) MessageType() string + type CallStateHangingUp struct + func NewCallStateHangingUp() *CallStateHangingUp + func (callStateHangingUp *CallStateHangingUp) GetCallStateEnum() CallStateEnum + func (callStateHangingUp *CallStateHangingUp) MessageType() string + type CallStatePending struct + IsCreated bool + IsReceived bool + func NewCallStatePending(isCreated bool, isReceived bool) *CallStatePending + func (callStatePending *CallStatePending) GetCallStateEnum() CallStateEnum + func (callStatePending *CallStatePending) MessageType() string + type CallStateReady struct + AllowP2p bool + Config string + Emojis []string + EncryptionKey []byte + Protocol *CallProtocol + Servers []CallServer + func NewCallStateReady(protocol *CallProtocol, servers []CallServer, config string, ...) *CallStateReady + func (callStateReady *CallStateReady) GetCallStateEnum() CallStateEnum + func (callStateReady *CallStateReady) MessageType() string + type CallbackQueryAnswer struct + ShowAlert bool + Text string + URL string + func NewCallbackQueryAnswer(text string, showAlert bool, uRL string) *CallbackQueryAnswer + func (callbackQueryAnswer *CallbackQueryAnswer) MessageType() string + type CallbackQueryPayload interface + GetCallbackQueryPayloadEnum func() CallbackQueryPayloadEnum + type CallbackQueryPayloadData struct + Data []byte + func NewCallbackQueryPayloadData(data []byte) *CallbackQueryPayloadData + func (callbackQueryPayloadData *CallbackQueryPayloadData) GetCallbackQueryPayloadEnum() CallbackQueryPayloadEnum + func (callbackQueryPayloadData *CallbackQueryPayloadData) MessageType() string + type CallbackQueryPayloadDataWithPassword struct + Data []byte + Password string + func NewCallbackQueryPayloadDataWithPassword(password string, data []byte) *CallbackQueryPayloadDataWithPassword + func (callbackQueryPayloadDataWithPassword *CallbackQueryPayloadDataWithPassword) GetCallbackQueryPayloadEnum() CallbackQueryPayloadEnum + func (callbackQueryPayloadDataWithPassword *CallbackQueryPayloadDataWithPassword) MessageType() string + type CallbackQueryPayloadEnum string + const CallbackQueryPayloadDataType + const CallbackQueryPayloadDataWithPasswordType + const CallbackQueryPayloadGameType + type CallbackQueryPayloadGame struct + GameShortName string + func NewCallbackQueryPayloadGame(gameShortName string) *CallbackQueryPayloadGame + func (callbackQueryPayloadGame *CallbackQueryPayloadGame) GetCallbackQueryPayloadEnum() CallbackQueryPayloadEnum + func (callbackQueryPayloadGame *CallbackQueryPayloadGame) MessageType() string + type CanTransferOwnershipResult interface + GetCanTransferOwnershipResultEnum func() CanTransferOwnershipResultEnum + type CanTransferOwnershipResultEnum string + const CanTransferOwnershipResultOkType + const CanTransferOwnershipResultPasswordNeededType + const CanTransferOwnershipResultPasswordTooFreshType + const CanTransferOwnershipResultSessionTooFreshType + type CanTransferOwnershipResultOk struct + func NewCanTransferOwnershipResultOk() *CanTransferOwnershipResultOk + func (canTransferOwnershipResultOk *CanTransferOwnershipResultOk) GetCanTransferOwnershipResultEnum() CanTransferOwnershipResultEnum + func (canTransferOwnershipResultOk *CanTransferOwnershipResultOk) MessageType() string + type CanTransferOwnershipResultPasswordNeeded struct + func NewCanTransferOwnershipResultPasswordNeeded() *CanTransferOwnershipResultPasswordNeeded + func (canTransferOwnershipResultPasswordNeeded *CanTransferOwnershipResultPasswordNeeded) GetCanTransferOwnershipResultEnum() CanTransferOwnershipResultEnum + func (canTransferOwnershipResultPasswordNeeded *CanTransferOwnershipResultPasswordNeeded) MessageType() string + type CanTransferOwnershipResultPasswordTooFresh struct + RetryAfter int32 + func NewCanTransferOwnershipResultPasswordTooFresh(retryAfter int32) *CanTransferOwnershipResultPasswordTooFresh + func (canTransferOwnershipResultPasswordTooFresh *CanTransferOwnershipResultPasswordTooFresh) GetCanTransferOwnershipResultEnum() CanTransferOwnershipResultEnum + func (canTransferOwnershipResultPasswordTooFresh *CanTransferOwnershipResultPasswordTooFresh) MessageType() string + type CanTransferOwnershipResultSessionTooFresh struct + RetryAfter int32 + func NewCanTransferOwnershipResultSessionTooFresh(retryAfter int32) *CanTransferOwnershipResultSessionTooFresh + func (canTransferOwnershipResultSessionTooFresh *CanTransferOwnershipResultSessionTooFresh) GetCanTransferOwnershipResultEnum() CanTransferOwnershipResultEnum + func (canTransferOwnershipResultSessionTooFresh *CanTransferOwnershipResultSessionTooFresh) MessageType() string + type Chat struct + ActionBar ChatActionBar + CanBeDeletedForAllUsers bool + CanBeDeletedOnlyForSelf bool + CanBeReported bool + ClientData string + DefaultDisableNotification bool + DraftMessage *DraftMessage + HasScheduledMessages bool + ID int64 + IsBlocked bool + IsMarkedAsUnread bool + IsVoiceChatEmpty bool + LastMessage *Message + LastReadInboxMessageID int64 + LastReadOutboxMessageID int64 + NotificationSettings *ChatNotificationSettings + Permissions *ChatPermissions + Photo *ChatPhotoInfo + Positions []ChatPosition + ReplyMarkupMessageID int64 + Title string + Type ChatType + UnreadCount int32 + UnreadMentionCount int32 + VoiceChatGroupCallID int32 + func NewChat(iD int64, typeParam ChatType, title string, photo *ChatPhotoInfo, ...) *Chat + func (chat *Chat) MessageType() string + func (chat *Chat) UnmarshalJSON(b []byte) error + type ChatAction interface + GetChatActionEnum func() ChatActionEnum + type ChatActionBar interface + GetChatActionBarEnum func() ChatActionBarEnum + type ChatActionBarAddContact struct + func NewChatActionBarAddContact() *ChatActionBarAddContact + func (chatActionBarAddContact *ChatActionBarAddContact) GetChatActionBarEnum() ChatActionBarEnum + func (chatActionBarAddContact *ChatActionBarAddContact) MessageType() string + type ChatActionBarEnum string + const ChatActionBarAddContactType + const ChatActionBarInviteMembersType + const ChatActionBarReportAddBlockType + const ChatActionBarReportSpamType + const ChatActionBarReportUnrelatedLocationType + const ChatActionBarSharePhoneNumberType + type ChatActionBarInviteMembers struct + func NewChatActionBarInviteMembers() *ChatActionBarInviteMembers + func (chatActionBarInviteMembers *ChatActionBarInviteMembers) GetChatActionBarEnum() ChatActionBarEnum + func (chatActionBarInviteMembers *ChatActionBarInviteMembers) MessageType() string + type ChatActionBarReportAddBlock struct + CanUnarchive bool + Distance int32 + func NewChatActionBarReportAddBlock(canUnarchive bool, distance int32) *ChatActionBarReportAddBlock + func (chatActionBarReportAddBlock *ChatActionBarReportAddBlock) GetChatActionBarEnum() ChatActionBarEnum + func (chatActionBarReportAddBlock *ChatActionBarReportAddBlock) MessageType() string + type ChatActionBarReportSpam struct + CanUnarchive bool + func NewChatActionBarReportSpam(canUnarchive bool) *ChatActionBarReportSpam + func (chatActionBarReportSpam *ChatActionBarReportSpam) GetChatActionBarEnum() ChatActionBarEnum + func (chatActionBarReportSpam *ChatActionBarReportSpam) MessageType() string + type ChatActionBarReportUnrelatedLocation struct + func NewChatActionBarReportUnrelatedLocation() *ChatActionBarReportUnrelatedLocation + func (chatActionBarReportUnrelatedLocation *ChatActionBarReportUnrelatedLocation) GetChatActionBarEnum() ChatActionBarEnum + func (chatActionBarReportUnrelatedLocation *ChatActionBarReportUnrelatedLocation) MessageType() string + type ChatActionBarSharePhoneNumber struct + func NewChatActionBarSharePhoneNumber() *ChatActionBarSharePhoneNumber + func (chatActionBarSharePhoneNumber *ChatActionBarSharePhoneNumber) GetChatActionBarEnum() ChatActionBarEnum + func (chatActionBarSharePhoneNumber *ChatActionBarSharePhoneNumber) MessageType() string + type ChatActionCancel struct + func NewChatActionCancel() *ChatActionCancel + func (chatActionCancel *ChatActionCancel) GetChatActionEnum() ChatActionEnum + func (chatActionCancel *ChatActionCancel) MessageType() string + type ChatActionChoosingContact struct + func NewChatActionChoosingContact() *ChatActionChoosingContact + func (chatActionChoosingContact *ChatActionChoosingContact) GetChatActionEnum() ChatActionEnum + func (chatActionChoosingContact *ChatActionChoosingContact) MessageType() string + type ChatActionChoosingLocation struct + func NewChatActionChoosingLocation() *ChatActionChoosingLocation + func (chatActionChoosingLocation *ChatActionChoosingLocation) GetChatActionEnum() ChatActionEnum + func (chatActionChoosingLocation *ChatActionChoosingLocation) MessageType() string + type ChatActionEnum string + const ChatActionCancelType + const ChatActionChoosingContactType + const ChatActionChoosingLocationType + const ChatActionRecordingVideoNoteType + const ChatActionRecordingVideoType + const ChatActionRecordingVoiceNoteType + const ChatActionStartPlayingGameType + const ChatActionTypingType + const ChatActionUploadingDocumentType + const ChatActionUploadingPhotoType + const ChatActionUploadingVideoNoteType + const ChatActionUploadingVideoType + const ChatActionUploadingVoiceNoteType + type ChatActionRecordingVideo struct + func NewChatActionRecordingVideo() *ChatActionRecordingVideo + func (chatActionRecordingVideo *ChatActionRecordingVideo) GetChatActionEnum() ChatActionEnum + func (chatActionRecordingVideo *ChatActionRecordingVideo) MessageType() string + type ChatActionRecordingVideoNote struct + func NewChatActionRecordingVideoNote() *ChatActionRecordingVideoNote + func (chatActionRecordingVideoNote *ChatActionRecordingVideoNote) GetChatActionEnum() ChatActionEnum + func (chatActionRecordingVideoNote *ChatActionRecordingVideoNote) MessageType() string + type ChatActionRecordingVoiceNote struct + func NewChatActionRecordingVoiceNote() *ChatActionRecordingVoiceNote + func (chatActionRecordingVoiceNote *ChatActionRecordingVoiceNote) GetChatActionEnum() ChatActionEnum + func (chatActionRecordingVoiceNote *ChatActionRecordingVoiceNote) MessageType() string + type ChatActionStartPlayingGame struct + func NewChatActionStartPlayingGame() *ChatActionStartPlayingGame + func (chatActionStartPlayingGame *ChatActionStartPlayingGame) GetChatActionEnum() ChatActionEnum + func (chatActionStartPlayingGame *ChatActionStartPlayingGame) MessageType() string + type ChatActionTyping struct + func NewChatActionTyping() *ChatActionTyping + func (chatActionTyping *ChatActionTyping) GetChatActionEnum() ChatActionEnum + func (chatActionTyping *ChatActionTyping) MessageType() string + type ChatActionUploadingDocument struct + Progress int32 + func NewChatActionUploadingDocument(progress int32) *ChatActionUploadingDocument + func (chatActionUploadingDocument *ChatActionUploadingDocument) GetChatActionEnum() ChatActionEnum + func (chatActionUploadingDocument *ChatActionUploadingDocument) MessageType() string + type ChatActionUploadingPhoto struct + Progress int32 + func NewChatActionUploadingPhoto(progress int32) *ChatActionUploadingPhoto + func (chatActionUploadingPhoto *ChatActionUploadingPhoto) GetChatActionEnum() ChatActionEnum + func (chatActionUploadingPhoto *ChatActionUploadingPhoto) MessageType() string + type ChatActionUploadingVideo struct + Progress int32 + func NewChatActionUploadingVideo(progress int32) *ChatActionUploadingVideo + func (chatActionUploadingVideo *ChatActionUploadingVideo) GetChatActionEnum() ChatActionEnum + func (chatActionUploadingVideo *ChatActionUploadingVideo) MessageType() string + type ChatActionUploadingVideoNote struct + Progress int32 + func NewChatActionUploadingVideoNote(progress int32) *ChatActionUploadingVideoNote + func (chatActionUploadingVideoNote *ChatActionUploadingVideoNote) GetChatActionEnum() ChatActionEnum + func (chatActionUploadingVideoNote *ChatActionUploadingVideoNote) MessageType() string + type ChatActionUploadingVoiceNote struct + Progress int32 + func NewChatActionUploadingVoiceNote(progress int32) *ChatActionUploadingVoiceNote + func (chatActionUploadingVoiceNote *ChatActionUploadingVoiceNote) GetChatActionEnum() ChatActionEnum + func (chatActionUploadingVoiceNote *ChatActionUploadingVoiceNote) MessageType() string + type ChatAdministrator struct + CustomTitle string + IsOwner bool + UserID int32 + func NewChatAdministrator(userID int32, customTitle string, isOwner bool) *ChatAdministrator + func (chatAdministrator *ChatAdministrator) MessageType() string + type ChatAdministrators struct + Administrators []ChatAdministrator + func NewChatAdministrators(administrators []ChatAdministrator) *ChatAdministrators + func (chatAdministrators *ChatAdministrators) MessageType() string + type ChatEvent struct + Action ChatEventAction + Date int32 + ID JSONInt64 + UserID int32 + func NewChatEvent(iD JSONInt64, date int32, userID int32, action ChatEventAction) *ChatEvent + func (chatEvent *ChatEvent) MessageType() string + func (chatEvent *ChatEvent) UnmarshalJSON(b []byte) error + type ChatEventAction interface + GetChatEventActionEnum func() ChatEventActionEnum + type ChatEventActionEnum string + const ChatEventDescriptionChangedType + const ChatEventInvitesToggledType + const ChatEventIsAllHistoryAvailableToggledType + const ChatEventLinkedChatChangedType + const ChatEventLocationChangedType + const ChatEventMemberInvitedType + const ChatEventMemberJoinedType + const ChatEventMemberLeftType + const ChatEventMemberPromotedType + const ChatEventMemberRestrictedType + const ChatEventMessageDeletedType + const ChatEventMessageEditedType + const ChatEventMessagePinnedType + const ChatEventMessageUnpinnedType + const ChatEventPermissionsChangedType + const ChatEventPhotoChangedType + const ChatEventPollStoppedType + const ChatEventSignMessagesToggledType + const ChatEventSlowModeDelayChangedType + const ChatEventStickerSetChangedType + const ChatEventTitleChangedType + const ChatEventUsernameChangedType + const ChatEventVoiceChatCreatedType + const ChatEventVoiceChatDiscardedType + const ChatEventVoiceChatMuteNewParticipantsToggledType + const ChatEventVoiceChatParticipantIsMutedToggledType + type ChatEventDescriptionChanged struct + NewDescription string + OldDescription string + func NewChatEventDescriptionChanged(oldDescription string, newDescription string) *ChatEventDescriptionChanged + func (chatEventDescriptionChanged *ChatEventDescriptionChanged) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventDescriptionChanged *ChatEventDescriptionChanged) MessageType() string + type ChatEventInvitesToggled struct + CanInviteUsers bool + func NewChatEventInvitesToggled(canInviteUsers bool) *ChatEventInvitesToggled + func (chatEventInvitesToggled *ChatEventInvitesToggled) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventInvitesToggled *ChatEventInvitesToggled) MessageType() string + type ChatEventIsAllHistoryAvailableToggled struct + IsAllHistoryAvailable bool + func NewChatEventIsAllHistoryAvailableToggled(isAllHistoryAvailable bool) *ChatEventIsAllHistoryAvailableToggled + func (chatEventIsAllHistoryAvailableToggled *ChatEventIsAllHistoryAvailableToggled) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventIsAllHistoryAvailableToggled *ChatEventIsAllHistoryAvailableToggled) MessageType() string + type ChatEventLinkedChatChanged struct + NewLinkedChatID int64 + OldLinkedChatID int64 + func NewChatEventLinkedChatChanged(oldLinkedChatID int64, newLinkedChatID int64) *ChatEventLinkedChatChanged + func (chatEventLinkedChatChanged *ChatEventLinkedChatChanged) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventLinkedChatChanged *ChatEventLinkedChatChanged) MessageType() string + type ChatEventLocationChanged struct + NewLocation *ChatLocation + OldLocation *ChatLocation + func NewChatEventLocationChanged(oldLocation *ChatLocation, newLocation *ChatLocation) *ChatEventLocationChanged + func (chatEventLocationChanged *ChatEventLocationChanged) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventLocationChanged *ChatEventLocationChanged) MessageType() string + type ChatEventLogFilters struct + InfoChanges bool + MemberInvites bool + MemberJoins bool + MemberLeaves bool + MemberPromotions bool + MemberRestrictions bool + MessageDeletions bool + MessageEdits bool + MessagePins bool + SettingChanges bool + VoiceChatChanges bool + func NewChatEventLogFilters(messageEdits bool, messageDeletions bool, messagePins bool, memberJoins bool, ...) *ChatEventLogFilters + func (chatEventLogFilters *ChatEventLogFilters) MessageType() string + type ChatEventMemberInvited struct + Status ChatMemberStatus + UserID int32 + func NewChatEventMemberInvited(userID int32, status ChatMemberStatus) *ChatEventMemberInvited + func (chatEventMemberInvited *ChatEventMemberInvited) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventMemberInvited *ChatEventMemberInvited) MessageType() string + func (chatEventMemberInvited *ChatEventMemberInvited) UnmarshalJSON(b []byte) error + type ChatEventMemberJoined struct + func NewChatEventMemberJoined() *ChatEventMemberJoined + func (chatEventMemberJoined *ChatEventMemberJoined) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventMemberJoined *ChatEventMemberJoined) MessageType() string + type ChatEventMemberLeft struct + func NewChatEventMemberLeft() *ChatEventMemberLeft + func (chatEventMemberLeft *ChatEventMemberLeft) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventMemberLeft *ChatEventMemberLeft) MessageType() string + type ChatEventMemberPromoted struct + NewStatus ChatMemberStatus + OldStatus ChatMemberStatus + UserID int32 + func NewChatEventMemberPromoted(userID int32, oldStatus ChatMemberStatus, newStatus ChatMemberStatus) *ChatEventMemberPromoted + func (chatEventMemberPromoted *ChatEventMemberPromoted) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventMemberPromoted *ChatEventMemberPromoted) MessageType() string + func (chatEventMemberPromoted *ChatEventMemberPromoted) UnmarshalJSON(b []byte) error + type ChatEventMemberRestricted struct + NewStatus ChatMemberStatus + OldStatus ChatMemberStatus + UserID int32 + func NewChatEventMemberRestricted(userID int32, oldStatus ChatMemberStatus, newStatus ChatMemberStatus) *ChatEventMemberRestricted + func (chatEventMemberRestricted *ChatEventMemberRestricted) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventMemberRestricted *ChatEventMemberRestricted) MessageType() string + func (chatEventMemberRestricted *ChatEventMemberRestricted) UnmarshalJSON(b []byte) error + type ChatEventMessageDeleted struct + Message *Message + func NewChatEventMessageDeleted(message *Message) *ChatEventMessageDeleted + func (chatEventMessageDeleted *ChatEventMessageDeleted) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventMessageDeleted *ChatEventMessageDeleted) MessageType() string + type ChatEventMessageEdited struct + NewMessage *Message + OldMessage *Message + func NewChatEventMessageEdited(oldMessage *Message, newMessage *Message) *ChatEventMessageEdited + func (chatEventMessageEdited *ChatEventMessageEdited) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventMessageEdited *ChatEventMessageEdited) MessageType() string + type ChatEventMessagePinned struct + Message *Message + func NewChatEventMessagePinned(message *Message) *ChatEventMessagePinned + func (chatEventMessagePinned *ChatEventMessagePinned) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventMessagePinned *ChatEventMessagePinned) MessageType() string + type ChatEventMessageUnpinned struct + Message *Message + func NewChatEventMessageUnpinned(message *Message) *ChatEventMessageUnpinned + func (chatEventMessageUnpinned *ChatEventMessageUnpinned) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventMessageUnpinned *ChatEventMessageUnpinned) MessageType() string + type ChatEventPermissionsChanged struct + NewPermissions *ChatPermissions + OldPermissions *ChatPermissions + func NewChatEventPermissionsChanged(oldPermissions *ChatPermissions, newPermissions *ChatPermissions) *ChatEventPermissionsChanged + func (chatEventPermissionsChanged *ChatEventPermissionsChanged) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventPermissionsChanged *ChatEventPermissionsChanged) MessageType() string + type ChatEventPhotoChanged struct + NewPhoto *ChatPhoto + OldPhoto *ChatPhoto + func NewChatEventPhotoChanged(oldPhoto *ChatPhoto, newPhoto *ChatPhoto) *ChatEventPhotoChanged + func (chatEventPhotoChanged *ChatEventPhotoChanged) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventPhotoChanged *ChatEventPhotoChanged) MessageType() string + type ChatEventPollStopped struct + Message *Message + func NewChatEventPollStopped(message *Message) *ChatEventPollStopped + func (chatEventPollStopped *ChatEventPollStopped) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventPollStopped *ChatEventPollStopped) MessageType() string + type ChatEventSignMessagesToggled struct + SignMessages bool + func NewChatEventSignMessagesToggled(signMessages bool) *ChatEventSignMessagesToggled + func (chatEventSignMessagesToggled *ChatEventSignMessagesToggled) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventSignMessagesToggled *ChatEventSignMessagesToggled) MessageType() string + type ChatEventSlowModeDelayChanged struct + NewSlowModeDelay int32 + OldSlowModeDelay int32 + func NewChatEventSlowModeDelayChanged(oldSlowModeDelay int32, newSlowModeDelay int32) *ChatEventSlowModeDelayChanged + func (chatEventSlowModeDelayChanged *ChatEventSlowModeDelayChanged) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventSlowModeDelayChanged *ChatEventSlowModeDelayChanged) MessageType() string + type ChatEventStickerSetChanged struct + NewStickerSetID JSONInt64 + OldStickerSetID JSONInt64 + func NewChatEventStickerSetChanged(oldStickerSetID JSONInt64, newStickerSetID JSONInt64) *ChatEventStickerSetChanged + func (chatEventStickerSetChanged *ChatEventStickerSetChanged) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventStickerSetChanged *ChatEventStickerSetChanged) MessageType() string + type ChatEventTitleChanged struct + NewTitle string + OldTitle string + func NewChatEventTitleChanged(oldTitle string, newTitle string) *ChatEventTitleChanged + func (chatEventTitleChanged *ChatEventTitleChanged) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventTitleChanged *ChatEventTitleChanged) MessageType() string + type ChatEventUsernameChanged struct + NewUsername string + OldUsername string + func NewChatEventUsernameChanged(oldUsername string, newUsername string) *ChatEventUsernameChanged + func (chatEventUsernameChanged *ChatEventUsernameChanged) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventUsernameChanged *ChatEventUsernameChanged) MessageType() string + type ChatEventVoiceChatCreated struct + GroupCallID int32 + func NewChatEventVoiceChatCreated(groupCallID int32) *ChatEventVoiceChatCreated + func (chatEventVoiceChatCreated *ChatEventVoiceChatCreated) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventVoiceChatCreated *ChatEventVoiceChatCreated) MessageType() string + type ChatEventVoiceChatDiscarded struct + GroupCallID int32 + func NewChatEventVoiceChatDiscarded(groupCallID int32) *ChatEventVoiceChatDiscarded + func (chatEventVoiceChatDiscarded *ChatEventVoiceChatDiscarded) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventVoiceChatDiscarded *ChatEventVoiceChatDiscarded) MessageType() string + type ChatEventVoiceChatMuteNewParticipantsToggled struct + MuteNewParticipants bool + func NewChatEventVoiceChatMuteNewParticipantsToggled(muteNewParticipants bool) *ChatEventVoiceChatMuteNewParticipantsToggled + func (chatEventVoiceChatMuteNewParticipantsToggled *ChatEventVoiceChatMuteNewParticipantsToggled) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventVoiceChatMuteNewParticipantsToggled *ChatEventVoiceChatMuteNewParticipantsToggled) MessageType() string + type ChatEventVoiceChatParticipantIsMutedToggled struct + IsMuted bool + UserID int32 + func NewChatEventVoiceChatParticipantIsMutedToggled(userID int32, isMuted bool) *ChatEventVoiceChatParticipantIsMutedToggled + func (chatEventVoiceChatParticipantIsMutedToggled *ChatEventVoiceChatParticipantIsMutedToggled) GetChatEventActionEnum() ChatEventActionEnum + func (chatEventVoiceChatParticipantIsMutedToggled *ChatEventVoiceChatParticipantIsMutedToggled) MessageType() string + type ChatEvents struct + Events []ChatEvent + func NewChatEvents(events []ChatEvent) *ChatEvents + func (chatEvents *ChatEvents) MessageType() string + type ChatFilter struct + ExcludeArchived bool + ExcludeMuted bool + ExcludeRead bool + ExcludedChatIDs []int64 + IconName string + IncludeBots bool + IncludeChannels bool + IncludeContacts bool + IncludeGroups bool + IncludeNonContacts bool + IncludedChatIDs []int64 + PinnedChatIDs []int64 + Title string + func NewChatFilter(title string, iconName string, pinnedChatIDs []int64, includedChatIDs []int64, ...) *ChatFilter + func (chatFilter *ChatFilter) MessageType() string + type ChatFilterInfo struct + ID int32 + IconName string + Title string + func NewChatFilterInfo(iD int32, title string, iconName string) *ChatFilterInfo + func (chatFilterInfo *ChatFilterInfo) MessageType() string + type ChatInviteLink struct + AdministratorUserID int32 + Date int32 + EditDate int32 + ExpireDate int32 + InviteLink string + IsExpired bool + IsPermanent bool + IsRevoked bool + MemberCount int32 + MemberLimit int32 + func NewChatInviteLink(inviteLink string, administratorUserID int32, date int32, editDate int32, ...) *ChatInviteLink + func (chatInviteLink *ChatInviteLink) MessageType() string + type ChatInviteLinkInfo struct + AccessibleFor int32 + ChatID int64 + IsPublic bool + MemberCount int32 + MemberUserIDs []int32 + Photo *ChatPhotoInfo + Title string + Type ChatType + func NewChatInviteLinkInfo(chatID int64, accessibleFor int32, typeParam ChatType, title string, ...) *ChatInviteLinkInfo + func (chatInviteLinkInfo *ChatInviteLinkInfo) MessageType() string + func (chatInviteLinkInfo *ChatInviteLinkInfo) UnmarshalJSON(b []byte) error + type ChatInviteLinkMember struct + JoinedChatDate int32 + UserID int32 + func NewChatInviteLinkMember(userID int32, joinedChatDate int32) *ChatInviteLinkMember + func (chatInviteLinkMember *ChatInviteLinkMember) MessageType() string + type ChatInviteLinkMembers struct + Members []ChatInviteLinkMember + TotalCount int32 + func NewChatInviteLinkMembers(totalCount int32, members []ChatInviteLinkMember) *ChatInviteLinkMembers + func (chatInviteLinkMembers *ChatInviteLinkMembers) MessageType() string + type ChatInviteLinks struct + InviteLinks []ChatInviteLink + TotalCount int32 + func NewChatInviteLinks(totalCount int32, inviteLinks []ChatInviteLink) *ChatInviteLinks + func (chatInviteLinks *ChatInviteLinks) MessageType() string + type ChatList interface + GetChatListEnum func() ChatListEnum + type ChatListArchive struct + func NewChatListArchive() *ChatListArchive + func (chatListArchive *ChatListArchive) GetChatListEnum() ChatListEnum + func (chatListArchive *ChatListArchive) MessageType() string + type ChatListEnum string + const ChatListArchiveType + const ChatListFilterType + const ChatListMainType + type ChatListFilter struct + ChatFilterID int32 + func NewChatListFilter(chatFilterID int32) *ChatListFilter + func (chatListFilter *ChatListFilter) GetChatListEnum() ChatListEnum + func (chatListFilter *ChatListFilter) MessageType() string + type ChatListMain struct + func NewChatListMain() *ChatListMain + func (chatListMain *ChatListMain) GetChatListEnum() ChatListEnum + func (chatListMain *ChatListMain) MessageType() string + type ChatLists struct + ChatLists []ChatList + func NewChatLists(chatLists []ChatList) *ChatLists + func (chatLists *ChatLists) MessageType() string + type ChatLocation struct + Address string + Location *Location + func NewChatLocation(location *Location, address string) *ChatLocation + func (chatLocation *ChatLocation) MessageType() string + type ChatMember struct + BotInfo *BotInfo + InviterUserID int32 + JoinedChatDate int32 + Status ChatMemberStatus + UserID int32 + func NewChatMember(userID int32, inviterUserID int32, joinedChatDate int32, ...) *ChatMember + func (chatMember *ChatMember) MessageType() string + func (chatMember *ChatMember) UnmarshalJSON(b []byte) error + type ChatMemberStatus interface + GetChatMemberStatusEnum func() ChatMemberStatusEnum + type ChatMemberStatusAdministrator struct + CanBeEdited bool + CanChangeInfo bool + CanDeleteMessages bool + CanEditMessages bool + CanInviteUsers bool + CanManageVoiceChats bool + CanPinMessages bool + CanPostMessages bool + CanPromoteMembers bool + CanRestrictMembers bool + CustomTitle string + IsAnonymous bool + func NewChatMemberStatusAdministrator(customTitle string, canBeEdited bool, canChangeInfo bool, canPostMessages bool, ...) *ChatMemberStatusAdministrator + func (chatMemberStatusAdministrator *ChatMemberStatusAdministrator) GetChatMemberStatusEnum() ChatMemberStatusEnum + func (chatMemberStatusAdministrator *ChatMemberStatusAdministrator) MessageType() string + type ChatMemberStatusBanned struct + BannedUntilDate int32 + func NewChatMemberStatusBanned(bannedUntilDate int32) *ChatMemberStatusBanned + func (chatMemberStatusBanned *ChatMemberStatusBanned) GetChatMemberStatusEnum() ChatMemberStatusEnum + func (chatMemberStatusBanned *ChatMemberStatusBanned) MessageType() string + type ChatMemberStatusCreator struct + CustomTitle string + IsAnonymous bool + IsMember bool + func NewChatMemberStatusCreator(customTitle string, isAnonymous bool, isMember bool) *ChatMemberStatusCreator + func (chatMemberStatusCreator *ChatMemberStatusCreator) GetChatMemberStatusEnum() ChatMemberStatusEnum + func (chatMemberStatusCreator *ChatMemberStatusCreator) MessageType() string + type ChatMemberStatusEnum string + const ChatMemberStatusAdministratorType + const ChatMemberStatusBannedType + const ChatMemberStatusCreatorType + const ChatMemberStatusLeftType + const ChatMemberStatusMemberType + const ChatMemberStatusRestrictedType + type ChatMemberStatusLeft struct + func NewChatMemberStatusLeft() *ChatMemberStatusLeft + func (chatMemberStatusLeft *ChatMemberStatusLeft) GetChatMemberStatusEnum() ChatMemberStatusEnum + func (chatMemberStatusLeft *ChatMemberStatusLeft) MessageType() string + type ChatMemberStatusMember struct + func NewChatMemberStatusMember() *ChatMemberStatusMember + func (chatMemberStatusMember *ChatMemberStatusMember) GetChatMemberStatusEnum() ChatMemberStatusEnum + func (chatMemberStatusMember *ChatMemberStatusMember) MessageType() string + type ChatMemberStatusRestricted struct + IsMember bool + Permissions *ChatPermissions + RestrictedUntilDate int32 + func NewChatMemberStatusRestricted(isMember bool, restrictedUntilDate int32, permissions *ChatPermissions) *ChatMemberStatusRestricted + func (chatMemberStatusRestricted *ChatMemberStatusRestricted) GetChatMemberStatusEnum() ChatMemberStatusEnum + func (chatMemberStatusRestricted *ChatMemberStatusRestricted) MessageType() string + type ChatMembers struct + Members []ChatMember + TotalCount int32 + func NewChatMembers(totalCount int32, members []ChatMember) *ChatMembers + func (chatMembers *ChatMembers) MessageType() string + type ChatMembersFilter interface + GetChatMembersFilterEnum func() ChatMembersFilterEnum + type ChatMembersFilterAdministrators struct + func NewChatMembersFilterAdministrators() *ChatMembersFilterAdministrators + func (chatMembersFilterAdministrators *ChatMembersFilterAdministrators) GetChatMembersFilterEnum() ChatMembersFilterEnum + func (chatMembersFilterAdministrators *ChatMembersFilterAdministrators) MessageType() string + type ChatMembersFilterBanned struct + func NewChatMembersFilterBanned() *ChatMembersFilterBanned + func (chatMembersFilterBanned *ChatMembersFilterBanned) GetChatMembersFilterEnum() ChatMembersFilterEnum + func (chatMembersFilterBanned *ChatMembersFilterBanned) MessageType() string + type ChatMembersFilterBots struct + func NewChatMembersFilterBots() *ChatMembersFilterBots + func (chatMembersFilterBots *ChatMembersFilterBots) GetChatMembersFilterEnum() ChatMembersFilterEnum + func (chatMembersFilterBots *ChatMembersFilterBots) MessageType() string + type ChatMembersFilterContacts struct + func NewChatMembersFilterContacts() *ChatMembersFilterContacts + func (chatMembersFilterContacts *ChatMembersFilterContacts) GetChatMembersFilterEnum() ChatMembersFilterEnum + func (chatMembersFilterContacts *ChatMembersFilterContacts) MessageType() string + type ChatMembersFilterEnum string + const ChatMembersFilterAdministratorsType + const ChatMembersFilterBannedType + const ChatMembersFilterBotsType + const ChatMembersFilterContactsType + const ChatMembersFilterMembersType + const ChatMembersFilterMentionType + const ChatMembersFilterRestrictedType + type ChatMembersFilterMembers struct + func NewChatMembersFilterMembers() *ChatMembersFilterMembers + func (chatMembersFilterMembers *ChatMembersFilterMembers) GetChatMembersFilterEnum() ChatMembersFilterEnum + func (chatMembersFilterMembers *ChatMembersFilterMembers) MessageType() string + type ChatMembersFilterMention struct + MessageThreadID int64 + func NewChatMembersFilterMention(messageThreadID int64) *ChatMembersFilterMention + func (chatMembersFilterMention *ChatMembersFilterMention) GetChatMembersFilterEnum() ChatMembersFilterEnum + func (chatMembersFilterMention *ChatMembersFilterMention) MessageType() string + type ChatMembersFilterRestricted struct + func NewChatMembersFilterRestricted() *ChatMembersFilterRestricted + func (chatMembersFilterRestricted *ChatMembersFilterRestricted) GetChatMembersFilterEnum() ChatMembersFilterEnum + func (chatMembersFilterRestricted *ChatMembersFilterRestricted) MessageType() string + type ChatNearby struct + ChatID int64 + Distance int32 + func NewChatNearby(chatID int64, distance int32) *ChatNearby + func (chatNearby *ChatNearby) MessageType() string + type ChatNotificationSettings struct + DisableMentionNotifications bool + DisablePinnedMessageNotifications bool + MuteFor int32 + ShowPreview bool + Sound string + UseDefaultDisableMentionNotifications bool + UseDefaultDisablePinnedMessageNotifications bool + UseDefaultMuteFor bool + UseDefaultShowPreview bool + UseDefaultSound bool + func NewChatNotificationSettings(useDefaultMuteFor bool, muteFor int32, useDefaultSound bool, sound string, ...) *ChatNotificationSettings + func (chatNotificationSettings *ChatNotificationSettings) MessageType() string + type ChatPermissions struct + CanAddWebPagePreviews bool + CanChangeInfo bool + CanInviteUsers bool + CanPinMessages bool + CanSendMediaMessages bool + CanSendMessages bool + CanSendOtherMessages bool + CanSendPolls bool + func NewChatPermissions(canSendMessages bool, canSendMediaMessages bool, canSendPolls bool, ...) *ChatPermissions + func (chatPermissions *ChatPermissions) MessageType() string + type ChatPhoto struct + AddedDate int32 + Animation *AnimatedChatPhoto + ID JSONInt64 + Minithumbnail *Minithumbnail + Sizes []PhotoSize + func NewChatPhoto(iD JSONInt64, addedDate int32, minithumbnail *Minithumbnail, sizes []PhotoSize, ...) *ChatPhoto + func (chatPhoto *ChatPhoto) MessageType() string + type ChatPhotoInfo struct + Big *File + HasAnimation bool + Small *File + func NewChatPhotoInfo(small *File, big *File, hasAnimation bool) *ChatPhotoInfo + func (chatPhotoInfo *ChatPhotoInfo) MessageType() string + type ChatPhotos struct + Photos []ChatPhoto + TotalCount int32 + func NewChatPhotos(totalCount int32, photos []ChatPhoto) *ChatPhotos + func (chatPhotos *ChatPhotos) MessageType() string + type ChatPosition struct + IsPinned bool + List ChatList + Order JSONInt64 + Source ChatSource + func NewChatPosition(list ChatList, order JSONInt64, isPinned bool, source ChatSource) *ChatPosition + func (chatPosition *ChatPosition) MessageType() string + func (chatPosition *ChatPosition) UnmarshalJSON(b []byte) error + type ChatReportReason interface + GetChatReportReasonEnum func() ChatReportReasonEnum + type ChatReportReasonChildAbuse struct + func NewChatReportReasonChildAbuse() *ChatReportReasonChildAbuse + func (chatReportReasonChildAbuse *ChatReportReasonChildAbuse) GetChatReportReasonEnum() ChatReportReasonEnum + func (chatReportReasonChildAbuse *ChatReportReasonChildAbuse) MessageType() string + type ChatReportReasonCopyright struct + func NewChatReportReasonCopyright() *ChatReportReasonCopyright + func (chatReportReasonCopyright *ChatReportReasonCopyright) GetChatReportReasonEnum() ChatReportReasonEnum + func (chatReportReasonCopyright *ChatReportReasonCopyright) MessageType() string + type ChatReportReasonCustom struct + Text string + func NewChatReportReasonCustom(text string) *ChatReportReasonCustom + func (chatReportReasonCustom *ChatReportReasonCustom) GetChatReportReasonEnum() ChatReportReasonEnum + func (chatReportReasonCustom *ChatReportReasonCustom) MessageType() string + type ChatReportReasonEnum string + const ChatReportReasonChildAbuseType + const ChatReportReasonCopyrightType + const ChatReportReasonCustomType + const ChatReportReasonFakeType + const ChatReportReasonPornographyType + const ChatReportReasonSpamType + const ChatReportReasonUnrelatedLocationType + const ChatReportReasonViolenceType + type ChatReportReasonFake struct + func NewChatReportReasonFake() *ChatReportReasonFake + func (chatReportReasonFake *ChatReportReasonFake) GetChatReportReasonEnum() ChatReportReasonEnum + func (chatReportReasonFake *ChatReportReasonFake) MessageType() string + type ChatReportReasonPornography struct + func NewChatReportReasonPornography() *ChatReportReasonPornography + func (chatReportReasonPornography *ChatReportReasonPornography) GetChatReportReasonEnum() ChatReportReasonEnum + func (chatReportReasonPornography *ChatReportReasonPornography) MessageType() string + type ChatReportReasonSpam struct + func NewChatReportReasonSpam() *ChatReportReasonSpam + func (chatReportReasonSpam *ChatReportReasonSpam) GetChatReportReasonEnum() ChatReportReasonEnum + func (chatReportReasonSpam *ChatReportReasonSpam) MessageType() string + type ChatReportReasonUnrelatedLocation struct + func NewChatReportReasonUnrelatedLocation() *ChatReportReasonUnrelatedLocation + func (chatReportReasonUnrelatedLocation *ChatReportReasonUnrelatedLocation) GetChatReportReasonEnum() ChatReportReasonEnum + func (chatReportReasonUnrelatedLocation *ChatReportReasonUnrelatedLocation) MessageType() string + type ChatReportReasonViolence struct + func NewChatReportReasonViolence() *ChatReportReasonViolence + func (chatReportReasonViolence *ChatReportReasonViolence) GetChatReportReasonEnum() ChatReportReasonEnum + func (chatReportReasonViolence *ChatReportReasonViolence) MessageType() string + type ChatSource interface + GetChatSourceEnum func() ChatSourceEnum + type ChatSourceEnum string + const ChatSourceMtprotoProxyType + const ChatSourcePublicServiceAnnouncementType + type ChatSourceMtprotoProxy struct + func NewChatSourceMtprotoProxy() *ChatSourceMtprotoProxy + func (chatSourceMtprotoProxy *ChatSourceMtprotoProxy) GetChatSourceEnum() ChatSourceEnum + func (chatSourceMtprotoProxy *ChatSourceMtprotoProxy) MessageType() string + type ChatSourcePublicServiceAnnouncement struct + Text string + Type string + func NewChatSourcePublicServiceAnnouncement(typeParam string, text string) *ChatSourcePublicServiceAnnouncement + func (chatSourcePublicServiceAnnouncement *ChatSourcePublicServiceAnnouncement) GetChatSourceEnum() ChatSourceEnum + func (chatSourcePublicServiceAnnouncement *ChatSourcePublicServiceAnnouncement) MessageType() string + type ChatStatistics interface + GetChatStatisticsEnum func() ChatStatisticsEnum + type ChatStatisticsAdministratorActionsInfo struct + BannedUserCount int32 + DeletedMessageCount int32 + RestrictedUserCount int32 + UserID int32 + func NewChatStatisticsAdministratorActionsInfo(userID int32, deletedMessageCount int32, bannedUserCount int32, ...) *ChatStatisticsAdministratorActionsInfo + func (chatStatisticsAdministratorActionsInfo *ChatStatisticsAdministratorActionsInfo) MessageType() string + type ChatStatisticsChannel struct + EnabledNotificationsPercentage float64 + InstantViewInteractionGraph StatisticalGraph + JoinBySourceGraph StatisticalGraph + JoinGraph StatisticalGraph + LanguageGraph StatisticalGraph + MeanShareCount *StatisticalValue + MeanViewCount *StatisticalValue + MemberCount *StatisticalValue + MemberCountGraph StatisticalGraph + MessageInteractionGraph StatisticalGraph + MuteGraph StatisticalGraph + Period *DateRange + RecentMessageInteractions []ChatStatisticsMessageInteractionInfo + ViewCountByHourGraph StatisticalGraph + ViewCountBySourceGraph StatisticalGraph + func NewChatStatisticsChannel(period *DateRange, memberCount *StatisticalValue, ...) *ChatStatisticsChannel + func (chatStatisticsChannel *ChatStatisticsChannel) GetChatStatisticsEnum() ChatStatisticsEnum + func (chatStatisticsChannel *ChatStatisticsChannel) MessageType() string + func (chatStatisticsChannel *ChatStatisticsChannel) UnmarshalJSON(b []byte) error + type ChatStatisticsEnum string + const ChatStatisticsChannelType + const ChatStatisticsSupergroupType + type ChatStatisticsInviterInfo struct + AddedMemberCount int32 + UserID int32 + func NewChatStatisticsInviterInfo(userID int32, addedMemberCount int32) *ChatStatisticsInviterInfo + func (chatStatisticsInviterInfo *ChatStatisticsInviterInfo) MessageType() string + type ChatStatisticsMessageInteractionInfo struct + ForwardCount int32 + MessageID int64 + ViewCount int32 + func NewChatStatisticsMessageInteractionInfo(messageID int64, viewCount int32, forwardCount int32) *ChatStatisticsMessageInteractionInfo + func (chatStatisticsMessageInteractionInfo *ChatStatisticsMessageInteractionInfo) MessageType() string + type ChatStatisticsMessageSenderInfo struct + AverageCharacterCount int32 + SentMessageCount int32 + UserID int32 + func NewChatStatisticsMessageSenderInfo(userID int32, sentMessageCount int32, averageCharacterCount int32) *ChatStatisticsMessageSenderInfo + func (chatStatisticsMessageSenderInfo *ChatStatisticsMessageSenderInfo) MessageType() string + type ChatStatisticsSupergroup struct + ActionGraph StatisticalGraph + DayGraph StatisticalGraph + JoinBySourceGraph StatisticalGraph + JoinGraph StatisticalGraph + LanguageGraph StatisticalGraph + MemberCount *StatisticalValue + MemberCountGraph StatisticalGraph + MessageContentGraph StatisticalGraph + MessageCount *StatisticalValue + Period *DateRange + SenderCount *StatisticalValue + TopAdministrators []ChatStatisticsAdministratorActionsInfo + TopInviters []ChatStatisticsInviterInfo + TopSenders []ChatStatisticsMessageSenderInfo + ViewerCount *StatisticalValue + WeekGraph StatisticalGraph + func NewChatStatisticsSupergroup(period *DateRange, memberCount *StatisticalValue, ...) *ChatStatisticsSupergroup + func (chatStatisticsSupergroup *ChatStatisticsSupergroup) GetChatStatisticsEnum() ChatStatisticsEnum + func (chatStatisticsSupergroup *ChatStatisticsSupergroup) MessageType() string + func (chatStatisticsSupergroup *ChatStatisticsSupergroup) UnmarshalJSON(b []byte) error + type ChatType interface + GetChatTypeEnum func() ChatTypeEnum + type ChatTypeBasicGroup struct + BasicGroupID int32 + func NewChatTypeBasicGroup(basicGroupID int32) *ChatTypeBasicGroup + func (chatTypeBasicGroup *ChatTypeBasicGroup) GetChatTypeEnum() ChatTypeEnum + func (chatTypeBasicGroup *ChatTypeBasicGroup) MessageType() string + type ChatTypeEnum string + const ChatTypeBasicGroupType + const ChatTypePrivateType + const ChatTypeSecretType + const ChatTypeSupergroupType + type ChatTypePrivate struct + UserID int32 + func NewChatTypePrivate(userID int32) *ChatTypePrivate + func (chatTypePrivate *ChatTypePrivate) GetChatTypeEnum() ChatTypeEnum + func (chatTypePrivate *ChatTypePrivate) MessageType() string + type ChatTypeSecret struct + SecretChatID int32 + UserID int32 + func NewChatTypeSecret(secretChatID int32, userID int32) *ChatTypeSecret + func (chatTypeSecret *ChatTypeSecret) GetChatTypeEnum() ChatTypeEnum + func (chatTypeSecret *ChatTypeSecret) MessageType() string + type ChatTypeSupergroup struct + IsChannel bool + SupergroupID int32 + func NewChatTypeSupergroup(supergroupID int32, isChannel bool) *ChatTypeSupergroup + func (chatTypeSupergroup *ChatTypeSupergroup) GetChatTypeEnum() ChatTypeEnum + func (chatTypeSupergroup *ChatTypeSupergroup) MessageType() string + type Chats struct + ChatIDs []int64 + TotalCount int32 + func NewChats(totalCount int32, chatIDs []int64) *Chats + func (chats *Chats) MessageType() string + type ChatsNearby struct + SupergroupsNearby []ChatNearby + UsersNearby []ChatNearby + func NewChatsNearby(usersNearby []ChatNearby, supergroupsNearby []ChatNearby) *ChatsNearby + func (chatsNearby *ChatsNearby) MessageType() string + type CheckChatUsernameResult interface + GetCheckChatUsernameResultEnum func() CheckChatUsernameResultEnum + type CheckChatUsernameResultEnum string + const CheckChatUsernameResultOkType + const CheckChatUsernameResultPublicChatsTooMuchType + const CheckChatUsernameResultPublicGroupsUnavailableType + const CheckChatUsernameResultUsernameInvalidType + const CheckChatUsernameResultUsernameOccupiedType + type CheckChatUsernameResultOk struct + func NewCheckChatUsernameResultOk() *CheckChatUsernameResultOk + func (checkChatUsernameResultOk *CheckChatUsernameResultOk) GetCheckChatUsernameResultEnum() CheckChatUsernameResultEnum + func (checkChatUsernameResultOk *CheckChatUsernameResultOk) MessageType() string + type CheckChatUsernameResultPublicChatsTooMuch struct + func NewCheckChatUsernameResultPublicChatsTooMuch() *CheckChatUsernameResultPublicChatsTooMuch + func (checkChatUsernameResultPublicChatsTooMuch *CheckChatUsernameResultPublicChatsTooMuch) GetCheckChatUsernameResultEnum() CheckChatUsernameResultEnum + func (checkChatUsernameResultPublicChatsTooMuch *CheckChatUsernameResultPublicChatsTooMuch) MessageType() string + type CheckChatUsernameResultPublicGroupsUnavailable struct + func NewCheckChatUsernameResultPublicGroupsUnavailable() *CheckChatUsernameResultPublicGroupsUnavailable + func (checkChatUsernameResultPublicGroupsUnavailable *CheckChatUsernameResultPublicGroupsUnavailable) GetCheckChatUsernameResultEnum() CheckChatUsernameResultEnum + func (checkChatUsernameResultPublicGroupsUnavailable *CheckChatUsernameResultPublicGroupsUnavailable) MessageType() string + type CheckChatUsernameResultUsernameInvalid struct + func NewCheckChatUsernameResultUsernameInvalid() *CheckChatUsernameResultUsernameInvalid + func (checkChatUsernameResultUsernameInvalid *CheckChatUsernameResultUsernameInvalid) GetCheckChatUsernameResultEnum() CheckChatUsernameResultEnum + func (checkChatUsernameResultUsernameInvalid *CheckChatUsernameResultUsernameInvalid) MessageType() string + type CheckChatUsernameResultUsernameOccupied struct + func NewCheckChatUsernameResultUsernameOccupied() *CheckChatUsernameResultUsernameOccupied + func (checkChatUsernameResultUsernameOccupied *CheckChatUsernameResultUsernameOccupied) GetCheckChatUsernameResultEnum() CheckChatUsernameResultEnum + func (checkChatUsernameResultUsernameOccupied *CheckChatUsernameResultUsernameOccupied) MessageType() string + type Client struct + Client unsafe.Pointer + Config Config + func NewClient(config Config) *Client + func (client *Client) AcceptCall(callID int32, protocol *CallProtocol) (*Ok, error) + func (client *Client) AcceptTermsOfService(termsOfServiceID string) (*Ok, error) + func (client *Client) AddChatMember(chatID int64, userID int32, forwardLimit int32) (*Ok, error) + func (client *Client) AddChatMembers(chatID int64, userIDs []int32) (*Ok, error) + func (client *Client) AddChatToList(chatID int64, chatList ChatList) (*Ok, error) + func (client *Client) AddContact(contact *Contact, sharePhoneNumber bool) (*Ok, error) + func (client *Client) AddCustomServerLanguagePack(languagePackID string) (*Ok, error) + func (client *Client) AddEventReceiver(msgInstance TdMessage, filterFunc EventFilterFunc, channelCapacity int) EventReceiver + func (client *Client) AddFavoriteSticker(sticker InputFile) (*Ok, error) + func (client *Client) AddLocalMessage(chatID int64, sender MessageSender, replyToMessageID int64, ...) (*Message, error) + func (client *Client) AddLogMessage(verbosityLevel int32, text string) (*Ok, error) + func (client *Client) AddNetworkStatistics(entry NetworkStatisticsEntry) (*Ok, error) + func (client *Client) AddProxy(server string, port int32, enable bool, typeParam ProxyType) (*Proxy, error) + func (client *Client) AddRecentSticker(isAttached bool, sticker InputFile) (*Stickers, error) + func (client *Client) AddRecentlyFoundChat(chatID int64) (*Ok, error) + func (client *Client) AddSavedAnimation(animation InputFile) (*Ok, error) + func (client *Client) AddStickerToSet(userID int32, name string, sticker InputSticker) (*StickerSet, error) + func (client *Client) AnswerCallbackQuery(callbackQueryID JSONInt64, text string, showAlert bool, uRL string, ...) (*Ok, error) + func (client *Client) AnswerCustomQuery(customQueryID JSONInt64, data string) (*Ok, error) + func (client *Client) AnswerInlineQuery(inlineQueryID JSONInt64, isPersonal bool, results []InputInlineQueryResult, ...) (*Ok, error) + func (client *Client) AnswerPreCheckoutQuery(preCheckoutQueryID JSONInt64, errorMessage string) (*Ok, error) + func (client *Client) AnswerShippingQuery(shippingQueryID JSONInt64, shippingOptions []ShippingOption, ...) (*Ok, error) + func (client *Client) Authorize() (AuthorizationState, error) + func (client *Client) BanChatMember(chatID int64, userID int32, bannedUntilDate int32, revokeMessages bool) (*Ok, error) + func (client *Client) BlockMessageSenderFromReplies(messageID int64, deleteMessage bool, deleteAllMessages bool, reportSpam bool) (*Ok, error) + func (client *Client) CanTransferOwnership() (CanTransferOwnershipResult, error) + func (client *Client) CancelDownloadFile(fileID int32, onlyIfPending bool) (*Ok, error) + func (client *Client) CancelUploadFile(fileID int32) (*Ok, error) + func (client *Client) ChangeImportedContacts(contacts []Contact) (*ImportedContacts, error) + func (client *Client) ChangePhoneNumber(phoneNumber string, settings *PhoneNumberAuthenticationSettings) (*AuthenticationCodeInfo, error) + func (client *Client) ChangeStickerSet(setID JSONInt64, isInstalled bool, isArchived bool) (*Ok, error) + func (client *Client) CheckAuthenticationBotToken(token string) (*Ok, error) + func (client *Client) CheckAuthenticationCode(code string) (*Ok, error) + func (client *Client) CheckAuthenticationPassword(password string) (*Ok, error) + func (client *Client) CheckChangePhoneNumberCode(code string) (*Ok, error) + func (client *Client) CheckChatInviteLink(inviteLink string) (*ChatInviteLinkInfo, error) + func (client *Client) CheckChatUsername(chatID int64, username string) (CheckChatUsernameResult, error) + func (client *Client) CheckCreatedPublicChatsLimit(typeParam PublicChatType) (*Ok, error) + func (client *Client) CheckDatabaseEncryptionKey(encryptionKey []byte) (*Ok, error) + func (client *Client) CheckEmailAddressVerificationCode(code string) (*Ok, error) + func (client *Client) CheckPhoneNumberConfirmationCode(code string) (*Ok, error) + func (client *Client) CheckPhoneNumberVerificationCode(code string) (*Ok, error) + func (client *Client) CheckRecoveryEmailAddressCode(code string) (*PasswordState, error) + func (client *Client) CleanFileName(fileName string) (*Text, error) + func (client *Client) ClearAllDraftMessages(excludeSecretChats bool) (*Ok, error) + func (client *Client) ClearImportedContacts() (*Ok, error) + func (client *Client) ClearRecentStickers(isAttached bool) (*Ok, error) + func (client *Client) ClearRecentlyFoundChats() (*Ok, error) + func (client *Client) Close() (*Ok, error) + func (client *Client) CloseChat(chatID int64) (*Ok, error) + func (client *Client) CloseSecretChat(secretChatID int32) (*Ok, error) + func (client *Client) ConfirmQrCodeAuthentication(link string) (*Session, error) + func (client *Client) CreateBasicGroupChat(basicGroupID int32, force bool) (*Chat, error) + func (client *Client) CreateCall(userID int32, protocol *CallProtocol, isVideo bool) (*CallID, error) + func (client *Client) CreateChatFilter(filter *ChatFilter) (*ChatFilterInfo, error) + func (client *Client) CreateNewBasicGroupChat(userIDs []int32, title string) (*Chat, error) + func (client *Client) CreateNewSecretChat(userID int32) (*Chat, error) + func (client *Client) CreateNewStickerSet(userID int32, title string, name string, isMasks bool, stickers []InputSticker) (*StickerSet, error) + func (client *Client) CreateNewSupergroupChat(title string, isChannel bool, description string, location *ChatLocation, ...) (*Chat, error) + func (client *Client) CreatePrivateChat(userID int32, force bool) (*Chat, error) + func (client *Client) CreateSecretChat(secretChatID int32) (*Chat, error) + func (client *Client) CreateSupergroupChat(supergroupID int32, force bool) (*Chat, error) + func (client *Client) CreateTemporaryPassword(password string, validFor int32) (*TemporaryPasswordState, error) + func (client *Client) CreateVoiceChat(chatID int64) (*GroupCallID, error) + func (client *Client) DeleteAccount(reason string) (*Ok, error) + func (client *Client) DeleteAllCallMessages(revoke bool) (*Ok, error) + func (client *Client) DeleteChat(chatID int64) (*Ok, error) + func (client *Client) DeleteChatFilter(chatFilterID int32) (*Ok, error) + func (client *Client) DeleteChatHistory(chatID int64, removeFromChatList bool, revoke bool) (*Ok, error) + func (client *Client) DeleteChatMessagesFromUser(chatID int64, userID int32) (*Ok, error) + func (client *Client) DeleteChatReplyMarkup(chatID int64, messageID int64) (*Ok, error) + func (client *Client) DeleteFile(fileID int32) (*Ok, error) + func (client *Client) DeleteLanguagePack(languagePackID string) (*Ok, error) + func (client *Client) DeleteMessages(chatID int64, messageIDs []int64, revoke bool) (*Ok, error) + func (client *Client) DeletePassportElement(typeParam PassportElementType) (*Ok, error) + func (client *Client) DeleteProfilePhoto(profilePhotoID JSONInt64) (*Ok, error) + func (client *Client) DeleteSavedCredentials() (*Ok, error) + func (client *Client) DeleteSavedOrderInfo() (*Ok, error) + func (client *Client) Destroy() (*Ok, error) + func (client *Client) DestroyInstance() + func (client *Client) DisableProxy() (*Ok, error) + func (client *Client) DiscardCall(callID int32, isDisconnected bool, duration int32, isVideo bool, ...) (*Ok, error) + func (client *Client) DiscardGroupCall(groupCallID int32) (*Ok, error) + func (client *Client) DisconnectAllWebsites() (*Ok, error) + func (client *Client) DisconnectWebsite(websiteID JSONInt64) (*Ok, error) + func (client *Client) DownloadFile(fileID int32, priority int32, offset int32, limit int32, synchronous bool) (*File, error) + func (client *Client) EditChatFilter(chatFilterID int32, filter *ChatFilter) (*ChatFilterInfo, error) + func (client *Client) EditCustomLanguagePackInfo(info *LanguagePackInfo) (*Ok, error) + func (client *Client) EditInlineMessageCaption(inlineMessageID string, replyMarkup ReplyMarkup, caption *FormattedText) (*Ok, error) + func (client *Client) EditInlineMessageLiveLocation(inlineMessageID string, replyMarkup ReplyMarkup, location *Location, ...) (*Ok, error) + func (client *Client) EditInlineMessageMedia(inlineMessageID string, replyMarkup ReplyMarkup, ...) (*Ok, error) + func (client *Client) EditInlineMessageReplyMarkup(inlineMessageID string, replyMarkup ReplyMarkup) (*Ok, error) + func (client *Client) EditInlineMessageText(inlineMessageID string, replyMarkup ReplyMarkup, ...) (*Ok, error) + func (client *Client) EditMessageCaption(chatID int64, messageID int64, replyMarkup ReplyMarkup, caption *FormattedText) (*Message, error) + func (client *Client) EditMessageLiveLocation(chatID int64, messageID int64, replyMarkup ReplyMarkup, location *Location, ...) (*Message, error) + func (client *Client) EditMessageMedia(chatID int64, messageID int64, replyMarkup ReplyMarkup, ...) (*Message, error) + func (client *Client) EditMessageReplyMarkup(chatID int64, messageID int64, replyMarkup ReplyMarkup) (*Message, error) + func (client *Client) EditMessageSchedulingState(chatID int64, messageID int64, schedulingState MessageSchedulingState) (*Ok, error) + func (client *Client) EditMessageText(chatID int64, messageID int64, replyMarkup ReplyMarkup, ...) (*Message, error) + func (client *Client) EditProxy(proxyID int32, server string, port int32, enable bool, typeParam ProxyType) (*Proxy, error) + func (client *Client) EnableProxy(proxyID int32) (*Ok, error) + func (client *Client) Execute(jsonQuery interface{}) UpdateMsg + func (client *Client) FinishFileGeneration(generationID JSONInt64, error *Error) (*Ok, error) + func (client *Client) ForwardMessages(chatID int64, fromChatID int64, messageIDs []int64, ...) (*Messages, error) + func (client *Client) GetAccountTTL() (*AccountTTL, error) + func (client *Client) GetActiveLiveLocationMessages() (*Messages, error) + func (client *Client) GetActiveSessions() (*Sessions, error) + func (client *Client) GetAllPassportElements(password string) (*PassportElements, error) + func (client *Client) GetApplicationConfig() (JsonValue, error) + func (client *Client) GetArchivedStickerSets(isMasks bool, offsetStickerSetID JSONInt64, limit int32) (*StickerSets, error) + func (client *Client) GetAttachedStickerSets(fileID int32) (*StickerSets, error) + func (client *Client) GetAuthorizationState() (AuthorizationState, error) + func (client *Client) GetAutoDownloadSettingsPresets() (*AutoDownloadSettingsPresets, error) + func (client *Client) GetBackgroundURL(name string, typeParam BackgroundType) (*HttpURL, error) + func (client *Client) GetBackgrounds(forDarkTheme bool) (*Backgrounds, error) + func (client *Client) GetBankCardInfo(bankCardNumber string) (*BankCardInfo, error) + func (client *Client) GetBasicGroup(basicGroupID int32) (*BasicGroup, error) + func (client *Client) GetBasicGroupFullInfo(basicGroupID int32) (*BasicGroupFullInfo, error) + func (client *Client) GetBlockedMessageSenders(offset int32, limit int32) (*MessageSenders, error) + func (client *Client) GetCallbackQueryAnswer(chatID int64, messageID int64, payload CallbackQueryPayload) (*CallbackQueryAnswer, error) + func (client *Client) GetCallbackQueryMessage(chatID int64, messageID int64, callbackQueryID JSONInt64) (*Message, error) + func (client *Client) GetChat(chatID int64) (*Chat, error) + func (client *Client) GetChatAdministrators(chatID int64) (*ChatAdministrators, error) + func (client *Client) GetChatEventLog(chatID int64, query string, fromEventID JSONInt64, limit int32, ...) (*ChatEvents, error) + func (client *Client) GetChatFilter(chatFilterID int32) (*ChatFilter, error) + func (client *Client) GetChatFilterDefaultIconName(filter *ChatFilter) (*Text, error) + func (client *Client) GetChatHistory(chatID int64, fromMessageID int64, offset int32, limit int32, onlyLocal bool) (*Messages, error) + func (client *Client) GetChatListsToAddChat(chatID int64) (*ChatLists, error) + func (client *Client) GetChatMember(chatID int64, userID int32) (*ChatMember, error) + func (client *Client) GetChatMessageByDate(chatID int64, date int32) (*Message, error) + func (client *Client) GetChatMessageCount(chatID int64, filter SearchMessagesFilter, returnLocal bool) (*Count, error) + func (client *Client) GetChatNotificationSettingsExceptions(scope NotificationSettingsScope, compareSound bool) (*Chats, error) + func (client *Client) GetChatPinnedMessage(chatID int64) (*Message, error) + func (client *Client) GetChatScheduledMessages(chatID int64) (*Messages, error) + func (client *Client) GetChatStatistics(chatID int64, isDark bool) (ChatStatistics, error) + func (client *Client) GetChatStatisticsURL(chatID int64, parameters string, isDark bool) (*HttpURL, error) + func (client *Client) GetChats(chatList ChatList, offsetOrder JSONInt64, offsetChatID int64, limit int32) (*Chats, error) + func (client *Client) GetConnectedWebsites() (*ConnectedWebsites, error) + func (client *Client) GetContacts() (*Users, error) + func (client *Client) GetCountries() (*Countries, error) + func (client *Client) GetCountryCode() (*Text, error) + func (client *Client) GetCreatedPublicChats(typeParam PublicChatType) (*Chats, error) + func (client *Client) GetCurrentState() (*Updates, error) + func (client *Client) GetDatabaseStatistics() (*DatabaseStatistics, error) + func (client *Client) GetDeepLinkInfo(link string) (*DeepLinkInfo, error) + func (client *Client) GetEmojiSuggestionsURL(languageCode string) (*HttpURL, error) + func (client *Client) GetFavoriteStickers() (*Stickers, error) + func (client *Client) GetFile(fileID int32) (*File, error) + func (client *Client) GetFileDownloadedPrefixSize(fileID int32, offset int32) (*Count, error) + func (client *Client) GetFileExtension(mimeType string) (*Text, error) + func (client *Client) GetFileMimeType(fileName string) (*Text, error) + func (client *Client) GetGameHighScores(chatID int64, messageID int64, userID int32) (*GameHighScores, error) + func (client *Client) GetGroupCall(groupCallID int32) (*GroupCall, error) + func (client *Client) GetGroupsInCommon(userID int32, offsetChatID int64, limit int32) (*Chats, error) + func (client *Client) GetImportedContactCount() (*Count, error) + func (client *Client) GetInactiveSupergroupChats() (*Chats, error) + func (client *Client) GetInlineGameHighScores(inlineMessageID string, userID int32) (*GameHighScores, error) + func (client *Client) GetInlineQueryResults(botUserID int32, chatID int64, userLocation *Location, query string, ...) (*InlineQueryResults, error) + func (client *Client) GetInstalledStickerSets(isMasks bool) (*StickerSets, error) + func (client *Client) GetInviteText() (*Text, error) + func (client *Client) GetJsonString(jsonValue JsonValue) (*Text, error) + func (client *Client) GetJsonValue(jsonstring string) (JsonValue, error) + func (client *Client) GetLanguagePackInfo(languagePackID string) (*LanguagePackInfo, error) + func (client *Client) GetLanguagePackString(languagePackDatabasePath string, localizationTarget string, ...) (LanguagePackStringValue, error) + func (client *Client) GetLanguagePackStrings(languagePackID string, keys []string) (*LanguagePackStrings, error) + func (client *Client) GetLocalizationTargetInfo(onlyLocal bool) (*LocalizationTargetInfo, error) + func (client *Client) GetLogStream() (LogStream, error) + func (client *Client) GetLogTagVerbosityLevel(tag string) (*LogVerbosityLevel, error) + func (client *Client) GetLogTags() (*LogTags, error) + func (client *Client) GetLogVerbosityLevel() (*LogVerbosityLevel, error) + func (client *Client) GetLoginURL(chatID int64, messageID int64, buttonID int32, allowWriteAccess bool) (*HttpURL, error) + func (client *Client) GetLoginURLInfo(chatID int64, messageID int64, buttonID int32) (LoginURLInfo, error) + func (client *Client) GetMapThumbnailFile(location *Location, zoom int32, width int32, height int32, scale int32, ...) (*File, error) + func (client *Client) GetMarkdownText(text *FormattedText) (*FormattedText, error) + func (client *Client) GetMe() (*User, error) + func (client *Client) GetMessage(chatID int64, messageID int64) (*Message, error) + func (client *Client) GetMessageEmbeddingCode(chatID int64, messageID int64, forAlbum bool) (*Text, error) + func (client *Client) GetMessageFileType(messageFileHead string) (MessageFileType, error) + func (client *Client) GetMessageLink(chatID int64, messageID int64, forAlbum bool, forComment bool) (*MessageLink, error) + func (client *Client) GetMessageLinkInfo(uRL string) (*MessageLinkInfo, error) + func (client *Client) GetMessageLocally(chatID int64, messageID int64) (*Message, error) + func (client *Client) GetMessagePublicForwards(chatID int64, messageID int64, offset string, limit int32) (*FoundMessages, error) + func (client *Client) GetMessageStatistics(chatID int64, messageID int64, isDark bool) (*MessageStatistics, error) + func (client *Client) GetMessageThread(chatID int64, messageID int64) (*MessageThreadInfo, error) + func (client *Client) GetMessageThreadHistory(chatID int64, messageID int64, fromMessageID int64, offset int32, limit int32) (*Messages, error) + func (client *Client) GetMessages(chatID int64, messageIDs []int64) (*Messages, error) + func (client *Client) GetNetworkStatistics(onlyCurrent bool) (*NetworkStatistics, error) + func (client *Client) GetOption(name string) (OptionValue, error) + func (client *Client) GetPassportAuthorizationForm(botUserID int32, scope string, publicKey string, nonce string) (*PassportAuthorizationForm, error) + func (client *Client) GetPassportAuthorizationFormAvailableElements(autorizationFormID int32, password string) (*PassportElementsWithErrors, error) + func (client *Client) GetPassportElement(typeParam PassportElementType, password string) (PassportElement, error) + func (client *Client) GetPasswordState() (*PasswordState, error) + func (client *Client) GetPaymentForm(chatID int64, messageID int64) (*PaymentForm, error) + func (client *Client) GetPaymentReceipt(chatID int64, messageID int64) (*PaymentReceipt, error) + func (client *Client) GetPhoneNumberInfo(phoneNumberPrefix string) (*PhoneNumberInfo, error) + func (client *Client) GetPollVoters(chatID int64, messageID int64, optionID int32, offset int32, limit int32) (*Users, error) + func (client *Client) GetPreferredCountryLanguage(countryCode string) (*Text, error) + func (client *Client) GetProxies() (*Proxies, error) + func (client *Client) GetProxyLink(proxyID int32) (*Text, error) + func (client *Client) GetPushReceiverID(payload string) (*PushReceiverID, error) + func (client *Client) GetRawUpdatesChannel(capacity int) chan UpdateMsg + func (client *Client) GetRecentInlineBots() (*Users, error) + func (client *Client) GetRecentStickers(isAttached bool) (*Stickers, error) + func (client *Client) GetRecentlyVisitedTMeURLs(referrer string) (*TMeURLs, error) + func (client *Client) GetRecommendedChatFilters() (*RecommendedChatFilters, error) + func (client *Client) GetRecoveryEmailAddress(password string) (*RecoveryEmailAddress, error) + func (client *Client) GetRemoteFile(remoteFileID string, fileType FileType) (*File, error) + func (client *Client) GetRepliedMessage(chatID int64, messageID int64) (*Message, error) + func (client *Client) GetSavedAnimations() (*Animations, error) + func (client *Client) GetSavedOrderInfo() (*OrderInfo, error) + func (client *Client) GetScopeNotificationSettings(scope NotificationSettingsScope) (*ScopeNotificationSettings, error) + func (client *Client) GetSecretChat(secretChatID int32) (*SecretChat, error) + func (client *Client) GetStatisticalGraph(chatID int64, token string, x int64) (StatisticalGraph, error) + func (client *Client) GetStickerEmojis(sticker InputFile) (*Emojis, error) + func (client *Client) GetStickerSet(setID JSONInt64) (*StickerSet, error) + func (client *Client) GetStickers(emoji string, limit int32) (*Stickers, error) + func (client *Client) GetStorageStatistics(chatLimit int32) (*StorageStatistics, error) + func (client *Client) GetStorageStatisticsFast() (*StorageStatisticsFast, error) + func (client *Client) GetSuitableDiscussionChats() (*Chats, error) + func (client *Client) GetSupergroup(supergroupID int32) (*Supergroup, error) + func (client *Client) GetSupergroupFullInfo(supergroupID int32) (*SupergroupFullInfo, error) + func (client *Client) GetSupergroupMembers(supergroupID int32, filter SupergroupMembersFilter, offset int32, limit int32) (*ChatMembers, error) + func (client *Client) GetSupportUser() (*User, error) + func (client *Client) GetTemporaryPasswordState() (*TemporaryPasswordState, error) + func (client *Client) GetTextEntities(text string) (*TextEntities, error) + func (client *Client) GetTopChats(category TopChatCategory, limit int32) (*Chats, error) + func (client *Client) GetTrendingStickerSets(offset int32, limit int32) (*StickerSets, error) + func (client *Client) GetUser(userID int32) (*User, error) + func (client *Client) GetUserFullInfo(userID int32) (*UserFullInfo, error) + func (client *Client) GetUserPrivacySettingRules(setting UserPrivacySetting) (*UserPrivacySettingRules, error) + func (client *Client) GetUserProfilePhotos(userID int32, offset int32, limit int32) (*ChatPhotos, error) + func (client *Client) GetWebPageInstantView(uRL string, forceFull bool) (*WebPageInstantView, error) + func (client *Client) GetWebPagePreview(text *FormattedText) (*WebPage, error) + func (client *Client) HideSuggestedAction(action SuggestedAction) (*Ok, error) + func (client *Client) ImportContacts(contacts []Contact) (*ImportedContacts, error) + func (client *Client) ImportMessages(chatID int64, messageFile InputFile, attachedFiles []InputFile) (*Ok, error) + func (client *Client) InviteGroupCallParticipants(groupCallID int32, userIDs []int32) (*Ok, error) + func (client *Client) JoinChat(chatID int64) (*Ok, error) + func (client *Client) JoinChatByInviteLink(inviteLink string) (*Chat, error) + func (client *Client) JoinGroupCall(groupCallID int32, payload *GroupCallPayload, source int32, isMuted bool) (*GroupCallJoinResponse, error) + func (client *Client) LeaveChat(chatID int64) (*Ok, error) + func (client *Client) LeaveGroupCall(groupCallID int32) (*Ok, error) + func (client *Client) LoadGroupCallParticipants(groupCallID int32, limit int32) (*Ok, error) + func (client *Client) LogOut() (*Ok, error) + func (client *Client) OpenChat(chatID int64) (*Ok, error) + func (client *Client) OpenMessageContent(chatID int64, messageID int64) (*Ok, error) + func (client *Client) OptimizeStorage(size int64, tTL int32, count int32, immunityDelay int32, fileTypes []FileType, ...) (*StorageStatistics, error) + func (client *Client) ParseMarkdown(text *FormattedText) (*FormattedText, error) + func (client *Client) ParseTextEntities(text string, parseMode TextParseMode) (*FormattedText, error) + func (client *Client) PinChatMessage(chatID int64, messageID int64, disableNotification bool, onlyForSelf bool) (*Ok, error) + func (client *Client) PingProxy(proxyID int32) (*Seconds, error) + func (client *Client) ProcessPushNotification(payload string) (*Ok, error) + func (client *Client) ReadAllChatMentions(chatID int64) (*Ok, error) + func (client *Client) ReadFilePart(fileID int32, offset int32, count int32) (*FilePart, error) + func (client *Client) Receive(timeout float64) []byte + func (client *Client) RecoverAuthenticationPassword(recoveryCode string) (*Ok, error) + func (client *Client) RecoverPassword(recoveryCode string) (*PasswordState, error) + func (client *Client) RegisterDevice(deviceToken DeviceToken, otherUserIDs []int32) (*PushReceiverID, error) + func (client *Client) RegisterUser(firstName string, lastName string) (*Ok, error) + func (client *Client) RemoveBackground(backgroundID JSONInt64) (*Ok, error) + func (client *Client) RemoveChatActionBar(chatID int64) (*Ok, error) + func (client *Client) RemoveContacts(userIDs []int32) (*Ok, error) + func (client *Client) RemoveFavoriteSticker(sticker InputFile) (*Ok, error) + func (client *Client) RemoveNotification(notificationGroupID int32, notificationID int32) (*Ok, error) + func (client *Client) RemoveNotificationGroup(notificationGroupID int32, maxNotificationID int32) (*Ok, error) + func (client *Client) RemoveProxy(proxyID int32) (*Ok, error) + func (client *Client) RemoveRecentHashtag(hashtag string) (*Ok, error) + func (client *Client) RemoveRecentSticker(isAttached bool, sticker InputFile) (*Ok, error) + func (client *Client) RemoveRecentlyFoundChat(chatID int64) (*Ok, error) + func (client *Client) RemoveSavedAnimation(animation InputFile) (*Ok, error) + func (client *Client) RemoveStickerFromSet(sticker InputFile) (*Ok, error) + func (client *Client) RemoveTopChat(category TopChatCategory, chatID int64) (*Ok, error) + func (client *Client) ReorderChatFilters(chatFilterIDs []int32) (*Ok, error) + func (client *Client) ReorderInstalledStickerSets(isMasks bool, stickerSetIDs []JSONInt64) (*Ok, error) + func (client *Client) ReplacePermanentChatInviteLink(chatID int64) (*ChatInviteLink, error) + func (client *Client) ReportChat(chatID int64, reason ChatReportReason, messageIDs []int64) (*Ok, error) + func (client *Client) ReportSupergroupSpam(supergroupID int32, userID int32, messageIDs []int64) (*Ok, error) + func (client *Client) RequestAuthenticationPasswordRecovery() (*Ok, error) + func (client *Client) RequestPasswordRecovery() (*EmailAddressAuthenticationCodeInfo, error) + func (client *Client) RequestQrCodeAuthentication(otherUserIDs []int32) (*Ok, error) + func (client *Client) ResendAuthenticationCode() (*Ok, error) + func (client *Client) ResendChangePhoneNumberCode() (*AuthenticationCodeInfo, error) + func (client *Client) ResendEmailAddressVerificationCode() (*EmailAddressAuthenticationCodeInfo, error) + func (client *Client) ResendMessages(chatID int64, messageIDs []int64) (*Messages, error) + func (client *Client) ResendPhoneNumberConfirmationCode() (*AuthenticationCodeInfo, error) + func (client *Client) ResendPhoneNumberVerificationCode() (*AuthenticationCodeInfo, error) + func (client *Client) ResendRecoveryEmailAddressCode() (*PasswordState, error) + func (client *Client) ResetAllNotificationSettings() (*Ok, error) + func (client *Client) ResetBackgrounds() (*Ok, error) + func (client *Client) ResetNetworkStatistics() (*Ok, error) + func (client *Client) SaveApplicationLogEvent(typeParam string, chatID int64, data JsonValue) (*Ok, error) + func (client *Client) SearchBackground(name string) (*Background, error) + func (client *Client) SearchCallMessages(fromMessageID int64, limit int32, onlyMissed bool) (*Messages, error) + func (client *Client) SearchChatMembers(chatID int64, query string, limit int32, filter ChatMembersFilter) (*ChatMembers, error) + func (client *Client) SearchChatMessages(chatID int64, query string, sender MessageSender, fromMessageID int64, ...) (*Messages, error) + func (client *Client) SearchChatRecentLocationMessages(chatID int64, limit int32) (*Messages, error) + func (client *Client) SearchChats(query string, limit int32) (*Chats, error) + func (client *Client) SearchChatsNearby(location *Location) (*ChatsNearby, error) + func (client *Client) SearchChatsOnServer(query string, limit int32) (*Chats, error) + func (client *Client) SearchContacts(query string, limit int32) (*Users, error) + func (client *Client) SearchEmojis(text string, exactMatch bool, inputLanguageCodes []string) (*Emojis, error) + func (client *Client) SearchHashtags(prefix string, limit int32) (*Hashtags, error) + func (client *Client) SearchInstalledStickerSets(isMasks bool, query string, limit int32) (*StickerSets, error) + func (client *Client) SearchMessages(chatList ChatList, query string, offsetDate int32, offsetChatID int64, ...) (*Messages, error) + func (client *Client) SearchPublicChat(username string) (*Chat, error) + func (client *Client) SearchPublicChats(query string) (*Chats, error) + func (client *Client) SearchSecretMessages(chatID int64, query string, offset string, limit int32, ...) (*FoundMessages, error) + func (client *Client) SearchStickerSet(name string) (*StickerSet, error) + func (client *Client) SearchStickerSets(query string) (*StickerSets, error) + func (client *Client) SearchStickers(emoji string, limit int32) (*Stickers, error) + func (client *Client) Send(jsonQuery interface{}) + func (client *Client) SendAndCatch(jsonQuery interface{}) (UpdateMsg, error) + func (client *Client) SendAuthCode(code string) (AuthorizationState, error) + func (client *Client) SendAuthPassword(password string) (AuthorizationState, error) + func (client *Client) SendBotStartMessage(botUserID int32, chatID int64, parameter string) (*Message, error) + func (client *Client) SendCallDebugInformation(callID int32, debugInformation string) (*Ok, error) + func (client *Client) SendCallRating(callID int32, rating int32, comment string, problems []CallProblem) (*Ok, error) + func (client *Client) SendCallSignalingData(callID int32, data []byte) (*Ok, error) + func (client *Client) SendChatAction(chatID int64, messageThreadID int64, action ChatAction) (*Ok, error) + func (client *Client) SendChatScreenshotTakenNotification(chatID int64) (*Ok, error) + func (client *Client) SendChatSetTTLMessage(chatID int64, tTL int32) (*Message, error) + func (client *Client) SendCustomRequest(method string, parameters string) (*CustomRequestResult, error) + func (client *Client) SendEmailAddressVerificationCode(emailAddress string) (*EmailAddressAuthenticationCodeInfo, error) + func (client *Client) SendInlineQueryResultMessage(chatID int64, messageThreadID int64, replyToMessageID int64, ...) (*Message, error) + func (client *Client) SendMessage(chatID int64, messageThreadID int64, replyToMessageID int64, ...) (*Message, error) + func (client *Client) SendMessageAlbum(chatID int64, messageThreadID int64, replyToMessageID int64, ...) (*Messages, error) + func (client *Client) SendPassportAuthorizationForm(autorizationFormID int32, typeParams []PassportElementType) (*Ok, error) + func (client *Client) SendPaymentForm(chatID int64, messageID int64, orderInfoID string, shippingOptionID string, ...) (*PaymentResult, error) + func (client *Client) SendPhoneNumber(phoneNumber string) (AuthorizationState, error) + func (client *Client) SendPhoneNumberConfirmationCode(hash string, phoneNumber string, settings *PhoneNumberAuthenticationSettings) (*AuthenticationCodeInfo, error) + func (client *Client) SendPhoneNumberVerificationCode(phoneNumber string, settings *PhoneNumberAuthenticationSettings) (*AuthenticationCodeInfo, error) + func (client *Client) SetAccountTTL(tTL *AccountTTL) (*Ok, error) + func (client *Client) SetAlarm(seconds float64) (*Ok, error) + func (client *Client) SetAuthenticationPhoneNumber(phoneNumber string, settings *PhoneNumberAuthenticationSettings) (*Ok, error) + func (client *Client) SetAutoDownloadSettings(settings *AutoDownloadSettings, typeParam NetworkType) (*Ok, error) + func (client *Client) SetBackground(background InputBackground, typeParam BackgroundType, forDarkTheme bool) (*Background, error) + func (client *Client) SetBio(bio string) (*Ok, error) + func (client *Client) SetBotUpdatesStatus(pendingUpdateCount int32, errorMessage string) (*Ok, error) + func (client *Client) SetChatClientData(chatID int64, clientData string) (*Ok, error) + func (client *Client) SetChatDescription(chatID int64, description string) (*Ok, error) + func (client *Client) SetChatDiscussionGroup(chatID int64, discussionChatID int64) (*Ok, error) + func (client *Client) SetChatDraftMessage(chatID int64, messageThreadID int64, draftMessage *DraftMessage) (*Ok, error) + func (client *Client) SetChatLocation(chatID int64, location *ChatLocation) (*Ok, error) + func (client *Client) SetChatMemberStatus(chatID int64, userID int32, status ChatMemberStatus) (*Ok, error) + func (client *Client) SetChatNotificationSettings(chatID int64, notificationSettings *ChatNotificationSettings) (*Ok, error) + func (client *Client) SetChatPermissions(chatID int64, permissions *ChatPermissions) (*Ok, error) + func (client *Client) SetChatPhoto(chatID int64, photo InputChatPhoto) (*Ok, error) + func (client *Client) SetChatSlowModeDelay(chatID int64, slowModeDelay int32) (*Ok, error) + func (client *Client) SetChatTitle(chatID int64, title string) (*Ok, error) + func (client *Client) SetCommands(commands []BotCommand) (*Ok, error) + func (client *Client) SetCustomLanguagePack(info *LanguagePackInfo, strings []LanguagePackString) (*Ok, error) + func (client *Client) SetCustomLanguagePackString(languagePackID string, newString *LanguagePackString) (*Ok, error) + func (client *Client) SetDatabaseEncryptionKey(newEncryptionKey []byte) (*Ok, error) + func (client *Client) SetFileGenerationProgress(generationID JSONInt64, expectedSize int32, localPrefixSize int32) (*Ok, error) + func (client *Client) SetGameScore(chatID int64, messageID int64, editMessage bool, userID int32, score int32, ...) (*Message, error) + func (client *Client) SetGroupCallParticipantIsSpeaking(groupCallID int32, source int32, isSpeaking bool) (*Ok, error) + func (client *Client) SetGroupCallParticipantVolumeLevel(groupCallID int32, userID int32, volumeLevel int32) (*Ok, error) + func (client *Client) SetInlineGameScore(inlineMessageID string, editMessage bool, userID int32, score int32, ...) (*Ok, error) + func (client *Client) SetLocation(location *Location) (*Ok, error) + func (client *Client) SetLogStream(logStream LogStream) (*Ok, error) + func (client *Client) SetLogTagVerbosityLevel(tag string, newVerbosityLevel int32) (*Ok, error) + func (client *Client) SetLogVerbosityLevel(newVerbosityLevel int32) (*Ok, error) + func (client *Client) SetName(firstName string, lastName string) (*Ok, error) + func (client *Client) SetNetworkType(typeParam NetworkType) (*Ok, error) + func (client *Client) SetOption(name string, value OptionValue) (*Ok, error) + func (client *Client) SetPassportElement(element InputPassportElement, password string) (PassportElement, error) + func (client *Client) SetPassportElementErrors(userID int32, errors []InputPassportElementError) (*Ok, error) + func (client *Client) SetPassword(oldPassword string, newPassword string, newHint string, ...) (*PasswordState, error) + func (client *Client) SetPinnedChats(chatList ChatList, chatIDs []int64) (*Ok, error) + func (client *Client) SetPollAnswer(chatID int64, messageID int64, optionIDs []int32) (*Ok, error) + func (client *Client) SetProfilePhoto(photo InputChatPhoto) (*Ok, error) + func (client *Client) SetRecoveryEmailAddress(password string, newRecoveryEmailAddress string) (*PasswordState, error) + func (client *Client) SetScopeNotificationSettings(scope NotificationSettingsScope, ...) (*Ok, error) + func (client *Client) SetStickerPositionInSet(sticker InputFile, position int32) (*Ok, error) + func (client *Client) SetStickerSetThumbnail(userID int32, name string, thumbnail InputFile) (*StickerSet, error) + func (client *Client) SetSupergroupStickerSet(supergroupID int32, stickerSetID JSONInt64) (*Ok, error) + func (client *Client) SetSupergroupUsername(supergroupID int32, username string) (*Ok, error) + func (client *Client) SetTdlibParameters(parameters *TdlibParameters) (*Ok, error) + func (client *Client) SetUserPrivacySettingRules(setting UserPrivacySetting, rules *UserPrivacySettingRules) (*Ok, error) + func (client *Client) SetUsername(username string) (*Ok, error) + func (client *Client) SharePhoneNumber(userID int32) (*Ok, error) + func (client *Client) StopPoll(chatID int64, messageID int64, replyMarkup ReplyMarkup) (*Ok, error) + func (client *Client) SynchronizeLanguagePack(languagePackID string) (*Ok, error) + func (client *Client) TerminateAllOtherSessions() (*Ok, error) + func (client *Client) TerminateSession(sessionID JSONInt64) (*Ok, error) + func (client *Client) TestCallBytes(x []byte) (*TestBytes, error) + func (client *Client) TestCallEmpty() (*Ok, error) + func (client *Client) TestCallString(x string) (*TestString, error) + func (client *Client) TestCallVectorInt(x []int32) (*TestVectorInt, error) + func (client *Client) TestCallVectorIntObject(x []TestInt) (*TestVectorIntObject, error) + func (client *Client) TestCallVectorString(x []string) (*TestVectorString, error) + func (client *Client) TestCallVectorStringObject(x []TestString) (*TestVectorStringObject, error) + func (client *Client) TestGetDifference() (*Ok, error) + func (client *Client) TestNetwork() (*Ok, error) + func (client *Client) TestProxy(server string, port int32, typeParam ProxyType, dcID int32, timeout float64) (*Ok, error) + func (client *Client) TestReturnError(error *Error) (*Error, error) + func (client *Client) TestSquareInt(x int32) (*TestInt, error) + func (client *Client) TestUseUpdate() (Update, error) + func (client *Client) ToggleChatDefaultDisableNotification(chatID int64, defaultDisableNotification bool) (*Ok, error) + func (client *Client) ToggleChatIsMarkedAsUnread(chatID int64, isMarkedAsUnread bool) (*Ok, error) + func (client *Client) ToggleChatIsPinned(chatList ChatList, chatID int64, isPinned bool) (*Ok, error) + func (client *Client) ToggleGroupCallMuteNewParticipants(groupCallID int32, muteNewParticipants bool) (*Ok, error) + func (client *Client) ToggleGroupCallParticipantIsMuted(groupCallID int32, userID int32, isMuted bool) (*Ok, error) + func (client *Client) ToggleMessageSenderIsBlocked(sender MessageSender, isBlocked bool) (*Ok, error) + func (client *Client) ToggleSupergroupIsAllHistoryAvailable(supergroupID int32, isAllHistoryAvailable bool) (*Ok, error) + func (client *Client) ToggleSupergroupSignMessages(supergroupID int32, signMessages bool) (*Ok, error) + func (client *Client) TransferChatOwnership(chatID int64, userID int32, password string) (*Ok, error) + func (client *Client) UnpinAllChatMessages(chatID int64) (*Ok, error) + func (client *Client) UnpinChatMessage(chatID int64, messageID int64) (*Ok, error) + func (client *Client) UpgradeBasicGroupChatToSupergroupChat(chatID int64) (*Chat, error) + func (client *Client) UploadFile(file InputFile, fileType FileType, priority int32) (*File, error) + func (client *Client) UploadStickerFile(userID int32, pngSticker InputFile) (*File, error) + func (client *Client) ValidateOrderInfo(chatID int64, messageID int64, orderInfo *OrderInfo, allowSave bool) (*ValidatedOrderInfo, error) + func (client *Client) ViewMessages(chatID int64, messageThreadID int64, messageIDs []int64, forceRead bool) (*Ok, error) + func (client *Client) ViewTrendingStickerSets(stickerSetIDs []JSONInt64) (*Ok, error) + func (client *Client) WriteGeneratedFilePart(generationID JSONInt64, offset int32, data []byte) (*Ok, error) + type ClosedVectorPath struct + Commands []VectorPathCommand + func NewClosedVectorPath(commands []VectorPathCommand) *ClosedVectorPath + func (closedVectorPath *ClosedVectorPath) MessageType() string + type Config struct + APIHash string + APIID string + ApplicationVersion string + DatabaseDirectory string + DeviceModel string + EnableStorageOptimizer bool + FileDirectory string + IgnoreFileNames bool + SystemLanguageCode string + SystemVersion string + UseChatInfoDatabase bool + UseFileDatabase bool + UseMessageDatabase bool + UseSecretChats bool + UseTestDataCenter bool + type ConnectedWebsite struct + BotUserID int32 + Browser string + DomainName string + ID JSONInt64 + IP string + LastActiveDate int32 + Location string + LogInDate int32 + Platform string + func NewConnectedWebsite(iD JSONInt64, domainName string, botUserID int32, browser string, ...) *ConnectedWebsite + func (connectedWebsite *ConnectedWebsite) MessageType() string + type ConnectedWebsites struct + Websites []ConnectedWebsite + func NewConnectedWebsites(websites []ConnectedWebsite) *ConnectedWebsites + func (connectedWebsites *ConnectedWebsites) MessageType() string + type ConnectionState interface + GetConnectionStateEnum func() ConnectionStateEnum + type ConnectionStateConnecting struct + func NewConnectionStateConnecting() *ConnectionStateConnecting + func (connectionStateConnecting *ConnectionStateConnecting) GetConnectionStateEnum() ConnectionStateEnum + func (connectionStateConnecting *ConnectionStateConnecting) MessageType() string + type ConnectionStateConnectingToProxy struct + func NewConnectionStateConnectingToProxy() *ConnectionStateConnectingToProxy + func (connectionStateConnectingToProxy *ConnectionStateConnectingToProxy) GetConnectionStateEnum() ConnectionStateEnum + func (connectionStateConnectingToProxy *ConnectionStateConnectingToProxy) MessageType() string + type ConnectionStateEnum string + const ConnectionStateConnectingToProxyType + const ConnectionStateConnectingType + const ConnectionStateReadyType + const ConnectionStateUpdatingType + const ConnectionStateWaitingForNetworkType + type ConnectionStateReady struct + func NewConnectionStateReady() *ConnectionStateReady + func (connectionStateReady *ConnectionStateReady) GetConnectionStateEnum() ConnectionStateEnum + func (connectionStateReady *ConnectionStateReady) MessageType() string + type ConnectionStateUpdating struct + func NewConnectionStateUpdating() *ConnectionStateUpdating + func (connectionStateUpdating *ConnectionStateUpdating) GetConnectionStateEnum() ConnectionStateEnum + func (connectionStateUpdating *ConnectionStateUpdating) MessageType() string + type ConnectionStateWaitingForNetwork struct + func NewConnectionStateWaitingForNetwork() *ConnectionStateWaitingForNetwork + func (connectionStateWaitingForNetwork *ConnectionStateWaitingForNetwork) GetConnectionStateEnum() ConnectionStateEnum + func (connectionStateWaitingForNetwork *ConnectionStateWaitingForNetwork) MessageType() string + type Contact struct + FirstName string + LastName string + PhoneNumber string + UserID int32 + Vcard string + func NewContact(phoneNumber string, firstName string, lastName string, vcard string, ...) *Contact + func (contact *Contact) MessageType() string + type Count struct + Count int32 + func NewCount(count int32) *Count + func (count *Count) MessageType() string + type Countries struct + Countries []CountryInfo + func NewCountries(countries []CountryInfo) *Countries + func (countries *Countries) MessageType() string + type CountryInfo struct + CallingCodes []string + CountryCode string + EnglishName string + IsHidden bool + Name string + func NewCountryInfo(countryCode string, name string, englishName string, isHidden bool, ...) *CountryInfo + func (countryInfo *CountryInfo) MessageType() string + type CustomRequestResult struct + Result string + func NewCustomRequestResult(result string) *CustomRequestResult + func (customRequestResult *CustomRequestResult) MessageType() string + type DatabaseStatistics struct + Statistics string + func NewDatabaseStatistics(statistics string) *DatabaseStatistics + func (databaseStatistics *DatabaseStatistics) MessageType() string + type Date struct + Day int32 + Month int32 + Year int32 + func NewDate(day int32, month int32, year int32) *Date + func (date *Date) MessageType() string + type DateRange struct + EndDate int32 + StartDate int32 + func NewDateRange(startDate int32, endDate int32) *DateRange + func (dateRange *DateRange) MessageType() string + type DatedFile struct + Date int32 + File *File + func NewDatedFile(file *File, date int32) *DatedFile + func (datedFile *DatedFile) MessageType() string + type DeepLinkInfo struct + NeedUpdateApplication bool + Text *FormattedText + func NewDeepLinkInfo(text *FormattedText, needUpdateApplication bool) *DeepLinkInfo + func (deepLinkInfo *DeepLinkInfo) MessageType() string + type DeviceToken interface + GetDeviceTokenEnum func() DeviceTokenEnum + type DeviceTokenApplePush struct + DeviceToken string + IsAppSandbox bool + func NewDeviceTokenApplePush(deviceToken string, isAppSandbox bool) *DeviceTokenApplePush + func (deviceTokenApplePush *DeviceTokenApplePush) GetDeviceTokenEnum() DeviceTokenEnum + func (deviceTokenApplePush *DeviceTokenApplePush) MessageType() string + type DeviceTokenApplePushVoIP struct + DeviceToken string + Encrypt bool + IsAppSandbox bool + func NewDeviceTokenApplePushVoIP(deviceToken string, isAppSandbox bool, encrypt bool) *DeviceTokenApplePushVoIP + func (deviceTokenApplePushVoIP *DeviceTokenApplePushVoIP) GetDeviceTokenEnum() DeviceTokenEnum + func (deviceTokenApplePushVoIP *DeviceTokenApplePushVoIP) MessageType() string + type DeviceTokenBlackBerryPush struct + Token string + func NewDeviceTokenBlackBerryPush(token string) *DeviceTokenBlackBerryPush + func (deviceTokenBlackBerryPush *DeviceTokenBlackBerryPush) GetDeviceTokenEnum() DeviceTokenEnum + func (deviceTokenBlackBerryPush *DeviceTokenBlackBerryPush) MessageType() string + type DeviceTokenEnum string + const DeviceTokenApplePushType + const DeviceTokenApplePushVoIPType + const DeviceTokenBlackBerryPushType + const DeviceTokenFirebaseCloudMessagingType + const DeviceTokenMicrosoftPushType + const DeviceTokenMicrosoftPushVoIPType + const DeviceTokenSimplePushType + const DeviceTokenTizenPushType + const DeviceTokenUbuntuPushType + const DeviceTokenWebPushType + const DeviceTokenWindowsPushType + type DeviceTokenFirebaseCloudMessaging struct + Encrypt bool + Token string + func NewDeviceTokenFirebaseCloudMessaging(token string, encrypt bool) *DeviceTokenFirebaseCloudMessaging + func (deviceTokenFirebaseCloudMessaging *DeviceTokenFirebaseCloudMessaging) GetDeviceTokenEnum() DeviceTokenEnum + func (deviceTokenFirebaseCloudMessaging *DeviceTokenFirebaseCloudMessaging) MessageType() string + type DeviceTokenMicrosoftPush struct + ChannelURI string + func NewDeviceTokenMicrosoftPush(channelURI string) *DeviceTokenMicrosoftPush + func (deviceTokenMicrosoftPush *DeviceTokenMicrosoftPush) GetDeviceTokenEnum() DeviceTokenEnum + func (deviceTokenMicrosoftPush *DeviceTokenMicrosoftPush) MessageType() string + type DeviceTokenMicrosoftPushVoIP struct + ChannelURI string + func NewDeviceTokenMicrosoftPushVoIP(channelURI string) *DeviceTokenMicrosoftPushVoIP + func (deviceTokenMicrosoftPushVoIP *DeviceTokenMicrosoftPushVoIP) GetDeviceTokenEnum() DeviceTokenEnum + func (deviceTokenMicrosoftPushVoIP *DeviceTokenMicrosoftPushVoIP) MessageType() string + type DeviceTokenSimplePush struct + Endpoint string + func NewDeviceTokenSimplePush(endpoint string) *DeviceTokenSimplePush + func (deviceTokenSimplePush *DeviceTokenSimplePush) GetDeviceTokenEnum() DeviceTokenEnum + func (deviceTokenSimplePush *DeviceTokenSimplePush) MessageType() string + type DeviceTokenTizenPush struct + RegID string + func NewDeviceTokenTizenPush(regID string) *DeviceTokenTizenPush + func (deviceTokenTizenPush *DeviceTokenTizenPush) GetDeviceTokenEnum() DeviceTokenEnum + func (deviceTokenTizenPush *DeviceTokenTizenPush) MessageType() string + type DeviceTokenUbuntuPush struct + Token string + func NewDeviceTokenUbuntuPush(token string) *DeviceTokenUbuntuPush + func (deviceTokenUbuntuPush *DeviceTokenUbuntuPush) GetDeviceTokenEnum() DeviceTokenEnum + func (deviceTokenUbuntuPush *DeviceTokenUbuntuPush) MessageType() string + type DeviceTokenWebPush struct + AuthBase64url string + Endpoint string + P256dhBase64url string + func NewDeviceTokenWebPush(endpoint string, p256dhBase64url string, authBase64url string) *DeviceTokenWebPush + func (deviceTokenWebPush *DeviceTokenWebPush) GetDeviceTokenEnum() DeviceTokenEnum + func (deviceTokenWebPush *DeviceTokenWebPush) MessageType() string + type DeviceTokenWindowsPush struct + AccessToken string + func NewDeviceTokenWindowsPush(accessToken string) *DeviceTokenWindowsPush + func (deviceTokenWindowsPush *DeviceTokenWindowsPush) GetDeviceTokenEnum() DeviceTokenEnum + func (deviceTokenWindowsPush *DeviceTokenWindowsPush) MessageType() string + type DiceStickers interface + GetDiceStickersEnum func() DiceStickersEnum + type DiceStickersEnum string + const DiceStickersRegularType + const DiceStickersSlotMachineType + type DiceStickersRegular struct + Sticker *Sticker + func NewDiceStickersRegular(sticker *Sticker) *DiceStickersRegular + func (diceStickersRegular *DiceStickersRegular) GetDiceStickersEnum() DiceStickersEnum + func (diceStickersRegular *DiceStickersRegular) MessageType() string + type DiceStickersSlotMachine struct + Background *Sticker + CenterReel *Sticker + LeftReel *Sticker + Lever *Sticker + RightReel *Sticker + func NewDiceStickersSlotMachine(background *Sticker, lever *Sticker, leftReel *Sticker, centerReel *Sticker, ...) *DiceStickersSlotMachine + func (diceStickersSlotMachine *DiceStickersSlotMachine) GetDiceStickersEnum() DiceStickersEnum + func (diceStickersSlotMachine *DiceStickersSlotMachine) MessageType() string + type Document struct + Document *File + FileName string + MimeType string + Minithumbnail *Minithumbnail + Thumbnail *Thumbnail + func NewDocument(fileName string, mimeType string, minithumbnail *Minithumbnail, ...) *Document + func (document *Document) MessageType() string + type DraftMessage struct + Date int32 + InputMessageText InputMessageContent + ReplyToMessageID int64 + func NewDraftMessage(replyToMessageID int64, date int32, inputMessageText InputMessageContent) *DraftMessage + func (draftMessage *DraftMessage) MessageType() string + func (draftMessage *DraftMessage) UnmarshalJSON(b []byte) error + type EmailAddressAuthenticationCodeInfo struct + EmailAddressPattern string + Length int32 + func NewEmailAddressAuthenticationCodeInfo(emailAddressPattern string, length int32) *EmailAddressAuthenticationCodeInfo + func (emailAddressAuthenticationCodeInfo *EmailAddressAuthenticationCodeInfo) MessageType() string + type Emojis struct + Emojis []string + func NewEmojis(emojis []string) *Emojis + func (emojis *Emojis) MessageType() string + type EncryptedCredentials struct + Data []byte + Hash []byte + Secret []byte + func NewEncryptedCredentials(data []byte, hash []byte, secret []byte) *EncryptedCredentials + func (encryptedCredentials *EncryptedCredentials) MessageType() string + type EncryptedPassportElement struct + Data []byte + Files []DatedFile + FrontSide *DatedFile + Hash string + ReverseSide *DatedFile + Selfie *DatedFile + Translation []DatedFile + Type PassportElementType + Value string + func NewEncryptedPassportElement(typeParam PassportElementType, data []byte, frontSide *DatedFile, ...) *EncryptedPassportElement + func (encryptedPassportElement *EncryptedPassportElement) MessageType() string + func (encryptedPassportElement *EncryptedPassportElement) UnmarshalJSON(b []byte) error + type Error struct + Code int32 + Message string + func NewError(code int32, message string) *Error + func (error *Error) MessageType() string + type EventFilterFunc func(msg *TdMessage) bool + type EventReceiver struct + Chan chan TdMessage + FilterFunc EventFilterFunc + Instance TdMessage + type File struct + ExpectedSize int32 + ID int32 + Local *LocalFile + Remote *RemoteFile + Size int32 + func NewFile(iD int32, size int32, expectedSize int32, local *LocalFile, remote *RemoteFile) *File + func (file *File) MessageType() string + type FilePart struct + Data []byte + func NewFilePart(data []byte) *FilePart + func (filePart *FilePart) MessageType() string + type FileType interface + GetFileTypeEnum func() FileTypeEnum + type FileTypeAnimation struct + func NewFileTypeAnimation() *FileTypeAnimation + func (fileTypeAnimation *FileTypeAnimation) GetFileTypeEnum() FileTypeEnum + func (fileTypeAnimation *FileTypeAnimation) MessageType() string + type FileTypeAudio struct + func NewFileTypeAudio() *FileTypeAudio + func (fileTypeAudio *FileTypeAudio) GetFileTypeEnum() FileTypeEnum + func (fileTypeAudio *FileTypeAudio) MessageType() string + type FileTypeDocument struct + func NewFileTypeDocument() *FileTypeDocument + func (fileTypeDocument *FileTypeDocument) GetFileTypeEnum() FileTypeEnum + func (fileTypeDocument *FileTypeDocument) MessageType() string + type FileTypeEnum string + const FileTypeAnimationType + const FileTypeAudioType + const FileTypeDocumentType + const FileTypeNoneType + const FileTypePhotoType + const FileTypeProfilePhotoType + const FileTypeSecretThumbnailType + const FileTypeSecretType + const FileTypeSecureType + const FileTypeStickerType + const FileTypeThumbnailType + const FileTypeUnknownType + const FileTypeVideoNoteType + const FileTypeVideoType + const FileTypeVoiceNoteType + const FileTypeWallpaperType + type FileTypeNone struct + func NewFileTypeNone() *FileTypeNone + func (fileTypeNone *FileTypeNone) GetFileTypeEnum() FileTypeEnum + func (fileTypeNone *FileTypeNone) MessageType() string + type FileTypePhoto struct + func NewFileTypePhoto() *FileTypePhoto + func (fileTypePhoto *FileTypePhoto) GetFileTypeEnum() FileTypeEnum + func (fileTypePhoto *FileTypePhoto) MessageType() string + type FileTypeProfilePhoto struct + func NewFileTypeProfilePhoto() *FileTypeProfilePhoto + func (fileTypeProfilePhoto *FileTypeProfilePhoto) GetFileTypeEnum() FileTypeEnum + func (fileTypeProfilePhoto *FileTypeProfilePhoto) MessageType() string + type FileTypeSecret struct + func NewFileTypeSecret() *FileTypeSecret + func (fileTypeSecret *FileTypeSecret) GetFileTypeEnum() FileTypeEnum + func (fileTypeSecret *FileTypeSecret) MessageType() string + type FileTypeSecretThumbnail struct + func NewFileTypeSecretThumbnail() *FileTypeSecretThumbnail + func (fileTypeSecretThumbnail *FileTypeSecretThumbnail) GetFileTypeEnum() FileTypeEnum + func (fileTypeSecretThumbnail *FileTypeSecretThumbnail) MessageType() string + type FileTypeSecure struct + func NewFileTypeSecure() *FileTypeSecure + func (fileTypeSecure *FileTypeSecure) GetFileTypeEnum() FileTypeEnum + func (fileTypeSecure *FileTypeSecure) MessageType() string + type FileTypeSticker struct + func NewFileTypeSticker() *FileTypeSticker + func (fileTypeSticker *FileTypeSticker) GetFileTypeEnum() FileTypeEnum + func (fileTypeSticker *FileTypeSticker) MessageType() string + type FileTypeThumbnail struct + func NewFileTypeThumbnail() *FileTypeThumbnail + func (fileTypeThumbnail *FileTypeThumbnail) GetFileTypeEnum() FileTypeEnum + func (fileTypeThumbnail *FileTypeThumbnail) MessageType() string + type FileTypeUnknown struct + func NewFileTypeUnknown() *FileTypeUnknown + func (fileTypeUnknown *FileTypeUnknown) GetFileTypeEnum() FileTypeEnum + func (fileTypeUnknown *FileTypeUnknown) MessageType() string + type FileTypeVideo struct + func NewFileTypeVideo() *FileTypeVideo + func (fileTypeVideo *FileTypeVideo) GetFileTypeEnum() FileTypeEnum + func (fileTypeVideo *FileTypeVideo) MessageType() string + type FileTypeVideoNote struct + func NewFileTypeVideoNote() *FileTypeVideoNote + func (fileTypeVideoNote *FileTypeVideoNote) GetFileTypeEnum() FileTypeEnum + func (fileTypeVideoNote *FileTypeVideoNote) MessageType() string + type FileTypeVoiceNote struct + func NewFileTypeVoiceNote() *FileTypeVoiceNote + func (fileTypeVoiceNote *FileTypeVoiceNote) GetFileTypeEnum() FileTypeEnum + func (fileTypeVoiceNote *FileTypeVoiceNote) MessageType() string + type FileTypeWallpaper struct + func NewFileTypeWallpaper() *FileTypeWallpaper + func (fileTypeWallpaper *FileTypeWallpaper) GetFileTypeEnum() FileTypeEnum + func (fileTypeWallpaper *FileTypeWallpaper) MessageType() string + type FormattedText struct + Entities []TextEntity + Text string + func NewFormattedText(text string, entities []TextEntity) *FormattedText + func (formattedText *FormattedText) MessageType() string + type FoundMessages struct + Messages []Message + NextOffset string + TotalCount int32 + func NewFoundMessages(totalCount int32, messages []Message, nextOffset string) *FoundMessages + func (foundMessages *FoundMessages) MessageType() string + type Game struct + Animation *Animation + Description string + ID JSONInt64 + Photo *Photo + ShortName string + Text *FormattedText + Title string + func NewGame(iD JSONInt64, shortName string, title string, text *FormattedText, ...) *Game + func (game *Game) MessageType() string + type GameHighScore struct + Position int32 + Score int32 + UserID int32 + func NewGameHighScore(position int32, userID int32, score int32) *GameHighScore + func (gameHighScore *GameHighScore) MessageType() string + type GameHighScores struct + Scores []GameHighScore + func NewGameHighScores(scores []GameHighScore) *GameHighScores + func (gameHighScores *GameHighScores) MessageType() string + type GroupCall struct + CanBeManaged bool + CanChangeMuteNewParticipants bool + CanUnmuteSelf bool + Duration int32 + ID int32 + IsActive bool + IsJoined bool + LoadedAllParticipants bool + MuteNewParticipants bool + NeedRejoin bool + ParticipantCount int32 + RecentSpeakers []GroupCallRecentSpeaker + func NewGroupCall(iD int32, isActive bool, isJoined bool, needRejoin bool, canUnmuteSelf bool, ...) *GroupCall + func (groupCall *GroupCall) MessageType() string + type GroupCallID struct + ID int32 + func NewGroupCallID(iD int32) *GroupCallID + func (groupCallID *GroupCallID) MessageType() string + type GroupCallJoinResponse struct + Candidates []GroupCallJoinResponseCandidate + Payload *GroupCallPayload + func NewGroupCallJoinResponse(payload *GroupCallPayload, candidates []GroupCallJoinResponseCandidate) *GroupCallJoinResponse + func (groupCallJoinResponse *GroupCallJoinResponse) MessageType() string + type GroupCallJoinResponseCandidate struct + Component string + Foundation string + Generation string + ID string + IP string + Network string + Port string + Priority string + Protocol string + RelAddr string + RelPort string + TcpType string + Type string + func NewGroupCallJoinResponseCandidate(port string, protocol string, network string, generation string, iD string, ...) *GroupCallJoinResponseCandidate + func (groupCallJoinResponseCandidate *GroupCallJoinResponseCandidate) MessageType() string + type GroupCallParticipant struct + CanBeMutedForAllUsers bool + CanBeMutedForCurrentUser bool + CanBeUnmutedForAllUsers bool + CanBeUnmutedForCurrentUser bool + CanUnmuteSelf bool + IsMutedForAllUsers bool + IsMutedForCurrentUser bool + IsSpeaking bool + Order JSONInt64 + Source int32 + UserID int32 + VolumeLevel int32 + func NewGroupCallParticipant(userID int32, source int32, isSpeaking bool, canBeMutedForAllUsers bool, ...) *GroupCallParticipant + func (groupCallParticipant *GroupCallParticipant) MessageType() string + type GroupCallPayload struct + Fingerprints []GroupCallPayloadFingerprint + Pwd string + Ufrag string + func NewGroupCallPayload(ufrag string, pwd string, fingerprints []GroupCallPayloadFingerprint) *GroupCallPayload + func (groupCallPayload *GroupCallPayload) MessageType() string + type GroupCallPayloadFingerprint struct + Fingerprint string + Hash string + Setup string + func NewGroupCallPayloadFingerprint(hash string, setup string, fingerprint string) *GroupCallPayloadFingerprint + func (groupCallPayloadFingerprint *GroupCallPayloadFingerprint) MessageType() string + type GroupCallRecentSpeaker struct + IsSpeaking bool + UserID int32 + func NewGroupCallRecentSpeaker(userID int32, isSpeaking bool) *GroupCallRecentSpeaker + func (groupCallRecentSpeaker *GroupCallRecentSpeaker) MessageType() string + type Hashtags struct + Hashtags []string + func NewHashtags(hashtags []string) *Hashtags + func (hashtags *Hashtags) MessageType() string + type HttpURL struct + URL string + func NewHttpURL(uRL string) *HttpURL + func (httpURL *HttpURL) MessageType() string + type IDentityDocument struct + ExpiryDate *Date + FrontSide *DatedFile + Number string + ReverseSide *DatedFile + Selfie *DatedFile + Translation []DatedFile + func NewIDentityDocument(number string, expiryDate *Date, frontSide *DatedFile, reverseSide *DatedFile, ...) *IDentityDocument + func (iDentityDocument *IDentityDocument) MessageType() string + type ImportedContacts struct + ImporterCount []int32 + UserIDs []int32 + func NewImportedContacts(userIDs []int32, importerCount []int32) *ImportedContacts + func (importedContacts *ImportedContacts) MessageType() string + type InlineKeyboardButton struct + Text string + Type InlineKeyboardButtonType + func NewInlineKeyboardButton(text string, typeParam InlineKeyboardButtonType) *InlineKeyboardButton + func (inlineKeyboardButton *InlineKeyboardButton) MessageType() string + func (inlineKeyboardButton *InlineKeyboardButton) UnmarshalJSON(b []byte) error + type InlineKeyboardButtonType interface + GetInlineKeyboardButtonTypeEnum func() InlineKeyboardButtonTypeEnum + type InlineKeyboardButtonTypeBuy struct + func NewInlineKeyboardButtonTypeBuy() *InlineKeyboardButtonTypeBuy + func (inlineKeyboardButtonTypeBuy *InlineKeyboardButtonTypeBuy) GetInlineKeyboardButtonTypeEnum() InlineKeyboardButtonTypeEnum + func (inlineKeyboardButtonTypeBuy *InlineKeyboardButtonTypeBuy) MessageType() string + type InlineKeyboardButtonTypeCallback struct + Data []byte + func NewInlineKeyboardButtonTypeCallback(data []byte) *InlineKeyboardButtonTypeCallback + func (inlineKeyboardButtonTypeCallback *InlineKeyboardButtonTypeCallback) GetInlineKeyboardButtonTypeEnum() InlineKeyboardButtonTypeEnum + func (inlineKeyboardButtonTypeCallback *InlineKeyboardButtonTypeCallback) MessageType() string + type InlineKeyboardButtonTypeCallbackGame struct + func NewInlineKeyboardButtonTypeCallbackGame() *InlineKeyboardButtonTypeCallbackGame + func (inlineKeyboardButtonTypeCallbackGame *InlineKeyboardButtonTypeCallbackGame) GetInlineKeyboardButtonTypeEnum() InlineKeyboardButtonTypeEnum + func (inlineKeyboardButtonTypeCallbackGame *InlineKeyboardButtonTypeCallbackGame) MessageType() string + type InlineKeyboardButtonTypeCallbackWithPassword struct + Data []byte + func NewInlineKeyboardButtonTypeCallbackWithPassword(data []byte) *InlineKeyboardButtonTypeCallbackWithPassword + func (inlineKeyboardButtonTypeCallbackWithPassword *InlineKeyboardButtonTypeCallbackWithPassword) GetInlineKeyboardButtonTypeEnum() InlineKeyboardButtonTypeEnum + func (inlineKeyboardButtonTypeCallbackWithPassword *InlineKeyboardButtonTypeCallbackWithPassword) MessageType() string + type InlineKeyboardButtonTypeEnum string + const InlineKeyboardButtonTypeBuyType + const InlineKeyboardButtonTypeCallbackGameType + const InlineKeyboardButtonTypeCallbackType + const InlineKeyboardButtonTypeCallbackWithPasswordType + const InlineKeyboardButtonTypeLoginURLType + const InlineKeyboardButtonTypeSwitchInlineType + const InlineKeyboardButtonTypeURLType + type InlineKeyboardButtonTypeLoginURL struct + ForwardText string + ID int32 + URL string + func NewInlineKeyboardButtonTypeLoginURL(uRL string, iD int32, forwardText string) *InlineKeyboardButtonTypeLoginURL + func (inlineKeyboardButtonTypeLoginURL *InlineKeyboardButtonTypeLoginURL) GetInlineKeyboardButtonTypeEnum() InlineKeyboardButtonTypeEnum + func (inlineKeyboardButtonTypeLoginURL *InlineKeyboardButtonTypeLoginURL) MessageType() string + type InlineKeyboardButtonTypeSwitchInline struct + InCurrentChat bool + Query string + func NewInlineKeyboardButtonTypeSwitchInline(query string, inCurrentChat bool) *InlineKeyboardButtonTypeSwitchInline + func (inlineKeyboardButtonTypeSwitchInline *InlineKeyboardButtonTypeSwitchInline) GetInlineKeyboardButtonTypeEnum() InlineKeyboardButtonTypeEnum + func (inlineKeyboardButtonTypeSwitchInline *InlineKeyboardButtonTypeSwitchInline) MessageType() string + type InlineKeyboardButtonTypeURL struct + URL string + func NewInlineKeyboardButtonTypeURL(uRL string) *InlineKeyboardButtonTypeURL + func (inlineKeyboardButtonTypeURL *InlineKeyboardButtonTypeURL) GetInlineKeyboardButtonTypeEnum() InlineKeyboardButtonTypeEnum + func (inlineKeyboardButtonTypeURL *InlineKeyboardButtonTypeURL) MessageType() string + type InlineQueryResult interface + GetInlineQueryResultEnum func() InlineQueryResultEnum + type InlineQueryResultAnimation struct + Animation *Animation + ID string + Title string + func NewInlineQueryResultAnimation(iD string, animation *Animation, title string) *InlineQueryResultAnimation + func (inlineQueryResultAnimation *InlineQueryResultAnimation) GetInlineQueryResultEnum() InlineQueryResultEnum + func (inlineQueryResultAnimation *InlineQueryResultAnimation) MessageType() string + type InlineQueryResultArticle struct + Description string + HideURL bool + ID string + Thumbnail *Thumbnail + Title string + URL string + func NewInlineQueryResultArticle(iD string, uRL string, hideURL bool, title string, description string, ...) *InlineQueryResultArticle + func (inlineQueryResultArticle *InlineQueryResultArticle) GetInlineQueryResultEnum() InlineQueryResultEnum + func (inlineQueryResultArticle *InlineQueryResultArticle) MessageType() string + type InlineQueryResultAudio struct + Audio *Audio + ID string + func NewInlineQueryResultAudio(iD string, audio *Audio) *InlineQueryResultAudio + func (inlineQueryResultAudio *InlineQueryResultAudio) GetInlineQueryResultEnum() InlineQueryResultEnum + func (inlineQueryResultAudio *InlineQueryResultAudio) MessageType() string + type InlineQueryResultContact struct + Contact *Contact + ID string + Thumbnail *Thumbnail + func NewInlineQueryResultContact(iD string, contact *Contact, thumbnail *Thumbnail) *InlineQueryResultContact + func (inlineQueryResultContact *InlineQueryResultContact) GetInlineQueryResultEnum() InlineQueryResultEnum + func (inlineQueryResultContact *InlineQueryResultContact) MessageType() string + type InlineQueryResultDocument struct + Description string + Document *Document + ID string + Title string + func NewInlineQueryResultDocument(iD string, document *Document, title string, description string) *InlineQueryResultDocument + func (inlineQueryResultDocument *InlineQueryResultDocument) GetInlineQueryResultEnum() InlineQueryResultEnum + func (inlineQueryResultDocument *InlineQueryResultDocument) MessageType() string + type InlineQueryResultEnum string + const InlineQueryResultAnimationType + const InlineQueryResultArticleType + const InlineQueryResultAudioType + const InlineQueryResultContactType + const InlineQueryResultDocumentType + const InlineQueryResultGameType + const InlineQueryResultLocationType + const InlineQueryResultPhotoType + const InlineQueryResultStickerType + const InlineQueryResultVenueType + const InlineQueryResultVideoType + const InlineQueryResultVoiceNoteType + type InlineQueryResultGame struct + Game *Game + ID string + func NewInlineQueryResultGame(iD string, game *Game) *InlineQueryResultGame + func (inlineQueryResultGame *InlineQueryResultGame) GetInlineQueryResultEnum() InlineQueryResultEnum + func (inlineQueryResultGame *InlineQueryResultGame) MessageType() string + type InlineQueryResultLocation struct + ID string + Location *Location + Thumbnail *Thumbnail + Title string + func NewInlineQueryResultLocation(iD string, location *Location, title string, thumbnail *Thumbnail) *InlineQueryResultLocation + func (inlineQueryResultLocation *InlineQueryResultLocation) GetInlineQueryResultEnum() InlineQueryResultEnum + func (inlineQueryResultLocation *InlineQueryResultLocation) MessageType() string + type InlineQueryResultPhoto struct + Description string + ID string + Photo *Photo + Title string + func NewInlineQueryResultPhoto(iD string, photo *Photo, title string, description string) *InlineQueryResultPhoto + func (inlineQueryResultPhoto *InlineQueryResultPhoto) GetInlineQueryResultEnum() InlineQueryResultEnum + func (inlineQueryResultPhoto *InlineQueryResultPhoto) MessageType() string + type InlineQueryResultSticker struct + ID string + Sticker *Sticker + func NewInlineQueryResultSticker(iD string, sticker *Sticker) *InlineQueryResultSticker + func (inlineQueryResultSticker *InlineQueryResultSticker) GetInlineQueryResultEnum() InlineQueryResultEnum + func (inlineQueryResultSticker *InlineQueryResultSticker) MessageType() string + type InlineQueryResultVenue struct + ID string + Thumbnail *Thumbnail + Venue *Venue + func NewInlineQueryResultVenue(iD string, venue *Venue, thumbnail *Thumbnail) *InlineQueryResultVenue + func (inlineQueryResultVenue *InlineQueryResultVenue) GetInlineQueryResultEnum() InlineQueryResultEnum + func (inlineQueryResultVenue *InlineQueryResultVenue) MessageType() string + type InlineQueryResultVideo struct + Description string + ID string + Title string + Video *Video + func NewInlineQueryResultVideo(iD string, video *Video, title string, description string) *InlineQueryResultVideo + func (inlineQueryResultVideo *InlineQueryResultVideo) GetInlineQueryResultEnum() InlineQueryResultEnum + func (inlineQueryResultVideo *InlineQueryResultVideo) MessageType() string + type InlineQueryResultVoiceNote struct + ID string + Title string + VoiceNote *VoiceNote + func NewInlineQueryResultVoiceNote(iD string, voiceNote *VoiceNote, title string) *InlineQueryResultVoiceNote + func (inlineQueryResultVoiceNote *InlineQueryResultVoiceNote) GetInlineQueryResultEnum() InlineQueryResultEnum + func (inlineQueryResultVoiceNote *InlineQueryResultVoiceNote) MessageType() string + type InlineQueryResults struct + InlineQueryID JSONInt64 + NextOffset string + Results []InlineQueryResult + SwitchPmParameter string + SwitchPmText string + func NewInlineQueryResults(inlineQueryID JSONInt64, nextOffset string, results []InlineQueryResult, ...) *InlineQueryResults + func (inlineQueryResults *InlineQueryResults) MessageType() string + type InputBackground interface + GetInputBackgroundEnum func() InputBackgroundEnum + type InputBackgroundEnum string + const InputBackgroundLocalType + const InputBackgroundRemoteType + type InputBackgroundLocal struct + Background InputFile + func NewInputBackgroundLocal(background InputFile) *InputBackgroundLocal + func (inputBackgroundLocal *InputBackgroundLocal) GetInputBackgroundEnum() InputBackgroundEnum + func (inputBackgroundLocal *InputBackgroundLocal) MessageType() string + func (inputBackgroundLocal *InputBackgroundLocal) UnmarshalJSON(b []byte) error + type InputBackgroundRemote struct + BackgroundID JSONInt64 + func NewInputBackgroundRemote(backgroundID JSONInt64) *InputBackgroundRemote + func (inputBackgroundRemote *InputBackgroundRemote) GetInputBackgroundEnum() InputBackgroundEnum + func (inputBackgroundRemote *InputBackgroundRemote) MessageType() string + type InputChatPhoto interface + GetInputChatPhotoEnum func() InputChatPhotoEnum + type InputChatPhotoAnimation struct + Animation InputFile + MainFrameTimestamp float64 + func NewInputChatPhotoAnimation(animation InputFile, mainFrameTimestamp float64) *InputChatPhotoAnimation + func (inputChatPhotoAnimation *InputChatPhotoAnimation) GetInputChatPhotoEnum() InputChatPhotoEnum + func (inputChatPhotoAnimation *InputChatPhotoAnimation) MessageType() string + func (inputChatPhotoAnimation *InputChatPhotoAnimation) UnmarshalJSON(b []byte) error + type InputChatPhotoEnum string + const InputChatPhotoAnimationType + const InputChatPhotoPreviousType + const InputChatPhotoStaticType + type InputChatPhotoPrevious struct + ChatPhotoID JSONInt64 + func NewInputChatPhotoPrevious(chatPhotoID JSONInt64) *InputChatPhotoPrevious + func (inputChatPhotoPrevious *InputChatPhotoPrevious) GetInputChatPhotoEnum() InputChatPhotoEnum + func (inputChatPhotoPrevious *InputChatPhotoPrevious) MessageType() string + type InputChatPhotoStatic struct + Photo InputFile + func NewInputChatPhotoStatic(photo InputFile) *InputChatPhotoStatic + func (inputChatPhotoStatic *InputChatPhotoStatic) GetInputChatPhotoEnum() InputChatPhotoEnum + func (inputChatPhotoStatic *InputChatPhotoStatic) MessageType() string + func (inputChatPhotoStatic *InputChatPhotoStatic) UnmarshalJSON(b []byte) error + type InputCredentials interface + GetInputCredentialsEnum func() InputCredentialsEnum + type InputCredentialsApplePay struct + Data string + func NewInputCredentialsApplePay(data string) *InputCredentialsApplePay + func (inputCredentialsApplePay *InputCredentialsApplePay) GetInputCredentialsEnum() InputCredentialsEnum + func (inputCredentialsApplePay *InputCredentialsApplePay) MessageType() string + type InputCredentialsEnum string + const InputCredentialsApplePayType + const InputCredentialsGooglePayType + const InputCredentialsNewType + const InputCredentialsSavedType + type InputCredentialsGooglePay struct + Data string + func NewInputCredentialsGooglePay(data string) *InputCredentialsGooglePay + func (inputCredentialsGooglePay *InputCredentialsGooglePay) GetInputCredentialsEnum() InputCredentialsEnum + func (inputCredentialsGooglePay *InputCredentialsGooglePay) MessageType() string + type InputCredentialsNew struct + AllowSave bool + Data string + func NewInputCredentialsNew(data string, allowSave bool) *InputCredentialsNew + func (inputCredentialsNew *InputCredentialsNew) GetInputCredentialsEnum() InputCredentialsEnum + func (inputCredentialsNew *InputCredentialsNew) MessageType() string + type InputCredentialsSaved struct + SavedCredentialsID string + func NewInputCredentialsSaved(savedCredentialsID string) *InputCredentialsSaved + func (inputCredentialsSaved *InputCredentialsSaved) GetInputCredentialsEnum() InputCredentialsEnum + func (inputCredentialsSaved *InputCredentialsSaved) MessageType() string + type InputFile interface + GetInputFileEnum func() InputFileEnum + type InputFileEnum string + const InputFileGeneratedType + const InputFileIDType + const InputFileLocalType + const InputFileRemoteType + type InputFileGenerated struct + Conversion string + ExpectedSize int32 + OriginalPath string + func NewInputFileGenerated(originalPath string, conversion string, expectedSize int32) *InputFileGenerated + func (inputFileGenerated *InputFileGenerated) GetInputFileEnum() InputFileEnum + func (inputFileGenerated *InputFileGenerated) MessageType() string + type InputFileID struct + ID int32 + func NewInputFileID(iD int32) *InputFileID + func (inputFileID *InputFileID) GetInputFileEnum() InputFileEnum + func (inputFileID *InputFileID) MessageType() string + type InputFileLocal struct + Path string + func NewInputFileLocal(path string) *InputFileLocal + func (inputFileLocal *InputFileLocal) GetInputFileEnum() InputFileEnum + func (inputFileLocal *InputFileLocal) MessageType() string + type InputFileRemote struct + ID string + func NewInputFileRemote(iD string) *InputFileRemote + func (inputFileRemote *InputFileRemote) GetInputFileEnum() InputFileEnum + func (inputFileRemote *InputFileRemote) MessageType() string + type InputIDentityDocument struct + ExpiryDate *Date + FrontSide InputFile + Number string + ReverseSide InputFile + Selfie InputFile + Translation []InputFile + func NewInputIDentityDocument(number string, expiryDate *Date, frontSide InputFile, reverseSide InputFile, ...) *InputIDentityDocument + func (inputIDentityDocument *InputIDentityDocument) MessageType() string + func (inputIDentityDocument *InputIDentityDocument) UnmarshalJSON(b []byte) error + type InputInlineQueryResult interface + GetInputInlineQueryResultEnum func() InputInlineQueryResultEnum + type InputInlineQueryResultAnimation struct + ID string + InputMessageContent InputMessageContent + ReplyMarkup ReplyMarkup + ThumbnailMimeType string + ThumbnailURL string + Title string + VideoDuration int32 + VideoHeight int32 + VideoMimeType string + VideoURL string + VideoWidth int32 + func NewInputInlineQueryResultAnimation(iD string, title string, thumbnailURL string, thumbnailMimeType string, ...) *InputInlineQueryResultAnimation + func (inputInlineQueryResultAnimation *InputInlineQueryResultAnimation) GetInputInlineQueryResultEnum() InputInlineQueryResultEnum + func (inputInlineQueryResultAnimation *InputInlineQueryResultAnimation) MessageType() string + func (inputInlineQueryResultAnimation *InputInlineQueryResultAnimation) UnmarshalJSON(b []byte) error + type InputInlineQueryResultArticle struct + Description string + HideURL bool + ID string + InputMessageContent InputMessageContent + ReplyMarkup ReplyMarkup + ThumbnailHeight int32 + ThumbnailURL string + ThumbnailWidth int32 + Title string + URL string + func NewInputInlineQueryResultArticle(iD string, uRL string, hideURL bool, title string, description string, ...) *InputInlineQueryResultArticle + func (inputInlineQueryResultArticle *InputInlineQueryResultArticle) GetInputInlineQueryResultEnum() InputInlineQueryResultEnum + func (inputInlineQueryResultArticle *InputInlineQueryResultArticle) MessageType() string + func (inputInlineQueryResultArticle *InputInlineQueryResultArticle) UnmarshalJSON(b []byte) error + type InputInlineQueryResultAudio struct + AudioDuration int32 + AudioURL string + ID string + InputMessageContent InputMessageContent + Performer string + ReplyMarkup ReplyMarkup + Title string + func NewInputInlineQueryResultAudio(iD string, title string, performer string, audioURL string, ...) *InputInlineQueryResultAudio + func (inputInlineQueryResultAudio *InputInlineQueryResultAudio) GetInputInlineQueryResultEnum() InputInlineQueryResultEnum + func (inputInlineQueryResultAudio *InputInlineQueryResultAudio) MessageType() string + func (inputInlineQueryResultAudio *InputInlineQueryResultAudio) UnmarshalJSON(b []byte) error + type InputInlineQueryResultContact struct + Contact *Contact + ID string + InputMessageContent InputMessageContent + ReplyMarkup ReplyMarkup + ThumbnailHeight int32 + ThumbnailURL string + ThumbnailWidth int32 + func NewInputInlineQueryResultContact(iD string, contact *Contact, thumbnailURL string, thumbnailWidth int32, ...) *InputInlineQueryResultContact + func (inputInlineQueryResultContact *InputInlineQueryResultContact) GetInputInlineQueryResultEnum() InputInlineQueryResultEnum + func (inputInlineQueryResultContact *InputInlineQueryResultContact) MessageType() string + func (inputInlineQueryResultContact *InputInlineQueryResultContact) UnmarshalJSON(b []byte) error + type InputInlineQueryResultDocument struct + Description string + DocumentURL string + ID string + InputMessageContent InputMessageContent + MimeType string + ReplyMarkup ReplyMarkup + ThumbnailHeight int32 + ThumbnailURL string + ThumbnailWidth int32 + Title string + func NewInputInlineQueryResultDocument(iD string, title string, description string, documentURL string, ...) *InputInlineQueryResultDocument + func (inputInlineQueryResultDocument *InputInlineQueryResultDocument) GetInputInlineQueryResultEnum() InputInlineQueryResultEnum + func (inputInlineQueryResultDocument *InputInlineQueryResultDocument) MessageType() string + func (inputInlineQueryResultDocument *InputInlineQueryResultDocument) UnmarshalJSON(b []byte) error + type InputInlineQueryResultEnum string + const InputInlineQueryResultAnimationType + const InputInlineQueryResultArticleType + const InputInlineQueryResultAudioType + const InputInlineQueryResultContactType + const InputInlineQueryResultDocumentType + const InputInlineQueryResultGameType + const InputInlineQueryResultLocationType + const InputInlineQueryResultPhotoType + const InputInlineQueryResultStickerType + const InputInlineQueryResultVenueType + const InputInlineQueryResultVideoType + const InputInlineQueryResultVoiceNoteType + type InputInlineQueryResultGame struct + GameShortName string + ID string + ReplyMarkup ReplyMarkup + func NewInputInlineQueryResultGame(iD string, gameShortName string, replyMarkup ReplyMarkup) *InputInlineQueryResultGame + func (inputInlineQueryResultGame *InputInlineQueryResultGame) GetInputInlineQueryResultEnum() InputInlineQueryResultEnum + func (inputInlineQueryResultGame *InputInlineQueryResultGame) MessageType() string + func (inputInlineQueryResultGame *InputInlineQueryResultGame) UnmarshalJSON(b []byte) error + type InputInlineQueryResultLocation struct + ID string + InputMessageContent InputMessageContent + LivePeriod int32 + Location *Location + ReplyMarkup ReplyMarkup + ThumbnailHeight int32 + ThumbnailURL string + ThumbnailWidth int32 + Title string + func NewInputInlineQueryResultLocation(iD string, location *Location, livePeriod int32, title string, ...) *InputInlineQueryResultLocation + func (inputInlineQueryResultLocation *InputInlineQueryResultLocation) GetInputInlineQueryResultEnum() InputInlineQueryResultEnum + func (inputInlineQueryResultLocation *InputInlineQueryResultLocation) MessageType() string + func (inputInlineQueryResultLocation *InputInlineQueryResultLocation) UnmarshalJSON(b []byte) error + type InputInlineQueryResultPhoto struct + Description string + ID string + InputMessageContent InputMessageContent + PhotoHeight int32 + PhotoURL string + PhotoWidth int32 + ReplyMarkup ReplyMarkup + ThumbnailURL string + Title string + func NewInputInlineQueryResultPhoto(iD string, title string, description string, thumbnailURL string, ...) *InputInlineQueryResultPhoto + func (inputInlineQueryResultPhoto *InputInlineQueryResultPhoto) GetInputInlineQueryResultEnum() InputInlineQueryResultEnum + func (inputInlineQueryResultPhoto *InputInlineQueryResultPhoto) MessageType() string + func (inputInlineQueryResultPhoto *InputInlineQueryResultPhoto) UnmarshalJSON(b []byte) error + type InputInlineQueryResultSticker struct + ID string + InputMessageContent InputMessageContent + ReplyMarkup ReplyMarkup + StickerHeight int32 + StickerURL string + StickerWidth int32 + ThumbnailURL string + func NewInputInlineQueryResultSticker(iD string, thumbnailURL string, stickerURL string, stickerWidth int32, ...) *InputInlineQueryResultSticker + func (inputInlineQueryResultSticker *InputInlineQueryResultSticker) GetInputInlineQueryResultEnum() InputInlineQueryResultEnum + func (inputInlineQueryResultSticker *InputInlineQueryResultSticker) MessageType() string + func (inputInlineQueryResultSticker *InputInlineQueryResultSticker) UnmarshalJSON(b []byte) error + type InputInlineQueryResultVenue struct + ID string + InputMessageContent InputMessageContent + ReplyMarkup ReplyMarkup + ThumbnailHeight int32 + ThumbnailURL string + ThumbnailWidth int32 + Venue *Venue + func NewInputInlineQueryResultVenue(iD string, venue *Venue, thumbnailURL string, thumbnailWidth int32, ...) *InputInlineQueryResultVenue + func (inputInlineQueryResultVenue *InputInlineQueryResultVenue) GetInputInlineQueryResultEnum() InputInlineQueryResultEnum + func (inputInlineQueryResultVenue *InputInlineQueryResultVenue) MessageType() string + func (inputInlineQueryResultVenue *InputInlineQueryResultVenue) UnmarshalJSON(b []byte) error + type InputInlineQueryResultVideo struct + Description string + ID string + InputMessageContent InputMessageContent + MimeType string + ReplyMarkup ReplyMarkup + ThumbnailURL string + Title string + VideoDuration int32 + VideoHeight int32 + VideoURL string + VideoWidth int32 + func NewInputInlineQueryResultVideo(iD string, title string, description string, thumbnailURL string, ...) *InputInlineQueryResultVideo + func (inputInlineQueryResultVideo *InputInlineQueryResultVideo) GetInputInlineQueryResultEnum() InputInlineQueryResultEnum + func (inputInlineQueryResultVideo *InputInlineQueryResultVideo) MessageType() string + func (inputInlineQueryResultVideo *InputInlineQueryResultVideo) UnmarshalJSON(b []byte) error + type InputInlineQueryResultVoiceNote struct + ID string + InputMessageContent InputMessageContent + ReplyMarkup ReplyMarkup + Title string + VoiceNoteDuration int32 + VoiceNoteURL string + func NewInputInlineQueryResultVoiceNote(iD string, title string, voiceNoteURL string, voiceNoteDuration int32, ...) *InputInlineQueryResultVoiceNote + func (inputInlineQueryResultVoiceNote *InputInlineQueryResultVoiceNote) GetInputInlineQueryResultEnum() InputInlineQueryResultEnum + func (inputInlineQueryResultVoiceNote *InputInlineQueryResultVoiceNote) MessageType() string + func (inputInlineQueryResultVoiceNote *InputInlineQueryResultVoiceNote) UnmarshalJSON(b []byte) error + type InputMessageAnimation struct + AddedStickerFileIDs []int32 + Animation InputFile + Caption *FormattedText + Duration int32 + Height int32 + Thumbnail *InputThumbnail + Width int32 + func NewInputMessageAnimation(animation InputFile, thumbnail *InputThumbnail, addedStickerFileIDs []int32, ...) *InputMessageAnimation + func (inputMessageAnimation *InputMessageAnimation) GetInputMessageContentEnum() InputMessageContentEnum + func (inputMessageAnimation *InputMessageAnimation) MessageType() string + func (inputMessageAnimation *InputMessageAnimation) UnmarshalJSON(b []byte) error + type InputMessageAudio struct + AlbumCoverThumbnail *InputThumbnail + Audio InputFile + Caption *FormattedText + Duration int32 + Performer string + Title string + func NewInputMessageAudio(audio InputFile, albumCoverThumbnail *InputThumbnail, duration int32, ...) *InputMessageAudio + func (inputMessageAudio *InputMessageAudio) GetInputMessageContentEnum() InputMessageContentEnum + func (inputMessageAudio *InputMessageAudio) MessageType() string + func (inputMessageAudio *InputMessageAudio) UnmarshalJSON(b []byte) error + type InputMessageContact struct + Contact *Contact + func NewInputMessageContact(contact *Contact) *InputMessageContact + func (inputMessageContact *InputMessageContact) GetInputMessageContentEnum() InputMessageContentEnum + func (inputMessageContact *InputMessageContact) MessageType() string + type InputMessageContent interface + GetInputMessageContentEnum func() InputMessageContentEnum + type InputMessageContentEnum string + const InputMessageAnimationType + const InputMessageAudioType + const InputMessageContactType + const InputMessageDiceType + const InputMessageDocumentType + const InputMessageForwardedType + const InputMessageGameType + const InputMessageInvoiceType + const InputMessageLocationType + const InputMessagePhotoType + const InputMessagePollType + const InputMessageStickerType + const InputMessageTextType + const InputMessageVenueType + const InputMessageVideoNoteType + const InputMessageVideoType + const InputMessageVoiceNoteType + type InputMessageDice struct + ClearDraft bool + Emoji string + func NewInputMessageDice(emoji string, clearDraft bool) *InputMessageDice + func (inputMessageDice *InputMessageDice) GetInputMessageContentEnum() InputMessageContentEnum + func (inputMessageDice *InputMessageDice) MessageType() string + type InputMessageDocument struct + Caption *FormattedText + DisableContentTypeDetection bool + Document InputFile + Thumbnail *InputThumbnail + func NewInputMessageDocument(document InputFile, thumbnail *InputThumbnail, ...) *InputMessageDocument + func (inputMessageDocument *InputMessageDocument) GetInputMessageContentEnum() InputMessageContentEnum + func (inputMessageDocument *InputMessageDocument) MessageType() string + func (inputMessageDocument *InputMessageDocument) UnmarshalJSON(b []byte) error + type InputMessageForwarded struct + CopyOptions *MessageCopyOptions + FromChatID int64 + InGameShare bool + MessageID int64 + func NewInputMessageForwarded(fromChatID int64, messageID int64, inGameShare bool, ...) *InputMessageForwarded + func (inputMessageForwarded *InputMessageForwarded) GetInputMessageContentEnum() InputMessageContentEnum + func (inputMessageForwarded *InputMessageForwarded) MessageType() string + type InputMessageGame struct + BotUserID int32 + GameShortName string + func NewInputMessageGame(botUserID int32, gameShortName string) *InputMessageGame + func (inputMessageGame *InputMessageGame) GetInputMessageContentEnum() InputMessageContentEnum + func (inputMessageGame *InputMessageGame) MessageType() string + type InputMessageInvoice struct + Description string + Invoice *Invoice + Payload []byte + PhotoHeight int32 + PhotoSize int32 + PhotoURL string + PhotoWidth int32 + ProviderData string + ProviderToken string + StartParameter string + Title string + func NewInputMessageInvoice(invoice *Invoice, title string, description string, photoURL string, ...) *InputMessageInvoice + func (inputMessageInvoice *InputMessageInvoice) GetInputMessageContentEnum() InputMessageContentEnum + func (inputMessageInvoice *InputMessageInvoice) MessageType() string + type InputMessageLocation struct + Heading int32 + LivePeriod int32 + Location *Location + ProximityAlertRadius int32 + func NewInputMessageLocation(location *Location, livePeriod int32, heading int32, ...) *InputMessageLocation + func (inputMessageLocation *InputMessageLocation) GetInputMessageContentEnum() InputMessageContentEnum + func (inputMessageLocation *InputMessageLocation) MessageType() string + type InputMessagePhoto struct + AddedStickerFileIDs []int32 + Caption *FormattedText + Height int32 + Photo InputFile + TTL int32 + Thumbnail *InputThumbnail + Width int32 + func NewInputMessagePhoto(photo InputFile, thumbnail *InputThumbnail, addedStickerFileIDs []int32, ...) *InputMessagePhoto + func (inputMessagePhoto *InputMessagePhoto) GetInputMessageContentEnum() InputMessageContentEnum + func (inputMessagePhoto *InputMessagePhoto) MessageType() string + func (inputMessagePhoto *InputMessagePhoto) UnmarshalJSON(b []byte) error + type InputMessagePoll struct + CloseDate int32 + IsAnonymous bool + IsClosed bool + OpenPeriod int32 + Options []string + Question string + Type PollType + func NewInputMessagePoll(question string, options []string, isAnonymous bool, typeParam PollType, ...) *InputMessagePoll + func (inputMessagePoll *InputMessagePoll) GetInputMessageContentEnum() InputMessageContentEnum + func (inputMessagePoll *InputMessagePoll) MessageType() string + func (inputMessagePoll *InputMessagePoll) UnmarshalJSON(b []byte) error + type InputMessageSticker struct + Emoji string + Height int32 + Sticker InputFile + Thumbnail *InputThumbnail + Width int32 + func NewInputMessageSticker(sticker InputFile, thumbnail *InputThumbnail, width int32, height int32, ...) *InputMessageSticker + func (inputMessageSticker *InputMessageSticker) GetInputMessageContentEnum() InputMessageContentEnum + func (inputMessageSticker *InputMessageSticker) MessageType() string + func (inputMessageSticker *InputMessageSticker) UnmarshalJSON(b []byte) error + type InputMessageText struct + ClearDraft bool + DisableWebPagePreview bool + Text *FormattedText + func NewInputMessageText(text *FormattedText, disableWebPagePreview bool, clearDraft bool) *InputMessageText + func (inputMessageText *InputMessageText) GetInputMessageContentEnum() InputMessageContentEnum + func (inputMessageText *InputMessageText) MessageType() string + type InputMessageVenue struct + Venue *Venue + func NewInputMessageVenue(venue *Venue) *InputMessageVenue + func (inputMessageVenue *InputMessageVenue) GetInputMessageContentEnum() InputMessageContentEnum + func (inputMessageVenue *InputMessageVenue) MessageType() string + type InputMessageVideo struct + AddedStickerFileIDs []int32 + Caption *FormattedText + Duration int32 + Height int32 + SupportsStreaming bool + TTL int32 + Thumbnail *InputThumbnail + Video InputFile + Width int32 + func NewInputMessageVideo(video InputFile, thumbnail *InputThumbnail, addedStickerFileIDs []int32, ...) *InputMessageVideo + func (inputMessageVideo *InputMessageVideo) GetInputMessageContentEnum() InputMessageContentEnum + func (inputMessageVideo *InputMessageVideo) MessageType() string + func (inputMessageVideo *InputMessageVideo) UnmarshalJSON(b []byte) error + type InputMessageVideoNote struct + Duration int32 + Length int32 + Thumbnail *InputThumbnail + VideoNote InputFile + func NewInputMessageVideoNote(videoNote InputFile, thumbnail *InputThumbnail, duration int32, length int32) *InputMessageVideoNote + func (inputMessageVideoNote *InputMessageVideoNote) GetInputMessageContentEnum() InputMessageContentEnum + func (inputMessageVideoNote *InputMessageVideoNote) MessageType() string + func (inputMessageVideoNote *InputMessageVideoNote) UnmarshalJSON(b []byte) error + type InputMessageVoiceNote struct + Caption *FormattedText + Duration int32 + VoiceNote InputFile + Waveform []byte + func NewInputMessageVoiceNote(voiceNote InputFile, duration int32, waveform []byte, caption *FormattedText) *InputMessageVoiceNote + func (inputMessageVoiceNote *InputMessageVoiceNote) GetInputMessageContentEnum() InputMessageContentEnum + func (inputMessageVoiceNote *InputMessageVoiceNote) MessageType() string + func (inputMessageVoiceNote *InputMessageVoiceNote) UnmarshalJSON(b []byte) error + type InputPassportElement interface + GetInputPassportElementEnum func() InputPassportElementEnum + type InputPassportElementAddress struct + Address *Address + func NewInputPassportElementAddress(address *Address) *InputPassportElementAddress + func (inputPassportElementAddress *InputPassportElementAddress) GetInputPassportElementEnum() InputPassportElementEnum + func (inputPassportElementAddress *InputPassportElementAddress) MessageType() string + type InputPassportElementBankStatement struct + BankStatement *InputPersonalDocument + func NewInputPassportElementBankStatement(bankStatement *InputPersonalDocument) *InputPassportElementBankStatement + func (inputPassportElementBankStatement *InputPassportElementBankStatement) GetInputPassportElementEnum() InputPassportElementEnum + func (inputPassportElementBankStatement *InputPassportElementBankStatement) MessageType() string + type InputPassportElementDriverLicense struct + DriverLicense *InputIDentityDocument + func NewInputPassportElementDriverLicense(driverLicense *InputIDentityDocument) *InputPassportElementDriverLicense + func (inputPassportElementDriverLicense *InputPassportElementDriverLicense) GetInputPassportElementEnum() InputPassportElementEnum + func (inputPassportElementDriverLicense *InputPassportElementDriverLicense) MessageType() string + type InputPassportElementEmailAddress struct + EmailAddress string + func NewInputPassportElementEmailAddress(emailAddress string) *InputPassportElementEmailAddress + func (inputPassportElementEmailAddress *InputPassportElementEmailAddress) GetInputPassportElementEnum() InputPassportElementEnum + func (inputPassportElementEmailAddress *InputPassportElementEmailAddress) MessageType() string + type InputPassportElementEnum string + const InputPassportElementAddressType + const InputPassportElementBankStatementType + const InputPassportElementDriverLicenseType + const InputPassportElementEmailAddressType + const InputPassportElementIDentityCardType + const InputPassportElementInternalPassportType + const InputPassportElementPassportRegistrationType + const InputPassportElementPassportType + const InputPassportElementPersonalDetailsType + const InputPassportElementPhoneNumberType + const InputPassportElementRentalAgreementType + const InputPassportElementTemporaryRegistrationType + const InputPassportElementUtilityBillType + type InputPassportElementError struct + Message string + Source InputPassportElementErrorSource + Type PassportElementType + func NewInputPassportElementError(typeParam PassportElementType, message string, ...) *InputPassportElementError + func (inputPassportElementError *InputPassportElementError) MessageType() string + func (inputPassportElementError *InputPassportElementError) UnmarshalJSON(b []byte) error + type InputPassportElementErrorSource interface + GetInputPassportElementErrorSourceEnum func() InputPassportElementErrorSourceEnum + type InputPassportElementErrorSourceDataField struct + DataHash []byte + FieldName string + func NewInputPassportElementErrorSourceDataField(fieldName string, dataHash []byte) *InputPassportElementErrorSourceDataField + func (inputPassportElementErrorSourceDataField *InputPassportElementErrorSourceDataField) GetInputPassportElementErrorSourceEnum() InputPassportElementErrorSourceEnum + func (inputPassportElementErrorSourceDataField *InputPassportElementErrorSourceDataField) MessageType() string + type InputPassportElementErrorSourceEnum string + const InputPassportElementErrorSourceDataFieldType + const InputPassportElementErrorSourceFileType + const InputPassportElementErrorSourceFilesType + const InputPassportElementErrorSourceFrontSideType + const InputPassportElementErrorSourceReverseSideType + const InputPassportElementErrorSourceSelfieType + const InputPassportElementErrorSourceTranslationFileType + const InputPassportElementErrorSourceTranslationFilesType + const InputPassportElementErrorSourceUnspecifiedType + type InputPassportElementErrorSourceFile struct + FileHash []byte + func NewInputPassportElementErrorSourceFile(fileHash []byte) *InputPassportElementErrorSourceFile + func (inputPassportElementErrorSourceFile *InputPassportElementErrorSourceFile) GetInputPassportElementErrorSourceEnum() InputPassportElementErrorSourceEnum + func (inputPassportElementErrorSourceFile *InputPassportElementErrorSourceFile) MessageType() string + type InputPassportElementErrorSourceFiles struct + FileHashes [][]byte + func NewInputPassportElementErrorSourceFiles(fileHashes [][]byte) *InputPassportElementErrorSourceFiles + func (inputPassportElementErrorSourceFiles *InputPassportElementErrorSourceFiles) GetInputPassportElementErrorSourceEnum() InputPassportElementErrorSourceEnum + func (inputPassportElementErrorSourceFiles *InputPassportElementErrorSourceFiles) MessageType() string + type InputPassportElementErrorSourceFrontSide struct + FileHash []byte + func NewInputPassportElementErrorSourceFrontSide(fileHash []byte) *InputPassportElementErrorSourceFrontSide + func (inputPassportElementErrorSourceFrontSide *InputPassportElementErrorSourceFrontSide) GetInputPassportElementErrorSourceEnum() InputPassportElementErrorSourceEnum + func (inputPassportElementErrorSourceFrontSide *InputPassportElementErrorSourceFrontSide) MessageType() string + type InputPassportElementErrorSourceReverseSide struct + FileHash []byte + func NewInputPassportElementErrorSourceReverseSide(fileHash []byte) *InputPassportElementErrorSourceReverseSide + func (inputPassportElementErrorSourceReverseSide *InputPassportElementErrorSourceReverseSide) GetInputPassportElementErrorSourceEnum() InputPassportElementErrorSourceEnum + func (inputPassportElementErrorSourceReverseSide *InputPassportElementErrorSourceReverseSide) MessageType() string + type InputPassportElementErrorSourceSelfie struct + FileHash []byte + func NewInputPassportElementErrorSourceSelfie(fileHash []byte) *InputPassportElementErrorSourceSelfie + func (inputPassportElementErrorSourceSelfie *InputPassportElementErrorSourceSelfie) GetInputPassportElementErrorSourceEnum() InputPassportElementErrorSourceEnum + func (inputPassportElementErrorSourceSelfie *InputPassportElementErrorSourceSelfie) MessageType() string + type InputPassportElementErrorSourceTranslationFile struct + FileHash []byte + func NewInputPassportElementErrorSourceTranslationFile(fileHash []byte) *InputPassportElementErrorSourceTranslationFile + func (inputPassportElementErrorSourceTranslationFile *InputPassportElementErrorSourceTranslationFile) GetInputPassportElementErrorSourceEnum() InputPassportElementErrorSourceEnum + func (inputPassportElementErrorSourceTranslationFile *InputPassportElementErrorSourceTranslationFile) MessageType() string + type InputPassportElementErrorSourceTranslationFiles struct + FileHashes [][]byte + func NewInputPassportElementErrorSourceTranslationFiles(fileHashes [][]byte) *InputPassportElementErrorSourceTranslationFiles + func (inputPassportElementErrorSourceTranslationFiles *InputPassportElementErrorSourceTranslationFiles) GetInputPassportElementErrorSourceEnum() InputPassportElementErrorSourceEnum + func (inputPassportElementErrorSourceTranslationFiles *InputPassportElementErrorSourceTranslationFiles) MessageType() string + type InputPassportElementErrorSourceUnspecified struct + ElementHash []byte + func NewInputPassportElementErrorSourceUnspecified(elementHash []byte) *InputPassportElementErrorSourceUnspecified + func (inputPassportElementErrorSourceUnspecified *InputPassportElementErrorSourceUnspecified) GetInputPassportElementErrorSourceEnum() InputPassportElementErrorSourceEnum + func (inputPassportElementErrorSourceUnspecified *InputPassportElementErrorSourceUnspecified) MessageType() string + type InputPassportElementIDentityCard struct + IDentityCard *InputIDentityDocument + func NewInputPassportElementIDentityCard(iDentityCard *InputIDentityDocument) *InputPassportElementIDentityCard + func (inputPassportElementIDentityCard *InputPassportElementIDentityCard) GetInputPassportElementEnum() InputPassportElementEnum + func (inputPassportElementIDentityCard *InputPassportElementIDentityCard) MessageType() string + type InputPassportElementInternalPassport struct + InternalPassport *InputIDentityDocument + func NewInputPassportElementInternalPassport(internalPassport *InputIDentityDocument) *InputPassportElementInternalPassport + func (inputPassportElementInternalPassport *InputPassportElementInternalPassport) GetInputPassportElementEnum() InputPassportElementEnum + func (inputPassportElementInternalPassport *InputPassportElementInternalPassport) MessageType() string + type InputPassportElementPassport struct + Passport *InputIDentityDocument + func NewInputPassportElementPassport(passport *InputIDentityDocument) *InputPassportElementPassport + func (inputPassportElementPassport *InputPassportElementPassport) GetInputPassportElementEnum() InputPassportElementEnum + func (inputPassportElementPassport *InputPassportElementPassport) MessageType() string + type InputPassportElementPassportRegistration struct + PassportRegistration *InputPersonalDocument + func NewInputPassportElementPassportRegistration(passportRegistration *InputPersonalDocument) *InputPassportElementPassportRegistration + func (inputPassportElementPassportRegistration *InputPassportElementPassportRegistration) GetInputPassportElementEnum() InputPassportElementEnum + func (inputPassportElementPassportRegistration *InputPassportElementPassportRegistration) MessageType() string + type InputPassportElementPersonalDetails struct + PersonalDetails *PersonalDetails + func NewInputPassportElementPersonalDetails(personalDetails *PersonalDetails) *InputPassportElementPersonalDetails + func (inputPassportElementPersonalDetails *InputPassportElementPersonalDetails) GetInputPassportElementEnum() InputPassportElementEnum + func (inputPassportElementPersonalDetails *InputPassportElementPersonalDetails) MessageType() string + type InputPassportElementPhoneNumber struct + PhoneNumber string + func NewInputPassportElementPhoneNumber(phoneNumber string) *InputPassportElementPhoneNumber + func (inputPassportElementPhoneNumber *InputPassportElementPhoneNumber) GetInputPassportElementEnum() InputPassportElementEnum + func (inputPassportElementPhoneNumber *InputPassportElementPhoneNumber) MessageType() string + type InputPassportElementRentalAgreement struct + RentalAgreement *InputPersonalDocument + func NewInputPassportElementRentalAgreement(rentalAgreement *InputPersonalDocument) *InputPassportElementRentalAgreement + func (inputPassportElementRentalAgreement *InputPassportElementRentalAgreement) GetInputPassportElementEnum() InputPassportElementEnum + func (inputPassportElementRentalAgreement *InputPassportElementRentalAgreement) MessageType() string + type InputPassportElementTemporaryRegistration struct + TemporaryRegistration *InputPersonalDocument + func NewInputPassportElementTemporaryRegistration(temporaryRegistration *InputPersonalDocument) *InputPassportElementTemporaryRegistration + func (inputPassportElementTemporaryRegistration *InputPassportElementTemporaryRegistration) GetInputPassportElementEnum() InputPassportElementEnum + func (inputPassportElementTemporaryRegistration *InputPassportElementTemporaryRegistration) MessageType() string + type InputPassportElementUtilityBill struct + UtilityBill *InputPersonalDocument + func NewInputPassportElementUtilityBill(utilityBill *InputPersonalDocument) *InputPassportElementUtilityBill + func (inputPassportElementUtilityBill *InputPassportElementUtilityBill) GetInputPassportElementEnum() InputPassportElementEnum + func (inputPassportElementUtilityBill *InputPassportElementUtilityBill) MessageType() string + type InputPersonalDocument struct + Files []InputFile + Translation []InputFile + func NewInputPersonalDocument(files []InputFile, translation []InputFile) *InputPersonalDocument + func (inputPersonalDocument *InputPersonalDocument) MessageType() string + type InputSticker interface + GetInputStickerEnum func() InputStickerEnum + type InputStickerAnimated struct + Emojis string + Sticker InputFile + func NewInputStickerAnimated(sticker InputFile, emojis string) *InputStickerAnimated + func (inputStickerAnimated *InputStickerAnimated) GetInputStickerEnum() InputStickerEnum + func (inputStickerAnimated *InputStickerAnimated) MessageType() string + func (inputStickerAnimated *InputStickerAnimated) UnmarshalJSON(b []byte) error + type InputStickerEnum string + const InputStickerAnimatedType + const InputStickerStaticType + type InputStickerStatic struct + Emojis string + MaskPosition *MaskPosition + Sticker InputFile + func NewInputStickerStatic(sticker InputFile, emojis string, maskPosition *MaskPosition) *InputStickerStatic + func (inputStickerStatic *InputStickerStatic) GetInputStickerEnum() InputStickerEnum + func (inputStickerStatic *InputStickerStatic) MessageType() string + func (inputStickerStatic *InputStickerStatic) UnmarshalJSON(b []byte) error + type InputThumbnail struct + Height int32 + Thumbnail InputFile + Width int32 + func NewInputThumbnail(thumbnail InputFile, width int32, height int32) *InputThumbnail + func (inputThumbnail *InputThumbnail) MessageType() string + func (inputThumbnail *InputThumbnail) UnmarshalJSON(b []byte) error + type Invoice struct + Currency string + IsFlexible bool + IsTest bool + NeedEmailAddress bool + NeedName bool + NeedPhoneNumber bool + NeedShippingAddress bool + PriceParts []LabeledPricePart + SendEmailAddressToProvider bool + SendPhoneNumberToProvider bool + func NewInvoice(currency string, priceParts []LabeledPricePart, isTest bool, needName bool, ...) *Invoice + func (invoice *Invoice) MessageType() string + type JSONInt64 int64 + func (jsonInt *JSONInt64) MarshalJSON() ([]byte, error) + func (jsonInt *JSONInt64) UnmarshalJSON(b []byte) error + type JsonObjectMember struct + Key string + Value JsonValue + func NewJsonObjectMember(key string, value JsonValue) *JsonObjectMember + func (jsonObjectMember *JsonObjectMember) MessageType() string + func (jsonObjectMember *JsonObjectMember) UnmarshalJSON(b []byte) error + type JsonValue interface + GetJsonValueEnum func() JsonValueEnum + type JsonValueArray struct + Values []JsonValue + func NewJsonValueArray(values []JsonValue) *JsonValueArray + func (jsonValueArray *JsonValueArray) GetJsonValueEnum() JsonValueEnum + func (jsonValueArray *JsonValueArray) MessageType() string + type JsonValueBoolean struct + Value bool + func NewJsonValueBoolean(value bool) *JsonValueBoolean + func (jsonValueBoolean *JsonValueBoolean) GetJsonValueEnum() JsonValueEnum + func (jsonValueBoolean *JsonValueBoolean) MessageType() string + type JsonValueEnum string + const JsonValueArrayType + const JsonValueBooleanType + const JsonValueNullType + const JsonValueNumberType + const JsonValueObjectType + const JsonValueStringType + type JsonValueNull struct + func NewJsonValueNull() *JsonValueNull + func (jsonValueNull *JsonValueNull) GetJsonValueEnum() JsonValueEnum + func (jsonValueNull *JsonValueNull) MessageType() string + type JsonValueNumber struct + Value float64 + func NewJsonValueNumber(value float64) *JsonValueNumber + func (jsonValueNumber *JsonValueNumber) GetJsonValueEnum() JsonValueEnum + func (jsonValueNumber *JsonValueNumber) MessageType() string + type JsonValueObject struct + Members []JsonObjectMember + func NewJsonValueObject(members []JsonObjectMember) *JsonValueObject + func (jsonValueObject *JsonValueObject) GetJsonValueEnum() JsonValueEnum + func (jsonValueObject *JsonValueObject) MessageType() string + type JsonValueString struct + Value string + func NewJsonValueString(value string) *JsonValueString + func (jsonValueString *JsonValueString) GetJsonValueEnum() JsonValueEnum + func (jsonValueString *JsonValueString) MessageType() string + type KeyboardButton struct + Text string + Type KeyboardButtonType + func NewKeyboardButton(text string, typeParam KeyboardButtonType) *KeyboardButton + func (keyboardButton *KeyboardButton) MessageType() string + func (keyboardButton *KeyboardButton) UnmarshalJSON(b []byte) error + type KeyboardButtonType interface + GetKeyboardButtonTypeEnum func() KeyboardButtonTypeEnum + type KeyboardButtonTypeEnum string + const KeyboardButtonTypeRequestLocationType + const KeyboardButtonTypeRequestPhoneNumberType + const KeyboardButtonTypeRequestPollType + const KeyboardButtonTypeTextType + type KeyboardButtonTypeRequestLocation struct + func NewKeyboardButtonTypeRequestLocation() *KeyboardButtonTypeRequestLocation + func (keyboardButtonTypeRequestLocation *KeyboardButtonTypeRequestLocation) GetKeyboardButtonTypeEnum() KeyboardButtonTypeEnum + func (keyboardButtonTypeRequestLocation *KeyboardButtonTypeRequestLocation) MessageType() string + type KeyboardButtonTypeRequestPhoneNumber struct + func NewKeyboardButtonTypeRequestPhoneNumber() *KeyboardButtonTypeRequestPhoneNumber + func (keyboardButtonTypeRequestPhoneNumber *KeyboardButtonTypeRequestPhoneNumber) GetKeyboardButtonTypeEnum() KeyboardButtonTypeEnum + func (keyboardButtonTypeRequestPhoneNumber *KeyboardButtonTypeRequestPhoneNumber) MessageType() string + type KeyboardButtonTypeRequestPoll struct + ForceQuiz bool + ForceRegular bool + func NewKeyboardButtonTypeRequestPoll(forceRegular bool, forceQuiz bool) *KeyboardButtonTypeRequestPoll + func (keyboardButtonTypeRequestPoll *KeyboardButtonTypeRequestPoll) GetKeyboardButtonTypeEnum() KeyboardButtonTypeEnum + func (keyboardButtonTypeRequestPoll *KeyboardButtonTypeRequestPoll) MessageType() string + type KeyboardButtonTypeText struct + func NewKeyboardButtonTypeText() *KeyboardButtonTypeText + func (keyboardButtonTypeText *KeyboardButtonTypeText) GetKeyboardButtonTypeEnum() KeyboardButtonTypeEnum + func (keyboardButtonTypeText *KeyboardButtonTypeText) MessageType() string + type LabeledPricePart struct + Amount int64 + Label string + func NewLabeledPricePart(label string, amount int64) *LabeledPricePart + func (labeledPricePart *LabeledPricePart) MessageType() string + type LanguagePackInfo struct + BaseLanguagePackID string + ID string + IsBeta bool + IsInstalled bool + IsOfficial bool + IsRtl bool + LocalStringCount int32 + Name string + NativeName string + PluralCode string + TotalStringCount int32 + TranslatedStringCount int32 + TranslationURL string + func NewLanguagePackInfo(iD string, baseLanguagePackID string, name string, nativeName string, ...) *LanguagePackInfo + func (languagePackInfo *LanguagePackInfo) MessageType() string + type LanguagePackString struct + Key string + Value LanguagePackStringValue + func NewLanguagePackString(key string, value LanguagePackStringValue) *LanguagePackString + func (languagePackString *LanguagePackString) MessageType() string + func (languagePackString *LanguagePackString) UnmarshalJSON(b []byte) error + type LanguagePackStringValue interface + GetLanguagePackStringValueEnum func() LanguagePackStringValueEnum + type LanguagePackStringValueDeleted struct + func NewLanguagePackStringValueDeleted() *LanguagePackStringValueDeleted + func (languagePackStringValueDeleted *LanguagePackStringValueDeleted) GetLanguagePackStringValueEnum() LanguagePackStringValueEnum + func (languagePackStringValueDeleted *LanguagePackStringValueDeleted) MessageType() string + type LanguagePackStringValueEnum string + const LanguagePackStringValueDeletedType + const LanguagePackStringValueOrdinaryType + const LanguagePackStringValuePluralizedType + type LanguagePackStringValueOrdinary struct + Value string + func NewLanguagePackStringValueOrdinary(value string) *LanguagePackStringValueOrdinary + func (languagePackStringValueOrdinary *LanguagePackStringValueOrdinary) GetLanguagePackStringValueEnum() LanguagePackStringValueEnum + func (languagePackStringValueOrdinary *LanguagePackStringValueOrdinary) MessageType() string + type LanguagePackStringValuePluralized struct + FewValue string + ManyValue string + OneValue string + OtherValue string + TwoValue string + ZeroValue string + func NewLanguagePackStringValuePluralized(zeroValue string, oneValue string, twoValue string, fewValue string, ...) *LanguagePackStringValuePluralized + func (languagePackStringValuePluralized *LanguagePackStringValuePluralized) GetLanguagePackStringValueEnum() LanguagePackStringValueEnum + func (languagePackStringValuePluralized *LanguagePackStringValuePluralized) MessageType() string + type LanguagePackStrings struct + Strings []LanguagePackString + func NewLanguagePackStrings(strings []LanguagePackString) *LanguagePackStrings + func (languagePackStrings *LanguagePackStrings) MessageType() string + type LocalFile struct + CanBeDeleted bool + CanBeDownloaded bool + DownloadOffset int32 + DownloadedPrefixSize int32 + DownloadedSize int32 + IsDownloadingActive bool + IsDownloadingCompleted bool + Path string + func NewLocalFile(path string, canBeDownloaded bool, canBeDeleted bool, isDownloadingActive bool, ...) *LocalFile + func (localFile *LocalFile) MessageType() string + type LocalizationTargetInfo struct + LanguagePacks []LanguagePackInfo + func NewLocalizationTargetInfo(languagePacks []LanguagePackInfo) *LocalizationTargetInfo + func (localizationTargetInfo *LocalizationTargetInfo) MessageType() string + type Location struct + HorizontalAccuracy float64 + Latitude float64 + Longitude float64 + func NewLocation(latitude float64, longitude float64, horizontalAccuracy float64) *Location + func (location *Location) MessageType() string + type LogStream interface + GetLogStreamEnum func() LogStreamEnum + type LogStreamDefault struct + func NewLogStreamDefault() *LogStreamDefault + func (logStreamDefault *LogStreamDefault) GetLogStreamEnum() LogStreamEnum + func (logStreamDefault *LogStreamDefault) MessageType() string + type LogStreamEmpty struct + func NewLogStreamEmpty() *LogStreamEmpty + func (logStreamEmpty *LogStreamEmpty) GetLogStreamEnum() LogStreamEnum + func (logStreamEmpty *LogStreamEmpty) MessageType() string + type LogStreamEnum string + const LogStreamDefaultType + const LogStreamEmptyType + const LogStreamFileType + type LogStreamFile struct + MaxFileSize int64 + Path string + RedirectStderr bool + func NewLogStreamFile(path string, maxFileSize int64, redirectStderr bool) *LogStreamFile + func (logStreamFile *LogStreamFile) GetLogStreamEnum() LogStreamEnum + func (logStreamFile *LogStreamFile) MessageType() string + type LogTags struct + Tags []string + func NewLogTags(tags []string) *LogTags + func (logTags *LogTags) MessageType() string + type LogVerbosityLevel struct + VerbosityLevel int32 + func NewLogVerbosityLevel(verbosityLevel int32) *LogVerbosityLevel + func (logVerbosityLevel *LogVerbosityLevel) MessageType() string + type LoginURLInfo interface + GetLoginURLInfoEnum func() LoginURLInfoEnum + type LoginURLInfoEnum string + const LoginURLInfoOpenType + const LoginURLInfoRequestConfirmationType + type LoginURLInfoOpen struct + SkipConfirm bool + URL string + func NewLoginURLInfoOpen(uRL string, skipConfirm bool) *LoginURLInfoOpen + func (loginURLInfoOpen *LoginURLInfoOpen) GetLoginURLInfoEnum() LoginURLInfoEnum + func (loginURLInfoOpen *LoginURLInfoOpen) MessageType() string + type LoginURLInfoRequestConfirmation struct + BotUserID int32 + Domain string + RequestWriteAccess bool + URL string + func NewLoginURLInfoRequestConfirmation(uRL string, domain string, botUserID int32, requestWriteAccess bool) *LoginURLInfoRequestConfirmation + func (loginURLInfoRequestConfirmation *LoginURLInfoRequestConfirmation) GetLoginURLInfoEnum() LoginURLInfoEnum + func (loginURLInfoRequestConfirmation *LoginURLInfoRequestConfirmation) MessageType() string + type MaskPoint interface + GetMaskPointEnum func() MaskPointEnum + type MaskPointChin struct + func NewMaskPointChin() *MaskPointChin + func (maskPointChin *MaskPointChin) GetMaskPointEnum() MaskPointEnum + func (maskPointChin *MaskPointChin) MessageType() string + type MaskPointEnum string + const MaskPointChinType + const MaskPointEyesType + const MaskPointForeheadType + const MaskPointMouthType + type MaskPointEyes struct + func NewMaskPointEyes() *MaskPointEyes + func (maskPointEyes *MaskPointEyes) GetMaskPointEnum() MaskPointEnum + func (maskPointEyes *MaskPointEyes) MessageType() string + type MaskPointForehead struct + func NewMaskPointForehead() *MaskPointForehead + func (maskPointForehead *MaskPointForehead) GetMaskPointEnum() MaskPointEnum + func (maskPointForehead *MaskPointForehead) MessageType() string + type MaskPointMouth struct + func NewMaskPointMouth() *MaskPointMouth + func (maskPointMouth *MaskPointMouth) GetMaskPointEnum() MaskPointEnum + func (maskPointMouth *MaskPointMouth) MessageType() string + type MaskPosition struct + Point MaskPoint + Scale float64 + XShift float64 + YShift float64 + func NewMaskPosition(point MaskPoint, xShift float64, yShift float64, scale float64) *MaskPosition + func (maskPosition *MaskPosition) MessageType() string + func (maskPosition *MaskPosition) UnmarshalJSON(b []byte) error + type Message struct + AuthorSignature string + CanBeDeletedForAllUsers bool + CanBeDeletedOnlyForSelf bool + CanBeEdited bool + CanBeForwarded bool + CanGetMessageThread bool + CanGetStatistics bool + ChatID int64 + ContainsUnreadMention bool + Content MessageContent + Date int32 + EditDate int32 + ForwardInfo *MessageForwardInfo + ID int64 + InteractionInfo *MessageInteractionInfo + IsChannelPost bool + IsOutgoing bool + IsPinned bool + MediaAlbumID JSONInt64 + MessageThreadID int64 + ReplyInChatID int64 + ReplyMarkup ReplyMarkup + ReplyToMessageID int64 + RestrictionReason string + SchedulingState MessageSchedulingState + Sender MessageSender + SendingState MessageSendingState + TTL int32 + TTLExpiresIn float64 + ViaBotUserID int32 + func NewMessage(iD int64, sender MessageSender, chatID int64, sendingState MessageSendingState, ...) *Message + func (message *Message) MessageType() string + func (message *Message) UnmarshalJSON(b []byte) error + type MessageAnimation struct + Animation *Animation + Caption *FormattedText + IsSecret bool + func NewMessageAnimation(animation *Animation, caption *FormattedText, isSecret bool) *MessageAnimation + func (messageAnimation *MessageAnimation) GetMessageContentEnum() MessageContentEnum + func (messageAnimation *MessageAnimation) MessageType() string + type MessageAudio struct + Audio *Audio + Caption *FormattedText + func NewMessageAudio(audio *Audio, caption *FormattedText) *MessageAudio + func (messageAudio *MessageAudio) GetMessageContentEnum() MessageContentEnum + func (messageAudio *MessageAudio) MessageType() string + type MessageBasicGroupChatCreate struct + MemberUserIDs []int32 + Title string + func NewMessageBasicGroupChatCreate(title string, memberUserIDs []int32) *MessageBasicGroupChatCreate + func (messageBasicGroupChatCreate *MessageBasicGroupChatCreate) GetMessageContentEnum() MessageContentEnum + func (messageBasicGroupChatCreate *MessageBasicGroupChatCreate) MessageType() string + type MessageCall struct + DiscardReason CallDiscardReason + Duration int32 + IsVideo bool + func NewMessageCall(isVideo bool, discardReason CallDiscardReason, duration int32) *MessageCall + func (messageCall *MessageCall) GetMessageContentEnum() MessageContentEnum + func (messageCall *MessageCall) MessageType() string + func (messageCall *MessageCall) UnmarshalJSON(b []byte) error + type MessageChatAddMembers struct + MemberUserIDs []int32 + func NewMessageChatAddMembers(memberUserIDs []int32) *MessageChatAddMembers + func (messageChatAddMembers *MessageChatAddMembers) GetMessageContentEnum() MessageContentEnum + func (messageChatAddMembers *MessageChatAddMembers) MessageType() string + type MessageChatChangePhoto struct + Photo *ChatPhoto + func NewMessageChatChangePhoto(photo *ChatPhoto) *MessageChatChangePhoto + func (messageChatChangePhoto *MessageChatChangePhoto) GetMessageContentEnum() MessageContentEnum + func (messageChatChangePhoto *MessageChatChangePhoto) MessageType() string + type MessageChatChangeTitle struct + Title string + func NewMessageChatChangeTitle(title string) *MessageChatChangeTitle + func (messageChatChangeTitle *MessageChatChangeTitle) GetMessageContentEnum() MessageContentEnum + func (messageChatChangeTitle *MessageChatChangeTitle) MessageType() string + type MessageChatDeleteMember struct + UserID int32 + func NewMessageChatDeleteMember(userID int32) *MessageChatDeleteMember + func (messageChatDeleteMember *MessageChatDeleteMember) GetMessageContentEnum() MessageContentEnum + func (messageChatDeleteMember *MessageChatDeleteMember) MessageType() string + type MessageChatDeletePhoto struct + func NewMessageChatDeletePhoto() *MessageChatDeletePhoto + func (messageChatDeletePhoto *MessageChatDeletePhoto) GetMessageContentEnum() MessageContentEnum + func (messageChatDeletePhoto *MessageChatDeletePhoto) MessageType() string + type MessageChatJoinByLink struct + func NewMessageChatJoinByLink() *MessageChatJoinByLink + func (messageChatJoinByLink *MessageChatJoinByLink) GetMessageContentEnum() MessageContentEnum + func (messageChatJoinByLink *MessageChatJoinByLink) MessageType() string + type MessageChatSetTTL struct + TTL int32 + func NewMessageChatSetTTL(tTL int32) *MessageChatSetTTL + func (messageChatSetTTL *MessageChatSetTTL) GetMessageContentEnum() MessageContentEnum + func (messageChatSetTTL *MessageChatSetTTL) MessageType() string + type MessageChatUpgradeFrom struct + BasicGroupID int32 + Title string + func NewMessageChatUpgradeFrom(title string, basicGroupID int32) *MessageChatUpgradeFrom + func (messageChatUpgradeFrom *MessageChatUpgradeFrom) GetMessageContentEnum() MessageContentEnum + func (messageChatUpgradeFrom *MessageChatUpgradeFrom) MessageType() string + type MessageChatUpgradeTo struct + SupergroupID int32 + func NewMessageChatUpgradeTo(supergroupID int32) *MessageChatUpgradeTo + func (messageChatUpgradeTo *MessageChatUpgradeTo) GetMessageContentEnum() MessageContentEnum + func (messageChatUpgradeTo *MessageChatUpgradeTo) MessageType() string + type MessageContact struct + Contact *Contact + func NewMessageContact(contact *Contact) *MessageContact + func (messageContact *MessageContact) GetMessageContentEnum() MessageContentEnum + func (messageContact *MessageContact) MessageType() string + type MessageContactRegistered struct + func NewMessageContactRegistered() *MessageContactRegistered + func (messageContactRegistered *MessageContactRegistered) GetMessageContentEnum() MessageContentEnum + func (messageContactRegistered *MessageContactRegistered) MessageType() string + type MessageContent interface + GetMessageContentEnum func() MessageContentEnum + type MessageContentEnum string + const MessageAnimationType + const MessageAudioType + const MessageBasicGroupChatCreateType + const MessageCallType + const MessageChatAddMembersType + const MessageChatChangePhotoType + const MessageChatChangeTitleType + const MessageChatDeleteMemberType + const MessageChatDeletePhotoType + const MessageChatJoinByLinkType + const MessageChatSetTTLType + const MessageChatUpgradeFromType + const MessageChatUpgradeToType + const MessageContactRegisteredType + const MessageContactType + const MessageCustomServiceActionType + const MessageDiceType + const MessageDocumentType + const MessageExpiredPhotoType + const MessageExpiredVideoType + const MessageGameScoreType + const MessageGameType + const MessageInviteVoiceChatParticipantsType + const MessageInvoiceType + const MessageLocationType + const MessagePassportDataReceivedType + const MessagePassportDataSentType + const MessagePaymentSuccessfulBotType + const MessagePaymentSuccessfulType + const MessagePhotoType + const MessagePinMessageType + const MessagePollType + const MessageProximityAlertTriggeredType + const MessageScreenshotTakenType + const MessageStickerType + const MessageSupergroupChatCreateType + const MessageTextType + const MessageUnsupportedType + const MessageVenueType + const MessageVideoNoteType + const MessageVideoType + const MessageVoiceChatEndedType + const MessageVoiceChatStartedType + const MessageVoiceNoteType + const MessageWebsiteConnectedType + type MessageCopyOptions struct + NewCaption *FormattedText + ReplaceCaption bool + SendCopy bool + func NewMessageCopyOptions(sendCopy bool, replaceCaption bool, newCaption *FormattedText) *MessageCopyOptions + func (messageCopyOptions *MessageCopyOptions) MessageType() string + type MessageCustomServiceAction struct + Text string + func NewMessageCustomServiceAction(text string) *MessageCustomServiceAction + func (messageCustomServiceAction *MessageCustomServiceAction) GetMessageContentEnum() MessageContentEnum + func (messageCustomServiceAction *MessageCustomServiceAction) MessageType() string + type MessageDice struct + Emoji string + FinalState DiceStickers + InitialState DiceStickers + SuccessAnimationFrameNumber int32 + Value int32 + func NewMessageDice(initialState DiceStickers, finalState DiceStickers, emoji string, value int32, ...) *MessageDice + func (messageDice *MessageDice) GetMessageContentEnum() MessageContentEnum + func (messageDice *MessageDice) MessageType() string + func (messageDice *MessageDice) UnmarshalJSON(b []byte) error + type MessageDocument struct + Caption *FormattedText + Document *Document + func NewMessageDocument(document *Document, caption *FormattedText) *MessageDocument + func (messageDocument *MessageDocument) GetMessageContentEnum() MessageContentEnum + func (messageDocument *MessageDocument) MessageType() string + type MessageExpiredPhoto struct + func NewMessageExpiredPhoto() *MessageExpiredPhoto + func (messageExpiredPhoto *MessageExpiredPhoto) GetMessageContentEnum() MessageContentEnum + func (messageExpiredPhoto *MessageExpiredPhoto) MessageType() string + type MessageExpiredVideo struct + func NewMessageExpiredVideo() *MessageExpiredVideo + func (messageExpiredVideo *MessageExpiredVideo) GetMessageContentEnum() MessageContentEnum + func (messageExpiredVideo *MessageExpiredVideo) MessageType() string + type MessageFileType interface + GetMessageFileTypeEnum func() MessageFileTypeEnum + type MessageFileTypeEnum string + const MessageFileTypeGroupType + const MessageFileTypePrivateType + const MessageFileTypeUnknownType + type MessageFileTypeGroup struct + Title string + func NewMessageFileTypeGroup(title string) *MessageFileTypeGroup + func (messageFileTypeGroup *MessageFileTypeGroup) GetMessageFileTypeEnum() MessageFileTypeEnum + func (messageFileTypeGroup *MessageFileTypeGroup) MessageType() string + type MessageFileTypePrivate struct + Name string + func NewMessageFileTypePrivate(name string) *MessageFileTypePrivate + func (messageFileTypePrivate *MessageFileTypePrivate) GetMessageFileTypeEnum() MessageFileTypeEnum + func (messageFileTypePrivate *MessageFileTypePrivate) MessageType() string + type MessageFileTypeUnknown struct + func NewMessageFileTypeUnknown() *MessageFileTypeUnknown + func (messageFileTypeUnknown *MessageFileTypeUnknown) GetMessageFileTypeEnum() MessageFileTypeEnum + func (messageFileTypeUnknown *MessageFileTypeUnknown) MessageType() string + type MessageForwardInfo struct + Date int32 + FromChatID int64 + FromMessageID int64 + Origin MessageForwardOrigin + PublicServiceAnnouncementType string + func NewMessageForwardInfo(origin MessageForwardOrigin, date int32, publicServiceAnnouncementType string, ...) *MessageForwardInfo + func (messageForwardInfo *MessageForwardInfo) MessageType() string + func (messageForwardInfo *MessageForwardInfo) UnmarshalJSON(b []byte) error + type MessageForwardOrigin interface + GetMessageForwardOriginEnum func() MessageForwardOriginEnum + type MessageForwardOriginChannel struct + AuthorSignature string + ChatID int64 + MessageID int64 + func NewMessageForwardOriginChannel(chatID int64, messageID int64, authorSignature string) *MessageForwardOriginChannel + func (messageForwardOriginChannel *MessageForwardOriginChannel) GetMessageForwardOriginEnum() MessageForwardOriginEnum + func (messageForwardOriginChannel *MessageForwardOriginChannel) MessageType() string + type MessageForwardOriginChat struct + AuthorSignature string + SenderChatID int64 + func NewMessageForwardOriginChat(senderChatID int64, authorSignature string) *MessageForwardOriginChat + func (messageForwardOriginChat *MessageForwardOriginChat) GetMessageForwardOriginEnum() MessageForwardOriginEnum + func (messageForwardOriginChat *MessageForwardOriginChat) MessageType() string + type MessageForwardOriginEnum string + const MessageForwardOriginChannelType + const MessageForwardOriginChatType + const MessageForwardOriginHiddenUserType + const MessageForwardOriginMessageImportType + const MessageForwardOriginUserType + type MessageForwardOriginHiddenUser struct + SenderName string + func NewMessageForwardOriginHiddenUser(senderName string) *MessageForwardOriginHiddenUser + func (messageForwardOriginHiddenUser *MessageForwardOriginHiddenUser) GetMessageForwardOriginEnum() MessageForwardOriginEnum + func (messageForwardOriginHiddenUser *MessageForwardOriginHiddenUser) MessageType() string + type MessageForwardOriginMessageImport struct + SenderName string + func NewMessageForwardOriginMessageImport(senderName string) *MessageForwardOriginMessageImport + func (messageForwardOriginMessageImport *MessageForwardOriginMessageImport) GetMessageForwardOriginEnum() MessageForwardOriginEnum + func (messageForwardOriginMessageImport *MessageForwardOriginMessageImport) MessageType() string + type MessageForwardOriginUser struct + SenderUserID int32 + func NewMessageForwardOriginUser(senderUserID int32) *MessageForwardOriginUser + func (messageForwardOriginUser *MessageForwardOriginUser) GetMessageForwardOriginEnum() MessageForwardOriginEnum + func (messageForwardOriginUser *MessageForwardOriginUser) MessageType() string + type MessageGame struct + Game *Game + func NewMessageGame(game *Game) *MessageGame + func (messageGame *MessageGame) GetMessageContentEnum() MessageContentEnum + func (messageGame *MessageGame) MessageType() string + type MessageGameScore struct + GameID JSONInt64 + GameMessageID int64 + Score int32 + func NewMessageGameScore(gameMessageID int64, gameID JSONInt64, score int32) *MessageGameScore + func (messageGameScore *MessageGameScore) GetMessageContentEnum() MessageContentEnum + func (messageGameScore *MessageGameScore) MessageType() string + type MessageInteractionInfo struct + ForwardCount int32 + ReplyInfo *MessageReplyInfo + ViewCount int32 + func NewMessageInteractionInfo(viewCount int32, forwardCount int32, replyInfo *MessageReplyInfo) *MessageInteractionInfo + func (messageInteractionInfo *MessageInteractionInfo) MessageType() string + type MessageInviteVoiceChatParticipants struct + GroupCallID int32 + UserIDs []int32 + func NewMessageInviteVoiceChatParticipants(groupCallID int32, userIDs []int32) *MessageInviteVoiceChatParticipants + func (messageInviteVoiceChatParticipants *MessageInviteVoiceChatParticipants) GetMessageContentEnum() MessageContentEnum + func (messageInviteVoiceChatParticipants *MessageInviteVoiceChatParticipants) MessageType() string + type MessageInvoice struct + Currency string + Description string + IsTest bool + NeedShippingAddress bool + Photo *Photo + ReceiptMessageID int64 + StartParameter string + Title string + TotalAmount int64 + func NewMessageInvoice(title string, description string, photo *Photo, currency string, ...) *MessageInvoice + func (messageInvoice *MessageInvoice) GetMessageContentEnum() MessageContentEnum + func (messageInvoice *MessageInvoice) MessageType() string + type MessageLink struct + IsPublic bool + Link string + func NewMessageLink(link string, isPublic bool) *MessageLink + func (messageLink *MessageLink) MessageType() string + type MessageLinkInfo struct + ChatID int64 + ForAlbum bool + ForComment bool + IsPublic bool + Message *Message + func NewMessageLinkInfo(isPublic bool, chatID int64, message *Message, forAlbum bool, forComment bool) *MessageLinkInfo + func (messageLinkInfo *MessageLinkInfo) MessageType() string + type MessageLocation struct + ExpiresIn int32 + Heading int32 + LivePeriod int32 + Location *Location + ProximityAlertRadius int32 + func NewMessageLocation(location *Location, livePeriod int32, expiresIn int32, heading int32, ...) *MessageLocation + func (messageLocation *MessageLocation) GetMessageContentEnum() MessageContentEnum + func (messageLocation *MessageLocation) MessageType() string + type MessagePassportDataReceived struct + Credentials *EncryptedCredentials + Elements []EncryptedPassportElement + func NewMessagePassportDataReceived(elements []EncryptedPassportElement, credentials *EncryptedCredentials) *MessagePassportDataReceived + func (messagePassportDataReceived *MessagePassportDataReceived) GetMessageContentEnum() MessageContentEnum + func (messagePassportDataReceived *MessagePassportDataReceived) MessageType() string + type MessagePassportDataSent struct + Types []PassportElementType + func NewMessagePassportDataSent(typeParams []PassportElementType) *MessagePassportDataSent + func (messagePassportDataSent *MessagePassportDataSent) GetMessageContentEnum() MessageContentEnum + func (messagePassportDataSent *MessagePassportDataSent) MessageType() string + type MessagePaymentSuccessful struct + Currency string + InvoiceMessageID int64 + TotalAmount int64 + func NewMessagePaymentSuccessful(invoiceMessageID int64, currency string, totalAmount int64) *MessagePaymentSuccessful + func (messagePaymentSuccessful *MessagePaymentSuccessful) GetMessageContentEnum() MessageContentEnum + func (messagePaymentSuccessful *MessagePaymentSuccessful) MessageType() string + type MessagePaymentSuccessfulBot struct + Currency string + InvoiceMessageID int64 + InvoicePayload []byte + OrderInfo *OrderInfo + ProviderPaymentChargeID string + ShippingOptionID string + TelegramPaymentChargeID string + TotalAmount int64 + func NewMessagePaymentSuccessfulBot(invoiceMessageID int64, currency string, totalAmount int64, ...) *MessagePaymentSuccessfulBot + func (messagePaymentSuccessfulBot *MessagePaymentSuccessfulBot) GetMessageContentEnum() MessageContentEnum + func (messagePaymentSuccessfulBot *MessagePaymentSuccessfulBot) MessageType() string + type MessagePhoto struct + Caption *FormattedText + IsSecret bool + Photo *Photo + func NewMessagePhoto(photo *Photo, caption *FormattedText, isSecret bool) *MessagePhoto + func (messagePhoto *MessagePhoto) GetMessageContentEnum() MessageContentEnum + func (messagePhoto *MessagePhoto) MessageType() string + type MessagePinMessage struct + MessageID int64 + func NewMessagePinMessage(messageID int64) *MessagePinMessage + func (messagePinMessage *MessagePinMessage) GetMessageContentEnum() MessageContentEnum + func (messagePinMessage *MessagePinMessage) MessageType() string + type MessagePoll struct + Poll *Poll + func NewMessagePoll(poll *Poll) *MessagePoll + func (messagePoll *MessagePoll) GetMessageContentEnum() MessageContentEnum + func (messagePoll *MessagePoll) MessageType() string + type MessageProximityAlertTriggered struct + Distance int32 + Traveler MessageSender + Watcher MessageSender + func NewMessageProximityAlertTriggered(traveler MessageSender, watcher MessageSender, distance int32) *MessageProximityAlertTriggered + func (messageProximityAlertTriggered *MessageProximityAlertTriggered) GetMessageContentEnum() MessageContentEnum + func (messageProximityAlertTriggered *MessageProximityAlertTriggered) MessageType() string + func (messageProximityAlertTriggered *MessageProximityAlertTriggered) UnmarshalJSON(b []byte) error + type MessageReplyInfo struct + LastMessageID int64 + LastReadInboxMessageID int64 + LastReadOutboxMessageID int64 + RecentRepliers []MessageSender + ReplyCount int32 + func NewMessageReplyInfo(replyCount int32, recentRepliers []MessageSender, lastReadInboxMessageID int64, ...) *MessageReplyInfo + func (messageReplyInfo *MessageReplyInfo) MessageType() string + func (messageReplyInfo *MessageReplyInfo) UnmarshalJSON(data []byte) error + type MessageSchedulingState interface + GetMessageSchedulingStateEnum func() MessageSchedulingStateEnum + type MessageSchedulingStateEnum string + const MessageSchedulingStateSendAtDateType + const MessageSchedulingStateSendWhenOnlineType + type MessageSchedulingStateSendAtDate struct + SendDate int32 + func NewMessageSchedulingStateSendAtDate(sendDate int32) *MessageSchedulingStateSendAtDate + func (messageSchedulingStateSendAtDate *MessageSchedulingStateSendAtDate) GetMessageSchedulingStateEnum() MessageSchedulingStateEnum + func (messageSchedulingStateSendAtDate *MessageSchedulingStateSendAtDate) MessageType() string + type MessageSchedulingStateSendWhenOnline struct + func NewMessageSchedulingStateSendWhenOnline() *MessageSchedulingStateSendWhenOnline + func (messageSchedulingStateSendWhenOnline *MessageSchedulingStateSendWhenOnline) GetMessageSchedulingStateEnum() MessageSchedulingStateEnum + func (messageSchedulingStateSendWhenOnline *MessageSchedulingStateSendWhenOnline) MessageType() string + type MessageScreenshotTaken struct + func NewMessageScreenshotTaken() *MessageScreenshotTaken + func (messageScreenshotTaken *MessageScreenshotTaken) GetMessageContentEnum() MessageContentEnum + func (messageScreenshotTaken *MessageScreenshotTaken) MessageType() string + type MessageSendOptions struct + DisableNotification bool + FromBackground bool + SchedulingState MessageSchedulingState + func NewMessageSendOptions(disableNotification bool, fromBackground bool, ...) *MessageSendOptions + func (messageSendOptions *MessageSendOptions) MessageType() string + func (messageSendOptions *MessageSendOptions) UnmarshalJSON(b []byte) error + type MessageSender interface + GetMessageSenderEnum func() MessageSenderEnum + type MessageSenderChat struct + ChatID int64 + func NewMessageSenderChat(chatID int64) *MessageSenderChat + func (messageSenderChat *MessageSenderChat) GetMessageSenderEnum() MessageSenderEnum + func (messageSenderChat *MessageSenderChat) MessageType() string + type MessageSenderEnum string + const MessageSenderChatType + const MessageSenderUserType + type MessageSenderUser struct + UserID int64 + func NewMessageSenderUser(userID int64) *MessageSenderUser + func (messageSenderUser *MessageSenderUser) GetMessageSenderEnum() MessageSenderEnum + func (messageSenderUser *MessageSenderUser) MessageType() string + type MessageSenders struct + Senders []MessageSender + TotalCount int32 + func NewMessageSenders(totalCount int32, senders []MessageSender) *MessageSenders + func (messageSenders *MessageSenders) MessageType() string + type MessageSendingState interface + GetMessageSendingStateEnum func() MessageSendingStateEnum + type MessageSendingStateEnum string + const MessageSendingStateFailedType + const MessageSendingStatePendingType + type MessageSendingStateFailed struct + CanRetry bool + ErrorCode int32 + ErrorMessage string + RetryAfter float64 + func NewMessageSendingStateFailed(errorCode int32, errorMessage string, canRetry bool, retryAfter float64) *MessageSendingStateFailed + func (messageSendingStateFailed *MessageSendingStateFailed) GetMessageSendingStateEnum() MessageSendingStateEnum + func (messageSendingStateFailed *MessageSendingStateFailed) MessageType() string + type MessageSendingStatePending struct + func NewMessageSendingStatePending() *MessageSendingStatePending + func (messageSendingStatePending *MessageSendingStatePending) GetMessageSendingStateEnum() MessageSendingStateEnum + func (messageSendingStatePending *MessageSendingStatePending) MessageType() string + type MessageStatistics struct + MessageInteractionGraph StatisticalGraph + func NewMessageStatistics(messageInteractionGraph StatisticalGraph) *MessageStatistics + func (messageStatistics *MessageStatistics) MessageType() string + func (messageStatistics *MessageStatistics) UnmarshalJSON(b []byte) error + type MessageSticker struct + Sticker *Sticker + func NewMessageSticker(sticker *Sticker) *MessageSticker + func (messageSticker *MessageSticker) GetMessageContentEnum() MessageContentEnum + func (messageSticker *MessageSticker) MessageType() string + type MessageSupergroupChatCreate struct + Title string + func NewMessageSupergroupChatCreate(title string) *MessageSupergroupChatCreate + func (messageSupergroupChatCreate *MessageSupergroupChatCreate) GetMessageContentEnum() MessageContentEnum + func (messageSupergroupChatCreate *MessageSupergroupChatCreate) MessageType() string + type MessageText struct + Text *FormattedText + WebPage *WebPage + func NewMessageText(text *FormattedText, webPage *WebPage) *MessageText + func (messageText *MessageText) GetMessageContentEnum() MessageContentEnum + func (messageText *MessageText) MessageType() string + type MessageThreadInfo struct + ChatID int64 + DraftMessage *DraftMessage + MessageThreadID int64 + Messages []Message + ReplyInfo *MessageReplyInfo + func NewMessageThreadInfo(chatID int64, messageThreadID int64, replyInfo *MessageReplyInfo, ...) *MessageThreadInfo + func (messageThreadInfo *MessageThreadInfo) MessageType() string + type MessageUnsupported struct + func NewMessageUnsupported() *MessageUnsupported + func (messageUnsupported *MessageUnsupported) GetMessageContentEnum() MessageContentEnum + func (messageUnsupported *MessageUnsupported) MessageType() string + type MessageVenue struct + Venue *Venue + func NewMessageVenue(venue *Venue) *MessageVenue + func (messageVenue *MessageVenue) GetMessageContentEnum() MessageContentEnum + func (messageVenue *MessageVenue) MessageType() string + type MessageVideo struct + Caption *FormattedText + IsSecret bool + Video *Video + func NewMessageVideo(video *Video, caption *FormattedText, isSecret bool) *MessageVideo + func (messageVideo *MessageVideo) GetMessageContentEnum() MessageContentEnum + func (messageVideo *MessageVideo) MessageType() string + type MessageVideoNote struct + IsSecret bool + IsViewed bool + VideoNote *VideoNote + func NewMessageVideoNote(videoNote *VideoNote, isViewed bool, isSecret bool) *MessageVideoNote + func (messageVideoNote *MessageVideoNote) GetMessageContentEnum() MessageContentEnum + func (messageVideoNote *MessageVideoNote) MessageType() string + type MessageVoiceChatEnded struct + Duration int32 + func NewMessageVoiceChatEnded(duration int32) *MessageVoiceChatEnded + func (messageVoiceChatEnded *MessageVoiceChatEnded) GetMessageContentEnum() MessageContentEnum + func (messageVoiceChatEnded *MessageVoiceChatEnded) MessageType() string + type MessageVoiceChatStarted struct + GroupCallID int32 + func NewMessageVoiceChatStarted(groupCallID int32) *MessageVoiceChatStarted + func (messageVoiceChatStarted *MessageVoiceChatStarted) GetMessageContentEnum() MessageContentEnum + func (messageVoiceChatStarted *MessageVoiceChatStarted) MessageType() string + type MessageVoiceNote struct + Caption *FormattedText + IsListened bool + VoiceNote *VoiceNote + func NewMessageVoiceNote(voiceNote *VoiceNote, caption *FormattedText, isListened bool) *MessageVoiceNote + func (messageVoiceNote *MessageVoiceNote) GetMessageContentEnum() MessageContentEnum + func (messageVoiceNote *MessageVoiceNote) MessageType() string + type MessageWebsiteConnected struct + DomainName string + func NewMessageWebsiteConnected(domainName string) *MessageWebsiteConnected + func (messageWebsiteConnected *MessageWebsiteConnected) GetMessageContentEnum() MessageContentEnum + func (messageWebsiteConnected *MessageWebsiteConnected) MessageType() string + type Messages struct + Messages []Message + TotalCount int32 + func NewMessages(totalCount int32, messages []Message) *Messages + func (messages *Messages) MessageType() string + type Minithumbnail struct + Data []byte + Height int32 + Width int32 + func NewMinithumbnail(width int32, height int32, data []byte) *Minithumbnail + func (minithumbnail *Minithumbnail) MessageType() string + type NetworkStatistics struct + Entries []NetworkStatisticsEntry + SinceDate int32 + func NewNetworkStatistics(sinceDate int32, entries []NetworkStatisticsEntry) *NetworkStatistics + func (networkStatistics *NetworkStatistics) MessageType() string + type NetworkStatisticsEntry interface + GetNetworkStatisticsEntryEnum func() NetworkStatisticsEntryEnum + type NetworkStatisticsEntryCall struct + Duration float64 + NetworkType NetworkType + ReceivedBytes int64 + SentBytes int64 + func NewNetworkStatisticsEntryCall(networkType NetworkType, sentBytes int64, receivedBytes int64, ...) *NetworkStatisticsEntryCall + func (networkStatisticsEntryCall *NetworkStatisticsEntryCall) GetNetworkStatisticsEntryEnum() NetworkStatisticsEntryEnum + func (networkStatisticsEntryCall *NetworkStatisticsEntryCall) MessageType() string + func (networkStatisticsEntryCall *NetworkStatisticsEntryCall) UnmarshalJSON(b []byte) error + type NetworkStatisticsEntryEnum string + const NetworkStatisticsEntryCallType + const NetworkStatisticsEntryFileType + type NetworkStatisticsEntryFile struct + FileType FileType + NetworkType NetworkType + ReceivedBytes int64 + SentBytes int64 + func NewNetworkStatisticsEntryFile(fileType FileType, networkType NetworkType, sentBytes int64, ...) *NetworkStatisticsEntryFile + func (networkStatisticsEntryFile *NetworkStatisticsEntryFile) GetNetworkStatisticsEntryEnum() NetworkStatisticsEntryEnum + func (networkStatisticsEntryFile *NetworkStatisticsEntryFile) MessageType() string + func (networkStatisticsEntryFile *NetworkStatisticsEntryFile) UnmarshalJSON(b []byte) error + type NetworkType interface + GetNetworkTypeEnum func() NetworkTypeEnum + type NetworkTypeEnum string + const NetworkTypeMobileRoamingType + const NetworkTypeMobileType + const NetworkTypeNoneType + const NetworkTypeOtherType + const NetworkTypeWiFiType + type NetworkTypeMobile struct + func NewNetworkTypeMobile() *NetworkTypeMobile + func (networkTypeMobile *NetworkTypeMobile) GetNetworkTypeEnum() NetworkTypeEnum + func (networkTypeMobile *NetworkTypeMobile) MessageType() string + type NetworkTypeMobileRoaming struct + func NewNetworkTypeMobileRoaming() *NetworkTypeMobileRoaming + func (networkTypeMobileRoaming *NetworkTypeMobileRoaming) GetNetworkTypeEnum() NetworkTypeEnum + func (networkTypeMobileRoaming *NetworkTypeMobileRoaming) MessageType() string + type NetworkTypeNone struct + func NewNetworkTypeNone() *NetworkTypeNone + func (networkTypeNone *NetworkTypeNone) GetNetworkTypeEnum() NetworkTypeEnum + func (networkTypeNone *NetworkTypeNone) MessageType() string + type NetworkTypeOther struct + func NewNetworkTypeOther() *NetworkTypeOther + func (networkTypeOther *NetworkTypeOther) GetNetworkTypeEnum() NetworkTypeEnum + func (networkTypeOther *NetworkTypeOther) MessageType() string + type NetworkTypeWiFi struct + func NewNetworkTypeWiFi() *NetworkTypeWiFi + func (networkTypeWiFi *NetworkTypeWiFi) GetNetworkTypeEnum() NetworkTypeEnum + func (networkTypeWiFi *NetworkTypeWiFi) MessageType() string + type Notification struct + Date int32 + ID int32 + IsSilent bool + Type NotificationType + func NewNotification(iD int32, date int32, isSilent bool, typeParam NotificationType) *Notification + func (notification *Notification) MessageType() string + func (notification *Notification) UnmarshalJSON(b []byte) error + type NotificationGroup struct + ChatID int64 + ID int32 + Notifications []Notification + TotalCount int32 + Type NotificationGroupType + func NewNotificationGroup(iD int32, typeParam NotificationGroupType, chatID int64, totalCount int32, ...) *NotificationGroup + func (notificationGroup *NotificationGroup) MessageType() string + func (notificationGroup *NotificationGroup) UnmarshalJSON(b []byte) error + type NotificationGroupType interface + GetNotificationGroupTypeEnum func() NotificationGroupTypeEnum + type NotificationGroupTypeCalls struct + func NewNotificationGroupTypeCalls() *NotificationGroupTypeCalls + func (notificationGroupTypeCalls *NotificationGroupTypeCalls) GetNotificationGroupTypeEnum() NotificationGroupTypeEnum + func (notificationGroupTypeCalls *NotificationGroupTypeCalls) MessageType() string + type NotificationGroupTypeEnum string + const NotificationGroupTypeCallsType + const NotificationGroupTypeMentionsType + const NotificationGroupTypeMessagesType + const NotificationGroupTypeSecretChatType + type NotificationGroupTypeMentions struct + func NewNotificationGroupTypeMentions() *NotificationGroupTypeMentions + func (notificationGroupTypeMentions *NotificationGroupTypeMentions) GetNotificationGroupTypeEnum() NotificationGroupTypeEnum + func (notificationGroupTypeMentions *NotificationGroupTypeMentions) MessageType() string + type NotificationGroupTypeMessages struct + func NewNotificationGroupTypeMessages() *NotificationGroupTypeMessages + func (notificationGroupTypeMessages *NotificationGroupTypeMessages) GetNotificationGroupTypeEnum() NotificationGroupTypeEnum + func (notificationGroupTypeMessages *NotificationGroupTypeMessages) MessageType() string + type NotificationGroupTypeSecretChat struct + func NewNotificationGroupTypeSecretChat() *NotificationGroupTypeSecretChat + func (notificationGroupTypeSecretChat *NotificationGroupTypeSecretChat) GetNotificationGroupTypeEnum() NotificationGroupTypeEnum + func (notificationGroupTypeSecretChat *NotificationGroupTypeSecretChat) MessageType() string + type NotificationSettingsScope interface + GetNotificationSettingsScopeEnum func() NotificationSettingsScopeEnum + type NotificationSettingsScopeChannelChats struct + func NewNotificationSettingsScopeChannelChats() *NotificationSettingsScopeChannelChats + func (notificationSettingsScopeChannelChats *NotificationSettingsScopeChannelChats) GetNotificationSettingsScopeEnum() NotificationSettingsScopeEnum + func (notificationSettingsScopeChannelChats *NotificationSettingsScopeChannelChats) MessageType() string + type NotificationSettingsScopeEnum string + const NotificationSettingsScopeChannelChatsType + const NotificationSettingsScopeGroupChatsType + const NotificationSettingsScopePrivateChatsType + type NotificationSettingsScopeGroupChats struct + func NewNotificationSettingsScopeGroupChats() *NotificationSettingsScopeGroupChats + func (notificationSettingsScopeGroupChats *NotificationSettingsScopeGroupChats) GetNotificationSettingsScopeEnum() NotificationSettingsScopeEnum + func (notificationSettingsScopeGroupChats *NotificationSettingsScopeGroupChats) MessageType() string + type NotificationSettingsScopePrivateChats struct + func NewNotificationSettingsScopePrivateChats() *NotificationSettingsScopePrivateChats + func (notificationSettingsScopePrivateChats *NotificationSettingsScopePrivateChats) GetNotificationSettingsScopeEnum() NotificationSettingsScopeEnum + func (notificationSettingsScopePrivateChats *NotificationSettingsScopePrivateChats) MessageType() string + type NotificationType interface + GetNotificationTypeEnum func() NotificationTypeEnum + type NotificationTypeEnum string + const NotificationTypeNewCallType + const NotificationTypeNewMessageType + const NotificationTypeNewPushMessageType + const NotificationTypeNewSecretChatType + type NotificationTypeNewCall struct + CallID int32 + func NewNotificationTypeNewCall(callID int32) *NotificationTypeNewCall + func (notificationTypeNewCall *NotificationTypeNewCall) GetNotificationTypeEnum() NotificationTypeEnum + func (notificationTypeNewCall *NotificationTypeNewCall) MessageType() string + type NotificationTypeNewMessage struct + Message *Message + func NewNotificationTypeNewMessage(message *Message) *NotificationTypeNewMessage + func (notificationTypeNewMessage *NotificationTypeNewMessage) GetNotificationTypeEnum() NotificationTypeEnum + func (notificationTypeNewMessage *NotificationTypeNewMessage) MessageType() string + type NotificationTypeNewPushMessage struct + Content PushMessageContent + IsOutgoing bool + MessageID int64 + Sender MessageSender + SenderName string + func NewNotificationTypeNewPushMessage(messageID int64, sender MessageSender, senderName string, isOutgoing bool, ...) *NotificationTypeNewPushMessage + func (notificationTypeNewPushMessage *NotificationTypeNewPushMessage) GetNotificationTypeEnum() NotificationTypeEnum + func (notificationTypeNewPushMessage *NotificationTypeNewPushMessage) MessageType() string + func (notificationTypeNewPushMessage *NotificationTypeNewPushMessage) UnmarshalJSON(b []byte) error + type NotificationTypeNewSecretChat struct + func NewNotificationTypeNewSecretChat() *NotificationTypeNewSecretChat + func (notificationTypeNewSecretChat *NotificationTypeNewSecretChat) GetNotificationTypeEnum() NotificationTypeEnum + func (notificationTypeNewSecretChat *NotificationTypeNewSecretChat) MessageType() string + type Ok struct + func NewOk() *Ok + func (ok *Ok) MessageType() string + type OptionValue interface + GetOptionValueEnum func() OptionValueEnum + type OptionValueBoolean struct + Value bool + func NewOptionValueBoolean(value bool) *OptionValueBoolean + func (optionValueBoolean *OptionValueBoolean) GetOptionValueEnum() OptionValueEnum + func (optionValueBoolean *OptionValueBoolean) MessageType() string + type OptionValueEmpty struct + func NewOptionValueEmpty() *OptionValueEmpty + func (optionValueEmpty *OptionValueEmpty) GetOptionValueEnum() OptionValueEnum + func (optionValueEmpty *OptionValueEmpty) MessageType() string + type OptionValueEnum string + const OptionValueBooleanType + const OptionValueEmptyType + const OptionValueIntegerType + const OptionValueStringType + type OptionValueInteger struct + Value JSONInt64 + func NewOptionValueInteger(value JSONInt64) *OptionValueInteger + func (optionValueInteger *OptionValueInteger) GetOptionValueEnum() OptionValueEnum + func (optionValueInteger *OptionValueInteger) MessageType() string + type OptionValueString struct + Value string + func NewOptionValueString(value string) *OptionValueString + func (optionValueString *OptionValueString) GetOptionValueEnum() OptionValueEnum + func (optionValueString *OptionValueString) MessageType() string + type OrderInfo struct + EmailAddress string + Name string + PhoneNumber string + ShippingAddress *Address + func NewOrderInfo(name string, phoneNumber string, emailAddress string, shippingAddress *Address) *OrderInfo + func (orderInfo *OrderInfo) MessageType() string + type PageBlock interface + GetPageBlockEnum func() PageBlockEnum + type PageBlockAnchor struct + Name string + func NewPageBlockAnchor(name string) *PageBlockAnchor + func (pageBlockAnchor *PageBlockAnchor) GetPageBlockEnum() PageBlockEnum + func (pageBlockAnchor *PageBlockAnchor) MessageType() string + type PageBlockAnimation struct + Animation *Animation + Caption *PageBlockCaption + NeedAutoplay bool + func NewPageBlockAnimation(animation *Animation, caption *PageBlockCaption, needAutoplay bool) *PageBlockAnimation + func (pageBlockAnimation *PageBlockAnimation) GetPageBlockEnum() PageBlockEnum + func (pageBlockAnimation *PageBlockAnimation) MessageType() string + type PageBlockAudio struct + Audio *Audio + Caption *PageBlockCaption + func NewPageBlockAudio(audio *Audio, caption *PageBlockCaption) *PageBlockAudio + func (pageBlockAudio *PageBlockAudio) GetPageBlockEnum() PageBlockEnum + func (pageBlockAudio *PageBlockAudio) MessageType() string + type PageBlockAuthorDate struct + Author RichText + PublishDate int32 + func NewPageBlockAuthorDate(author RichText, publishDate int32) *PageBlockAuthorDate + func (pageBlockAuthorDate *PageBlockAuthorDate) GetPageBlockEnum() PageBlockEnum + func (pageBlockAuthorDate *PageBlockAuthorDate) MessageType() string + func (pageBlockAuthorDate *PageBlockAuthorDate) UnmarshalJSON(b []byte) error + type PageBlockBlockQuote struct + Credit RichText + Text RichText + func NewPageBlockBlockQuote(text RichText, credit RichText) *PageBlockBlockQuote + func (pageBlockBlockQuote *PageBlockBlockQuote) GetPageBlockEnum() PageBlockEnum + func (pageBlockBlockQuote *PageBlockBlockQuote) MessageType() string + func (pageBlockBlockQuote *PageBlockBlockQuote) UnmarshalJSON(b []byte) error + type PageBlockCaption struct + Credit RichText + Text RichText + func NewPageBlockCaption(text RichText, credit RichText) *PageBlockCaption + func (pageBlockCaption *PageBlockCaption) MessageType() string + func (pageBlockCaption *PageBlockCaption) UnmarshalJSON(b []byte) error + type PageBlockChatLink struct + Photo *ChatPhotoInfo + Title string + Username string + func NewPageBlockChatLink(title string, photo *ChatPhotoInfo, username string) *PageBlockChatLink + func (pageBlockChatLink *PageBlockChatLink) GetPageBlockEnum() PageBlockEnum + func (pageBlockChatLink *PageBlockChatLink) MessageType() string + type PageBlockCollage struct + Caption *PageBlockCaption + PageBlocks []PageBlock + func NewPageBlockCollage(pageBlocks []PageBlock, caption *PageBlockCaption) *PageBlockCollage + func (pageBlockCollage *PageBlockCollage) GetPageBlockEnum() PageBlockEnum + func (pageBlockCollage *PageBlockCollage) MessageType() string + type PageBlockCover struct + Cover PageBlock + func NewPageBlockCover(cover PageBlock) *PageBlockCover + func (pageBlockCover *PageBlockCover) GetPageBlockEnum() PageBlockEnum + func (pageBlockCover *PageBlockCover) MessageType() string + func (pageBlockCover *PageBlockCover) UnmarshalJSON(b []byte) error + type PageBlockDetails struct + Header RichText + IsOpen bool + PageBlocks []PageBlock + func NewPageBlockDetails(header RichText, pageBlocks []PageBlock, isOpen bool) *PageBlockDetails + func (pageBlockDetails *PageBlockDetails) GetPageBlockEnum() PageBlockEnum + func (pageBlockDetails *PageBlockDetails) MessageType() string + func (pageBlockDetails *PageBlockDetails) UnmarshalJSON(b []byte) error + type PageBlockDivider struct + func NewPageBlockDivider() *PageBlockDivider + func (pageBlockDivider *PageBlockDivider) GetPageBlockEnum() PageBlockEnum + func (pageBlockDivider *PageBlockDivider) MessageType() string + type PageBlockEmbedded struct + AllowScrolling bool + Caption *PageBlockCaption + HTML string + Height int32 + IsFullWidth bool + PosterPhoto *Photo + URL string + Width int32 + func NewPageBlockEmbedded(uRL string, hTML string, posterPhoto *Photo, width int32, height int32, ...) *PageBlockEmbedded + func (pageBlockEmbedded *PageBlockEmbedded) GetPageBlockEnum() PageBlockEnum + func (pageBlockEmbedded *PageBlockEmbedded) MessageType() string + type PageBlockEmbeddedPost struct + Author string + AuthorPhoto *Photo + Caption *PageBlockCaption + Date int32 + PageBlocks []PageBlock + URL string + func NewPageBlockEmbeddedPost(uRL string, author string, authorPhoto *Photo, date int32, ...) *PageBlockEmbeddedPost + func (pageBlockEmbeddedPost *PageBlockEmbeddedPost) GetPageBlockEnum() PageBlockEnum + func (pageBlockEmbeddedPost *PageBlockEmbeddedPost) MessageType() string + type PageBlockEnum string + const PageBlockAnchorType + const PageBlockAnimationType + const PageBlockAudioType + const PageBlockAuthorDateType + const PageBlockBlockQuoteType + const PageBlockChatLinkType + const PageBlockCollageType + const PageBlockCoverType + const PageBlockDetailsType + const PageBlockDividerType + const PageBlockEmbeddedPostType + const PageBlockEmbeddedType + const PageBlockFooterType + const PageBlockHeaderType + const PageBlockKickerType + const PageBlockListType + const PageBlockMapType + const PageBlockParagraphType + const PageBlockPhotoType + const PageBlockPreformattedType + const PageBlockPullQuoteType + const PageBlockRelatedArticlesType + const PageBlockSlideshowType + const PageBlockSubheaderType + const PageBlockSubtitleType + const PageBlockTableType + const PageBlockTitleType + const PageBlockVideoType + const PageBlockVoiceNoteType + type PageBlockFooter struct + Footer RichText + func NewPageBlockFooter(footer RichText) *PageBlockFooter + func (pageBlockFooter *PageBlockFooter) GetPageBlockEnum() PageBlockEnum + func (pageBlockFooter *PageBlockFooter) MessageType() string + func (pageBlockFooter *PageBlockFooter) UnmarshalJSON(b []byte) error + type PageBlockHeader struct + Header RichText + func NewPageBlockHeader(header RichText) *PageBlockHeader + func (pageBlockHeader *PageBlockHeader) GetPageBlockEnum() PageBlockEnum + func (pageBlockHeader *PageBlockHeader) MessageType() string + func (pageBlockHeader *PageBlockHeader) UnmarshalJSON(b []byte) error + type PageBlockHorizontalAlignment interface + GetPageBlockHorizontalAlignmentEnum func() PageBlockHorizontalAlignmentEnum + type PageBlockHorizontalAlignmentCenter struct + func NewPageBlockHorizontalAlignmentCenter() *PageBlockHorizontalAlignmentCenter + func (pageBlockHorizontalAlignmentCenter *PageBlockHorizontalAlignmentCenter) GetPageBlockHorizontalAlignmentEnum() PageBlockHorizontalAlignmentEnum + func (pageBlockHorizontalAlignmentCenter *PageBlockHorizontalAlignmentCenter) MessageType() string + type PageBlockHorizontalAlignmentEnum string + const PageBlockHorizontalAlignmentCenterType + const PageBlockHorizontalAlignmentLeftType + const PageBlockHorizontalAlignmentRightType + type PageBlockHorizontalAlignmentLeft struct + func NewPageBlockHorizontalAlignmentLeft() *PageBlockHorizontalAlignmentLeft + func (pageBlockHorizontalAlignmentLeft *PageBlockHorizontalAlignmentLeft) GetPageBlockHorizontalAlignmentEnum() PageBlockHorizontalAlignmentEnum + func (pageBlockHorizontalAlignmentLeft *PageBlockHorizontalAlignmentLeft) MessageType() string + type PageBlockHorizontalAlignmentRight struct + func NewPageBlockHorizontalAlignmentRight() *PageBlockHorizontalAlignmentRight + func (pageBlockHorizontalAlignmentRight *PageBlockHorizontalAlignmentRight) GetPageBlockHorizontalAlignmentEnum() PageBlockHorizontalAlignmentEnum + func (pageBlockHorizontalAlignmentRight *PageBlockHorizontalAlignmentRight) MessageType() string + type PageBlockKicker struct + Kicker RichText + func NewPageBlockKicker(kicker RichText) *PageBlockKicker + func (pageBlockKicker *PageBlockKicker) GetPageBlockEnum() PageBlockEnum + func (pageBlockKicker *PageBlockKicker) MessageType() string + func (pageBlockKicker *PageBlockKicker) UnmarshalJSON(b []byte) error + type PageBlockList struct + Items []PageBlockListItem + func NewPageBlockList(items []PageBlockListItem) *PageBlockList + func (pageBlockList *PageBlockList) GetPageBlockEnum() PageBlockEnum + func (pageBlockList *PageBlockList) MessageType() string + type PageBlockListItem struct + Label string + PageBlocks []PageBlock + func NewPageBlockListItem(label string, pageBlocks []PageBlock) *PageBlockListItem + func (pageBlockListItem *PageBlockListItem) MessageType() string + type PageBlockMap struct + Caption *PageBlockCaption + Height int32 + Location *Location + Width int32 + Zoom int32 + func NewPageBlockMap(location *Location, zoom int32, width int32, height int32, ...) *PageBlockMap + func (pageBlockMap *PageBlockMap) GetPageBlockEnum() PageBlockEnum + func (pageBlockMap *PageBlockMap) MessageType() string + type PageBlockParagraph struct + Text RichText + func NewPageBlockParagraph(text RichText) *PageBlockParagraph + func (pageBlockParagraph *PageBlockParagraph) GetPageBlockEnum() PageBlockEnum + func (pageBlockParagraph *PageBlockParagraph) MessageType() string + func (pageBlockParagraph *PageBlockParagraph) UnmarshalJSON(b []byte) error + type PageBlockPhoto struct + Caption *PageBlockCaption + Photo *Photo + URL string + func NewPageBlockPhoto(photo *Photo, caption *PageBlockCaption, uRL string) *PageBlockPhoto + func (pageBlockPhoto *PageBlockPhoto) GetPageBlockEnum() PageBlockEnum + func (pageBlockPhoto *PageBlockPhoto) MessageType() string + type PageBlockPreformatted struct + Language string + Text RichText + func NewPageBlockPreformatted(text RichText, language string) *PageBlockPreformatted + func (pageBlockPreformatted *PageBlockPreformatted) GetPageBlockEnum() PageBlockEnum + func (pageBlockPreformatted *PageBlockPreformatted) MessageType() string + func (pageBlockPreformatted *PageBlockPreformatted) UnmarshalJSON(b []byte) error + type PageBlockPullQuote struct + Credit RichText + Text RichText + func NewPageBlockPullQuote(text RichText, credit RichText) *PageBlockPullQuote + func (pageBlockPullQuote *PageBlockPullQuote) GetPageBlockEnum() PageBlockEnum + func (pageBlockPullQuote *PageBlockPullQuote) MessageType() string + func (pageBlockPullQuote *PageBlockPullQuote) UnmarshalJSON(b []byte) error + type PageBlockRelatedArticle struct + Author string + Description string + Photo *Photo + PublishDate int32 + Title string + URL string + func NewPageBlockRelatedArticle(uRL string, title string, description string, photo *Photo, author string, ...) *PageBlockRelatedArticle + func (pageBlockRelatedArticle *PageBlockRelatedArticle) MessageType() string + type PageBlockRelatedArticles struct + Articles []PageBlockRelatedArticle + Header RichText + func NewPageBlockRelatedArticles(header RichText, articles []PageBlockRelatedArticle) *PageBlockRelatedArticles + func (pageBlockRelatedArticles *PageBlockRelatedArticles) GetPageBlockEnum() PageBlockEnum + func (pageBlockRelatedArticles *PageBlockRelatedArticles) MessageType() string + func (pageBlockRelatedArticles *PageBlockRelatedArticles) UnmarshalJSON(b []byte) error + type PageBlockSlideshow struct + Caption *PageBlockCaption + PageBlocks []PageBlock + func NewPageBlockSlideshow(pageBlocks []PageBlock, caption *PageBlockCaption) *PageBlockSlideshow + func (pageBlockSlideshow *PageBlockSlideshow) GetPageBlockEnum() PageBlockEnum + func (pageBlockSlideshow *PageBlockSlideshow) MessageType() string + type PageBlockSubheader struct + Subheader RichText + func NewPageBlockSubheader(subheader RichText) *PageBlockSubheader + func (pageBlockSubheader *PageBlockSubheader) GetPageBlockEnum() PageBlockEnum + func (pageBlockSubheader *PageBlockSubheader) MessageType() string + func (pageBlockSubheader *PageBlockSubheader) UnmarshalJSON(b []byte) error + type PageBlockSubtitle struct + Subtitle RichText + func NewPageBlockSubtitle(subtitle RichText) *PageBlockSubtitle + func (pageBlockSubtitle *PageBlockSubtitle) GetPageBlockEnum() PageBlockEnum + func (pageBlockSubtitle *PageBlockSubtitle) MessageType() string + func (pageBlockSubtitle *PageBlockSubtitle) UnmarshalJSON(b []byte) error + type PageBlockTable struct + Caption RichText + Cells [][]PageBlockTableCell + IsBordered bool + IsStriped bool + func NewPageBlockTable(caption RichText, cells [][]PageBlockTableCell, isBordered bool, ...) *PageBlockTable + func (pageBlockTable *PageBlockTable) GetPageBlockEnum() PageBlockEnum + func (pageBlockTable *PageBlockTable) MessageType() string + func (pageBlockTable *PageBlockTable) UnmarshalJSON(b []byte) error + type PageBlockTableCell struct + Align PageBlockHorizontalAlignment + Colspan int32 + IsHeader bool + Rowspan int32 + Text RichText + Valign PageBlockVerticalAlignment + func NewPageBlockTableCell(text RichText, isHeader bool, colspan int32, rowspan int32, ...) *PageBlockTableCell + func (pageBlockTableCell *PageBlockTableCell) MessageType() string + func (pageBlockTableCell *PageBlockTableCell) UnmarshalJSON(b []byte) error + type PageBlockTitle struct + Title RichText + func NewPageBlockTitle(title RichText) *PageBlockTitle + func (pageBlockTitle *PageBlockTitle) GetPageBlockEnum() PageBlockEnum + func (pageBlockTitle *PageBlockTitle) MessageType() string + func (pageBlockTitle *PageBlockTitle) UnmarshalJSON(b []byte) error + type PageBlockVerticalAlignment interface + GetPageBlockVerticalAlignmentEnum func() PageBlockVerticalAlignmentEnum + type PageBlockVerticalAlignmentBottom struct + func NewPageBlockVerticalAlignmentBottom() *PageBlockVerticalAlignmentBottom + func (pageBlockVerticalAlignmentBottom *PageBlockVerticalAlignmentBottom) GetPageBlockVerticalAlignmentEnum() PageBlockVerticalAlignmentEnum + func (pageBlockVerticalAlignmentBottom *PageBlockVerticalAlignmentBottom) MessageType() string + type PageBlockVerticalAlignmentEnum string + const PageBlockVerticalAlignmentBottomType + const PageBlockVerticalAlignmentMiddleType + const PageBlockVerticalAlignmentTopType + type PageBlockVerticalAlignmentMiddle struct + func NewPageBlockVerticalAlignmentMiddle() *PageBlockVerticalAlignmentMiddle + func (pageBlockVerticalAlignmentMiddle *PageBlockVerticalAlignmentMiddle) GetPageBlockVerticalAlignmentEnum() PageBlockVerticalAlignmentEnum + func (pageBlockVerticalAlignmentMiddle *PageBlockVerticalAlignmentMiddle) MessageType() string + type PageBlockVerticalAlignmentTop struct + func NewPageBlockVerticalAlignmentTop() *PageBlockVerticalAlignmentTop + func (pageBlockVerticalAlignmentTop *PageBlockVerticalAlignmentTop) GetPageBlockVerticalAlignmentEnum() PageBlockVerticalAlignmentEnum + func (pageBlockVerticalAlignmentTop *PageBlockVerticalAlignmentTop) MessageType() string + type PageBlockVideo struct + Caption *PageBlockCaption + IsLooped bool + NeedAutoplay bool + Video *Video + func NewPageBlockVideo(video *Video, caption *PageBlockCaption, needAutoplay bool, isLooped bool) *PageBlockVideo + func (pageBlockVideo *PageBlockVideo) GetPageBlockEnum() PageBlockEnum + func (pageBlockVideo *PageBlockVideo) MessageType() string + type PageBlockVoiceNote struct + Caption *PageBlockCaption + VoiceNote *VoiceNote + func NewPageBlockVoiceNote(voiceNote *VoiceNote, caption *PageBlockCaption) *PageBlockVoiceNote + func (pageBlockVoiceNote *PageBlockVoiceNote) GetPageBlockEnum() PageBlockEnum + func (pageBlockVoiceNote *PageBlockVoiceNote) MessageType() string + type PassportAuthorizationForm struct + ID int32 + PrivacyPolicyURL string + RequiredElements []PassportRequiredElement + func NewPassportAuthorizationForm(iD int32, requiredElements []PassportRequiredElement, privacyPolicyURL string) *PassportAuthorizationForm + func (passportAuthorizationForm *PassportAuthorizationForm) MessageType() string + type PassportElement interface + GetPassportElementEnum func() PassportElementEnum + type PassportElementAddress struct + Address *Address + func NewPassportElementAddress(address *Address) *PassportElementAddress + func (passportElementAddress *PassportElementAddress) GetPassportElementEnum() PassportElementEnum + func (passportElementAddress *PassportElementAddress) MessageType() string + type PassportElementBankStatement struct + BankStatement *PersonalDocument + func NewPassportElementBankStatement(bankStatement *PersonalDocument) *PassportElementBankStatement + func (passportElementBankStatement *PassportElementBankStatement) GetPassportElementEnum() PassportElementEnum + func (passportElementBankStatement *PassportElementBankStatement) MessageType() string + type PassportElementDriverLicense struct + DriverLicense *IDentityDocument + func NewPassportElementDriverLicense(driverLicense *IDentityDocument) *PassportElementDriverLicense + func (passportElementDriverLicense *PassportElementDriverLicense) GetPassportElementEnum() PassportElementEnum + func (passportElementDriverLicense *PassportElementDriverLicense) MessageType() string + type PassportElementEmailAddress struct + EmailAddress string + func NewPassportElementEmailAddress(emailAddress string) *PassportElementEmailAddress + func (passportElementEmailAddress *PassportElementEmailAddress) GetPassportElementEnum() PassportElementEnum + func (passportElementEmailAddress *PassportElementEmailAddress) MessageType() string + type PassportElementEnum string + const PassportElementAddressType + const PassportElementBankStatementType + const PassportElementDriverLicenseType + const PassportElementEmailAddressType + const PassportElementIDentityCardType + const PassportElementInternalPassportType + const PassportElementPassportRegistrationType + const PassportElementPassportType + const PassportElementPersonalDetailsType + const PassportElementPhoneNumberType + const PassportElementRentalAgreementType + const PassportElementTemporaryRegistrationType + const PassportElementUtilityBillType + type PassportElementError struct + Message string + Source PassportElementErrorSource + Type PassportElementType + func NewPassportElementError(typeParam PassportElementType, message string, ...) *PassportElementError + func (passportElementError *PassportElementError) MessageType() string + func (passportElementError *PassportElementError) UnmarshalJSON(b []byte) error + type PassportElementErrorSource interface + GetPassportElementErrorSourceEnum func() PassportElementErrorSourceEnum + type PassportElementErrorSourceDataField struct + FieldName string + func NewPassportElementErrorSourceDataField(fieldName string) *PassportElementErrorSourceDataField + func (passportElementErrorSourceDataField *PassportElementErrorSourceDataField) GetPassportElementErrorSourceEnum() PassportElementErrorSourceEnum + func (passportElementErrorSourceDataField *PassportElementErrorSourceDataField) MessageType() string + type PassportElementErrorSourceEnum string + const PassportElementErrorSourceDataFieldType + const PassportElementErrorSourceFileType + const PassportElementErrorSourceFilesType + const PassportElementErrorSourceFrontSideType + const PassportElementErrorSourceReverseSideType + const PassportElementErrorSourceSelfieType + const PassportElementErrorSourceTranslationFileType + const PassportElementErrorSourceTranslationFilesType + const PassportElementErrorSourceUnspecifiedType + type PassportElementErrorSourceFile struct + FileIndex int32 + func NewPassportElementErrorSourceFile(fileIndex int32) *PassportElementErrorSourceFile + func (passportElementErrorSourceFile *PassportElementErrorSourceFile) GetPassportElementErrorSourceEnum() PassportElementErrorSourceEnum + func (passportElementErrorSourceFile *PassportElementErrorSourceFile) MessageType() string + type PassportElementErrorSourceFiles struct + func NewPassportElementErrorSourceFiles() *PassportElementErrorSourceFiles + func (passportElementErrorSourceFiles *PassportElementErrorSourceFiles) GetPassportElementErrorSourceEnum() PassportElementErrorSourceEnum + func (passportElementErrorSourceFiles *PassportElementErrorSourceFiles) MessageType() string + type PassportElementErrorSourceFrontSide struct + func NewPassportElementErrorSourceFrontSide() *PassportElementErrorSourceFrontSide + func (passportElementErrorSourceFrontSide *PassportElementErrorSourceFrontSide) GetPassportElementErrorSourceEnum() PassportElementErrorSourceEnum + func (passportElementErrorSourceFrontSide *PassportElementErrorSourceFrontSide) MessageType() string + type PassportElementErrorSourceReverseSide struct + func NewPassportElementErrorSourceReverseSide() *PassportElementErrorSourceReverseSide + func (passportElementErrorSourceReverseSide *PassportElementErrorSourceReverseSide) GetPassportElementErrorSourceEnum() PassportElementErrorSourceEnum + func (passportElementErrorSourceReverseSide *PassportElementErrorSourceReverseSide) MessageType() string + type PassportElementErrorSourceSelfie struct + func NewPassportElementErrorSourceSelfie() *PassportElementErrorSourceSelfie + func (passportElementErrorSourceSelfie *PassportElementErrorSourceSelfie) GetPassportElementErrorSourceEnum() PassportElementErrorSourceEnum + func (passportElementErrorSourceSelfie *PassportElementErrorSourceSelfie) MessageType() string + type PassportElementErrorSourceTranslationFile struct + FileIndex int32 + func NewPassportElementErrorSourceTranslationFile(fileIndex int32) *PassportElementErrorSourceTranslationFile + func (passportElementErrorSourceTranslationFile *PassportElementErrorSourceTranslationFile) GetPassportElementErrorSourceEnum() PassportElementErrorSourceEnum + func (passportElementErrorSourceTranslationFile *PassportElementErrorSourceTranslationFile) MessageType() string + type PassportElementErrorSourceTranslationFiles struct + func NewPassportElementErrorSourceTranslationFiles() *PassportElementErrorSourceTranslationFiles + func (passportElementErrorSourceTranslationFiles *PassportElementErrorSourceTranslationFiles) GetPassportElementErrorSourceEnum() PassportElementErrorSourceEnum + func (passportElementErrorSourceTranslationFiles *PassportElementErrorSourceTranslationFiles) MessageType() string + type PassportElementErrorSourceUnspecified struct + func NewPassportElementErrorSourceUnspecified() *PassportElementErrorSourceUnspecified + func (passportElementErrorSourceUnspecified *PassportElementErrorSourceUnspecified) GetPassportElementErrorSourceEnum() PassportElementErrorSourceEnum + func (passportElementErrorSourceUnspecified *PassportElementErrorSourceUnspecified) MessageType() string + type PassportElementIDentityCard struct + IDentityCard *IDentityDocument + func NewPassportElementIDentityCard(iDentityCard *IDentityDocument) *PassportElementIDentityCard + func (passportElementIDentityCard *PassportElementIDentityCard) GetPassportElementEnum() PassportElementEnum + func (passportElementIDentityCard *PassportElementIDentityCard) MessageType() string + type PassportElementInternalPassport struct + InternalPassport *IDentityDocument + func NewPassportElementInternalPassport(internalPassport *IDentityDocument) *PassportElementInternalPassport + func (passportElementInternalPassport *PassportElementInternalPassport) GetPassportElementEnum() PassportElementEnum + func (passportElementInternalPassport *PassportElementInternalPassport) MessageType() string + type PassportElementPassport struct + Passport *IDentityDocument + func NewPassportElementPassport(passport *IDentityDocument) *PassportElementPassport + func (passportElementPassport *PassportElementPassport) GetPassportElementEnum() PassportElementEnum + func (passportElementPassport *PassportElementPassport) MessageType() string + type PassportElementPassportRegistration struct + PassportRegistration *PersonalDocument + func NewPassportElementPassportRegistration(passportRegistration *PersonalDocument) *PassportElementPassportRegistration + func (passportElementPassportRegistration *PassportElementPassportRegistration) GetPassportElementEnum() PassportElementEnum + func (passportElementPassportRegistration *PassportElementPassportRegistration) MessageType() string + type PassportElementPersonalDetails struct + PersonalDetails *PersonalDetails + func NewPassportElementPersonalDetails(personalDetails *PersonalDetails) *PassportElementPersonalDetails + func (passportElementPersonalDetails *PassportElementPersonalDetails) GetPassportElementEnum() PassportElementEnum + func (passportElementPersonalDetails *PassportElementPersonalDetails) MessageType() string + type PassportElementPhoneNumber struct + PhoneNumber string + func NewPassportElementPhoneNumber(phoneNumber string) *PassportElementPhoneNumber + func (passportElementPhoneNumber *PassportElementPhoneNumber) GetPassportElementEnum() PassportElementEnum + func (passportElementPhoneNumber *PassportElementPhoneNumber) MessageType() string + type PassportElementRentalAgreement struct + RentalAgreement *PersonalDocument + func NewPassportElementRentalAgreement(rentalAgreement *PersonalDocument) *PassportElementRentalAgreement + func (passportElementRentalAgreement *PassportElementRentalAgreement) GetPassportElementEnum() PassportElementEnum + func (passportElementRentalAgreement *PassportElementRentalAgreement) MessageType() string + type PassportElementTemporaryRegistration struct + TemporaryRegistration *PersonalDocument + func NewPassportElementTemporaryRegistration(temporaryRegistration *PersonalDocument) *PassportElementTemporaryRegistration + func (passportElementTemporaryRegistration *PassportElementTemporaryRegistration) GetPassportElementEnum() PassportElementEnum + func (passportElementTemporaryRegistration *PassportElementTemporaryRegistration) MessageType() string + type PassportElementType interface + GetPassportElementTypeEnum func() PassportElementTypeEnum + type PassportElementTypeAddress struct + func NewPassportElementTypeAddress() *PassportElementTypeAddress + func (passportElementTypeAddress *PassportElementTypeAddress) GetPassportElementTypeEnum() PassportElementTypeEnum + func (passportElementTypeAddress *PassportElementTypeAddress) MessageType() string + type PassportElementTypeBankStatement struct + func NewPassportElementTypeBankStatement() *PassportElementTypeBankStatement + func (passportElementTypeBankStatement *PassportElementTypeBankStatement) GetPassportElementTypeEnum() PassportElementTypeEnum + func (passportElementTypeBankStatement *PassportElementTypeBankStatement) MessageType() string + type PassportElementTypeDriverLicense struct + func NewPassportElementTypeDriverLicense() *PassportElementTypeDriverLicense + func (passportElementTypeDriverLicense *PassportElementTypeDriverLicense) GetPassportElementTypeEnum() PassportElementTypeEnum + func (passportElementTypeDriverLicense *PassportElementTypeDriverLicense) MessageType() string + type PassportElementTypeEmailAddress struct + func NewPassportElementTypeEmailAddress() *PassportElementTypeEmailAddress + func (passportElementTypeEmailAddress *PassportElementTypeEmailAddress) GetPassportElementTypeEnum() PassportElementTypeEnum + func (passportElementTypeEmailAddress *PassportElementTypeEmailAddress) MessageType() string + type PassportElementTypeEnum string + const PassportElementTypeAddressType + const PassportElementTypeBankStatementType + const PassportElementTypeDriverLicenseType + const PassportElementTypeEmailAddressType + const PassportElementTypeIDentityCardType + const PassportElementTypeInternalPassportType + const PassportElementTypePassportRegistrationType + const PassportElementTypePassportType + const PassportElementTypePersonalDetailsType + const PassportElementTypePhoneNumberType + const PassportElementTypeRentalAgreementType + const PassportElementTypeTemporaryRegistrationType + const PassportElementTypeUtilityBillType + type PassportElementTypeIDentityCard struct + func NewPassportElementTypeIDentityCard() *PassportElementTypeIDentityCard + func (passportElementTypeIDentityCard *PassportElementTypeIDentityCard) GetPassportElementTypeEnum() PassportElementTypeEnum + func (passportElementTypeIDentityCard *PassportElementTypeIDentityCard) MessageType() string + type PassportElementTypeInternalPassport struct + func NewPassportElementTypeInternalPassport() *PassportElementTypeInternalPassport + func (passportElementTypeInternalPassport *PassportElementTypeInternalPassport) GetPassportElementTypeEnum() PassportElementTypeEnum + func (passportElementTypeInternalPassport *PassportElementTypeInternalPassport) MessageType() string + type PassportElementTypePassport struct + func NewPassportElementTypePassport() *PassportElementTypePassport + func (passportElementTypePassport *PassportElementTypePassport) GetPassportElementTypeEnum() PassportElementTypeEnum + func (passportElementTypePassport *PassportElementTypePassport) MessageType() string + type PassportElementTypePassportRegistration struct + func NewPassportElementTypePassportRegistration() *PassportElementTypePassportRegistration + func (passportElementTypePassportRegistration *PassportElementTypePassportRegistration) GetPassportElementTypeEnum() PassportElementTypeEnum + func (passportElementTypePassportRegistration *PassportElementTypePassportRegistration) MessageType() string + type PassportElementTypePersonalDetails struct + func NewPassportElementTypePersonalDetails() *PassportElementTypePersonalDetails + func (passportElementTypePersonalDetails *PassportElementTypePersonalDetails) GetPassportElementTypeEnum() PassportElementTypeEnum + func (passportElementTypePersonalDetails *PassportElementTypePersonalDetails) MessageType() string + type PassportElementTypePhoneNumber struct + func NewPassportElementTypePhoneNumber() *PassportElementTypePhoneNumber + func (passportElementTypePhoneNumber *PassportElementTypePhoneNumber) GetPassportElementTypeEnum() PassportElementTypeEnum + func (passportElementTypePhoneNumber *PassportElementTypePhoneNumber) MessageType() string + type PassportElementTypeRentalAgreement struct + func NewPassportElementTypeRentalAgreement() *PassportElementTypeRentalAgreement + func (passportElementTypeRentalAgreement *PassportElementTypeRentalAgreement) GetPassportElementTypeEnum() PassportElementTypeEnum + func (passportElementTypeRentalAgreement *PassportElementTypeRentalAgreement) MessageType() string + type PassportElementTypeTemporaryRegistration struct + func NewPassportElementTypeTemporaryRegistration() *PassportElementTypeTemporaryRegistration + func (passportElementTypeTemporaryRegistration *PassportElementTypeTemporaryRegistration) GetPassportElementTypeEnum() PassportElementTypeEnum + func (passportElementTypeTemporaryRegistration *PassportElementTypeTemporaryRegistration) MessageType() string + type PassportElementTypeUtilityBill struct + func NewPassportElementTypeUtilityBill() *PassportElementTypeUtilityBill + func (passportElementTypeUtilityBill *PassportElementTypeUtilityBill) GetPassportElementTypeEnum() PassportElementTypeEnum + func (passportElementTypeUtilityBill *PassportElementTypeUtilityBill) MessageType() string + type PassportElementUtilityBill struct + UtilityBill *PersonalDocument + func NewPassportElementUtilityBill(utilityBill *PersonalDocument) *PassportElementUtilityBill + func (passportElementUtilityBill *PassportElementUtilityBill) GetPassportElementEnum() PassportElementEnum + func (passportElementUtilityBill *PassportElementUtilityBill) MessageType() string + type PassportElements struct + Elements []PassportElement + func NewPassportElements(elements []PassportElement) *PassportElements + func (passportElements *PassportElements) MessageType() string + type PassportElementsWithErrors struct + Elements []PassportElement + Errors []PassportElementError + func NewPassportElementsWithErrors(elements []PassportElement, errors []PassportElementError) *PassportElementsWithErrors + func (passportElementsWithErrors *PassportElementsWithErrors) MessageType() string + type PassportRequiredElement struct + SuitableElements []PassportSuitableElement + func NewPassportRequiredElement(suitableElements []PassportSuitableElement) *PassportRequiredElement + func (passportRequiredElement *PassportRequiredElement) MessageType() string + type PassportSuitableElement struct + IsNativeNameRequired bool + IsSelfieRequired bool + IsTranslationRequired bool + Type PassportElementType + func NewPassportSuitableElement(typeParam PassportElementType, isSelfieRequired bool, ...) *PassportSuitableElement + func (passportSuitableElement *PassportSuitableElement) MessageType() string + func (passportSuitableElement *PassportSuitableElement) UnmarshalJSON(b []byte) error + type PasswordState struct + HasPassportData bool + HasPassword bool + HasRecoveryEmailAddress bool + PasswordHint string + RecoveryEmailAddressCodeInfo *EmailAddressAuthenticationCodeInfo + func NewPasswordState(hasPassword bool, passwordHint string, hasRecoveryEmailAddress bool, ...) *PasswordState + func (passwordState *PasswordState) MessageType() string + type PaymentForm struct + CanSaveCredentials bool + Invoice *Invoice + NeedPassword bool + PaymentsProvider *PaymentsProviderStripe + SavedCredentials *SavedCredentials + SavedOrderInfo *OrderInfo + URL string + func NewPaymentForm(invoice *Invoice, uRL string, paymentsProvider *PaymentsProviderStripe, ...) *PaymentForm + func (paymentForm *PaymentForm) MessageType() string + type PaymentReceipt struct + CredentialsTitle string + Date int32 + Invoice *Invoice + OrderInfo *OrderInfo + PaymentsProviderUserID int32 + ShippingOption *ShippingOption + func NewPaymentReceipt(date int32, paymentsProviderUserID int32, invoice *Invoice, ...) *PaymentReceipt + func (paymentReceipt *PaymentReceipt) MessageType() string + type PaymentResult struct + Success bool + VerificationURL string + func NewPaymentResult(success bool, verificationURL string) *PaymentResult + func (paymentResult *PaymentResult) MessageType() string + type PaymentsProviderStripe struct + NeedCardholderName bool + NeedCountry bool + NeedPostalCode bool + PublishableKey string + func NewPaymentsProviderStripe(publishableKey string, needCountry bool, needPostalCode bool, ...) *PaymentsProviderStripe + func (paymentsProviderStripe *PaymentsProviderStripe) MessageType() string + type PersonalDetails struct + Birthdate *Date + CountryCode string + FirstName string + Gender string + LastName string + MiddleName string + NativeFirstName string + NativeLastName string + NativeMiddleName string + ResidenceCountryCode string + func NewPersonalDetails(firstName string, middleName string, lastName string, nativeFirstName string, ...) *PersonalDetails + func (personalDetails *PersonalDetails) MessageType() string + type PersonalDocument struct + Files []DatedFile + Translation []DatedFile + func NewPersonalDocument(files []DatedFile, translation []DatedFile) *PersonalDocument + func (personalDocument *PersonalDocument) MessageType() string + type PhoneNumberAuthenticationSettings struct + AllowFlashCall bool + AllowSmsRetrieverAPI bool + IsCurrentPhoneNumber bool + func NewPhoneNumberAuthenticationSettings(allowFlashCall bool, isCurrentPhoneNumber bool, allowSmsRetrieverAPI bool) *PhoneNumberAuthenticationSettings + func (phoneNumberAuthenticationSettings *PhoneNumberAuthenticationSettings) MessageType() string + type PhoneNumberInfo struct + Country *CountryInfo + CountryCallingCode string + FormattedPhoneNumber string + func NewPhoneNumberInfo(country *CountryInfo, countryCallingCode string, formattedPhoneNumber string) *PhoneNumberInfo + func (phoneNumberInfo *PhoneNumberInfo) MessageType() string + type Photo struct + HasStickers bool + Minithumbnail *Minithumbnail + Sizes []PhotoSize + func NewPhoto(hasStickers bool, minithumbnail *Minithumbnail, sizes []PhotoSize) *Photo + func (photo *Photo) MessageType() string + type PhotoSize struct + Height int32 + Photo *File + ProgressiveSizes []int32 + Type string + Width int32 + func NewPhotoSize(typeParam string, photo *File, width int32, height int32, ...) *PhotoSize + func (photoSize *PhotoSize) MessageType() string + type Point struct + X float64 + Y float64 + func NewPoint(x float64, y float64) *Point + func (point *Point) MessageType() string + type Poll struct + CloseDate int32 + ID JSONInt64 + IsAnonymous bool + IsClosed bool + OpenPeriod int32 + Options []PollOption + Question string + RecentVoterUserIDs []int32 + TotalVoterCount int32 + Type PollType + func NewPoll(iD JSONInt64, question string, options []PollOption, totalVoterCount int32, ...) *Poll + func (poll *Poll) MessageType() string + func (poll *Poll) UnmarshalJSON(b []byte) error + type PollOption struct + IsBeingChosen bool + IsChosen bool + Text string + VotePercentage int32 + VoterCount int32 + func NewPollOption(text string, voterCount int32, votePercentage int32, isChosen bool, ...) *PollOption + func (pollOption *PollOption) MessageType() string + type PollType interface + GetPollTypeEnum func() PollTypeEnum + type PollTypeEnum string + const PollTypeQuizType + const PollTypeRegularType + type PollTypeQuiz struct + CorrectOptionID int32 + Explanation *FormattedText + func NewPollTypeQuiz(correctOptionID int32, explanation *FormattedText) *PollTypeQuiz + func (pollTypeQuiz *PollTypeQuiz) GetPollTypeEnum() PollTypeEnum + func (pollTypeQuiz *PollTypeQuiz) MessageType() string + type PollTypeRegular struct + AllowMultipleAnswers bool + func NewPollTypeRegular(allowMultipleAnswers bool) *PollTypeRegular + func (pollTypeRegular *PollTypeRegular) GetPollTypeEnum() PollTypeEnum + func (pollTypeRegular *PollTypeRegular) MessageType() string + type ProfilePhoto struct + Big *File + HasAnimation bool + ID JSONInt64 + Small *File + func NewProfilePhoto(iD JSONInt64, small *File, big *File, hasAnimation bool) *ProfilePhoto + func (profilePhoto *ProfilePhoto) MessageType() string + type Proxies struct + Proxies []Proxy + func NewProxies(proxies []Proxy) *Proxies + func (proxies *Proxies) MessageType() string + type Proxy struct + ID int32 + IsEnabled bool + LastUsedDate int32 + Port int32 + Server string + Type ProxyType + func NewProxy(iD int32, server string, port int32, lastUsedDate int32, isEnabled bool, ...) *Proxy + func (proxy *Proxy) MessageType() string + func (proxy *Proxy) UnmarshalJSON(b []byte) error + type ProxyType interface + GetProxyTypeEnum func() ProxyTypeEnum + type ProxyTypeEnum string + const ProxyTypeHttpType + const ProxyTypeMtprotoType + const ProxyTypeSocks5Type + type ProxyTypeHttp struct + HttpOnly bool + Password string + Username string + func NewProxyTypeHttp(username string, password string, httpOnly bool) *ProxyTypeHttp + func (proxyTypeHttp *ProxyTypeHttp) GetProxyTypeEnum() ProxyTypeEnum + func (proxyTypeHttp *ProxyTypeHttp) MessageType() string + type ProxyTypeMtproto struct + Secret string + func NewProxyTypeMtproto(secret string) *ProxyTypeMtproto + func (proxyTypeMtproto *ProxyTypeMtproto) GetProxyTypeEnum() ProxyTypeEnum + func (proxyTypeMtproto *ProxyTypeMtproto) MessageType() string + type ProxyTypeSocks5 struct + Password string + Username string + func NewProxyTypeSocks5(username string, password string) *ProxyTypeSocks5 + func (proxyTypeSocks5 *ProxyTypeSocks5) GetProxyTypeEnum() ProxyTypeEnum + func (proxyTypeSocks5 *ProxyTypeSocks5) MessageType() string + type PublicChatType interface + GetPublicChatTypeEnum func() PublicChatTypeEnum + type PublicChatTypeEnum string + const PublicChatTypeHasUsernameType + const PublicChatTypeIsLocationBasedType + type PublicChatTypeHasUsername struct + func NewPublicChatTypeHasUsername() *PublicChatTypeHasUsername + func (publicChatTypeHasUsername *PublicChatTypeHasUsername) GetPublicChatTypeEnum() PublicChatTypeEnum + func (publicChatTypeHasUsername *PublicChatTypeHasUsername) MessageType() string + type PublicChatTypeIsLocationBased struct + func NewPublicChatTypeIsLocationBased() *PublicChatTypeIsLocationBased + func (publicChatTypeIsLocationBased *PublicChatTypeIsLocationBased) GetPublicChatTypeEnum() PublicChatTypeEnum + func (publicChatTypeIsLocationBased *PublicChatTypeIsLocationBased) MessageType() string + type PushMessageContent interface + GetPushMessageContentEnum func() PushMessageContentEnum + type PushMessageContentAnimation struct + Animation *Animation + Caption string + IsPinned bool + func NewPushMessageContentAnimation(animation *Animation, caption string, isPinned bool) *PushMessageContentAnimation + func (pushMessageContentAnimation *PushMessageContentAnimation) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentAnimation *PushMessageContentAnimation) MessageType() string + type PushMessageContentAudio struct + Audio *Audio + IsPinned bool + func NewPushMessageContentAudio(audio *Audio, isPinned bool) *PushMessageContentAudio + func (pushMessageContentAudio *PushMessageContentAudio) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentAudio *PushMessageContentAudio) MessageType() string + type PushMessageContentBasicGroupChatCreate struct + func NewPushMessageContentBasicGroupChatCreate() *PushMessageContentBasicGroupChatCreate + func (pushMessageContentBasicGroupChatCreate *PushMessageContentBasicGroupChatCreate) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentBasicGroupChatCreate *PushMessageContentBasicGroupChatCreate) MessageType() string + type PushMessageContentChatAddMembers struct + IsCurrentUser bool + IsReturned bool + MemberName string + func NewPushMessageContentChatAddMembers(memberName string, isCurrentUser bool, isReturned bool) *PushMessageContentChatAddMembers + func (pushMessageContentChatAddMembers *PushMessageContentChatAddMembers) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentChatAddMembers *PushMessageContentChatAddMembers) MessageType() string + type PushMessageContentChatChangePhoto struct + func NewPushMessageContentChatChangePhoto() *PushMessageContentChatChangePhoto + func (pushMessageContentChatChangePhoto *PushMessageContentChatChangePhoto) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentChatChangePhoto *PushMessageContentChatChangePhoto) MessageType() string + type PushMessageContentChatChangeTitle struct + Title string + func NewPushMessageContentChatChangeTitle(title string) *PushMessageContentChatChangeTitle + func (pushMessageContentChatChangeTitle *PushMessageContentChatChangeTitle) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentChatChangeTitle *PushMessageContentChatChangeTitle) MessageType() string + type PushMessageContentChatDeleteMember struct + IsCurrentUser bool + IsLeft bool + MemberName string + func NewPushMessageContentChatDeleteMember(memberName string, isCurrentUser bool, isLeft bool) *PushMessageContentChatDeleteMember + func (pushMessageContentChatDeleteMember *PushMessageContentChatDeleteMember) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentChatDeleteMember *PushMessageContentChatDeleteMember) MessageType() string + type PushMessageContentChatJoinByLink struct + func NewPushMessageContentChatJoinByLink() *PushMessageContentChatJoinByLink + func (pushMessageContentChatJoinByLink *PushMessageContentChatJoinByLink) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentChatJoinByLink *PushMessageContentChatJoinByLink) MessageType() string + type PushMessageContentContact struct + IsPinned bool + Name string + func NewPushMessageContentContact(name string, isPinned bool) *PushMessageContentContact + func (pushMessageContentContact *PushMessageContentContact) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentContact *PushMessageContentContact) MessageType() string + type PushMessageContentContactRegistered struct + func NewPushMessageContentContactRegistered() *PushMessageContentContactRegistered + func (pushMessageContentContactRegistered *PushMessageContentContactRegistered) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentContactRegistered *PushMessageContentContactRegistered) MessageType() string + type PushMessageContentDocument struct + Document *Document + IsPinned bool + func NewPushMessageContentDocument(document *Document, isPinned bool) *PushMessageContentDocument + func (pushMessageContentDocument *PushMessageContentDocument) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentDocument *PushMessageContentDocument) MessageType() string + type PushMessageContentEnum string + const PushMessageContentAnimationType + const PushMessageContentAudioType + const PushMessageContentBasicGroupChatCreateType + const PushMessageContentChatAddMembersType + const PushMessageContentChatChangePhotoType + const PushMessageContentChatChangeTitleType + const PushMessageContentChatDeleteMemberType + const PushMessageContentChatJoinByLinkType + const PushMessageContentContactRegisteredType + const PushMessageContentContactType + const PushMessageContentDocumentType + const PushMessageContentGameScoreType + const PushMessageContentGameType + const PushMessageContentHiddenType + const PushMessageContentInvoiceType + const PushMessageContentLocationType + const PushMessageContentMediaAlbumType + const PushMessageContentMessageForwardsType + const PushMessageContentPhotoType + const PushMessageContentPollType + const PushMessageContentScreenshotTakenType + const PushMessageContentStickerType + const PushMessageContentTextType + const PushMessageContentVideoNoteType + const PushMessageContentVideoType + const PushMessageContentVoiceNoteType + type PushMessageContentGame struct + IsPinned bool + Title string + func NewPushMessageContentGame(title string, isPinned bool) *PushMessageContentGame + func (pushMessageContentGame *PushMessageContentGame) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentGame *PushMessageContentGame) MessageType() string + type PushMessageContentGameScore struct + IsPinned bool + Score int32 + Title string + func NewPushMessageContentGameScore(title string, score int32, isPinned bool) *PushMessageContentGameScore + func (pushMessageContentGameScore *PushMessageContentGameScore) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentGameScore *PushMessageContentGameScore) MessageType() string + type PushMessageContentHidden struct + IsPinned bool + func NewPushMessageContentHidden(isPinned bool) *PushMessageContentHidden + func (pushMessageContentHidden *PushMessageContentHidden) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentHidden *PushMessageContentHidden) MessageType() string + type PushMessageContentInvoice struct + IsPinned bool + Price string + func NewPushMessageContentInvoice(price string, isPinned bool) *PushMessageContentInvoice + func (pushMessageContentInvoice *PushMessageContentInvoice) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentInvoice *PushMessageContentInvoice) MessageType() string + type PushMessageContentLocation struct + IsLive bool + IsPinned bool + func NewPushMessageContentLocation(isLive bool, isPinned bool) *PushMessageContentLocation + func (pushMessageContentLocation *PushMessageContentLocation) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentLocation *PushMessageContentLocation) MessageType() string + type PushMessageContentMediaAlbum struct + HasAudios bool + HasDocuments bool + HasPhotos bool + HasVideos bool + TotalCount int32 + func NewPushMessageContentMediaAlbum(totalCount int32, hasPhotos bool, hasVideos bool, hasAudios bool, ...) *PushMessageContentMediaAlbum + func (pushMessageContentMediaAlbum *PushMessageContentMediaAlbum) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentMediaAlbum *PushMessageContentMediaAlbum) MessageType() string + type PushMessageContentMessageForwards struct + TotalCount int32 + func NewPushMessageContentMessageForwards(totalCount int32) *PushMessageContentMessageForwards + func (pushMessageContentMessageForwards *PushMessageContentMessageForwards) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentMessageForwards *PushMessageContentMessageForwards) MessageType() string + type PushMessageContentPhoto struct + Caption string + IsPinned bool + IsSecret bool + Photo *Photo + func NewPushMessageContentPhoto(photo *Photo, caption string, isSecret bool, isPinned bool) *PushMessageContentPhoto + func (pushMessageContentPhoto *PushMessageContentPhoto) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentPhoto *PushMessageContentPhoto) MessageType() string + type PushMessageContentPoll struct + IsPinned bool + IsRegular bool + Question string + func NewPushMessageContentPoll(question string, isRegular bool, isPinned bool) *PushMessageContentPoll + func (pushMessageContentPoll *PushMessageContentPoll) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentPoll *PushMessageContentPoll) MessageType() string + type PushMessageContentScreenshotTaken struct + func NewPushMessageContentScreenshotTaken() *PushMessageContentScreenshotTaken + func (pushMessageContentScreenshotTaken *PushMessageContentScreenshotTaken) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentScreenshotTaken *PushMessageContentScreenshotTaken) MessageType() string + type PushMessageContentSticker struct + Emoji string + IsPinned bool + Sticker *Sticker + func NewPushMessageContentSticker(sticker *Sticker, emoji string, isPinned bool) *PushMessageContentSticker + func (pushMessageContentSticker *PushMessageContentSticker) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentSticker *PushMessageContentSticker) MessageType() string + type PushMessageContentText struct + IsPinned bool + Text string + func NewPushMessageContentText(text string, isPinned bool) *PushMessageContentText + func (pushMessageContentText *PushMessageContentText) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentText *PushMessageContentText) MessageType() string + type PushMessageContentVideo struct + Caption string + IsPinned bool + IsSecret bool + Video *Video + func NewPushMessageContentVideo(video *Video, caption string, isSecret bool, isPinned bool) *PushMessageContentVideo + func (pushMessageContentVideo *PushMessageContentVideo) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentVideo *PushMessageContentVideo) MessageType() string + type PushMessageContentVideoNote struct + IsPinned bool + VideoNote *VideoNote + func NewPushMessageContentVideoNote(videoNote *VideoNote, isPinned bool) *PushMessageContentVideoNote + func (pushMessageContentVideoNote *PushMessageContentVideoNote) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentVideoNote *PushMessageContentVideoNote) MessageType() string + type PushMessageContentVoiceNote struct + IsPinned bool + VoiceNote *VoiceNote + func NewPushMessageContentVoiceNote(voiceNote *VoiceNote, isPinned bool) *PushMessageContentVoiceNote + func (pushMessageContentVoiceNote *PushMessageContentVoiceNote) GetPushMessageContentEnum() PushMessageContentEnum + func (pushMessageContentVoiceNote *PushMessageContentVoiceNote) MessageType() string + type PushReceiverID struct + ID JSONInt64 + func NewPushReceiverID(iD JSONInt64) *PushReceiverID + func (pushReceiverID *PushReceiverID) MessageType() string + type RecommendedChatFilter struct + Description string + Filter *ChatFilter + func NewRecommendedChatFilter(filter *ChatFilter, description string) *RecommendedChatFilter + func (recommendedChatFilter *RecommendedChatFilter) MessageType() string + type RecommendedChatFilters struct + ChatFilters []RecommendedChatFilter + func NewRecommendedChatFilters(chatFilters []RecommendedChatFilter) *RecommendedChatFilters + func (recommendedChatFilters *RecommendedChatFilters) MessageType() string + type RecoveryEmailAddress struct + RecoveryEmailAddress string + func NewRecoveryEmailAddress(recoveryEmailAddress string) *RecoveryEmailAddress + func (recoveryEmailAddress *RecoveryEmailAddress) MessageType() string + type RemoteFile struct + ID string + IsUploadingActive bool + IsUploadingCompleted bool + UniqueID string + UploadedSize int32 + func NewRemoteFile(iD string, uniqueID string, isUploadingActive bool, isUploadingCompleted bool, ...) *RemoteFile + func (remoteFile *RemoteFile) MessageType() string + type ReplyMarkup interface + GetReplyMarkupEnum func() ReplyMarkupEnum + type ReplyMarkupEnum string + const ReplyMarkupForceReplyType + const ReplyMarkupInlineKeyboardType + const ReplyMarkupRemoveKeyboardType + const ReplyMarkupShowKeyboardType + type ReplyMarkupForceReply struct + IsPersonal bool + func NewReplyMarkupForceReply(isPersonal bool) *ReplyMarkupForceReply + func (replyMarkupForceReply *ReplyMarkupForceReply) GetReplyMarkupEnum() ReplyMarkupEnum + func (replyMarkupForceReply *ReplyMarkupForceReply) MessageType() string + type ReplyMarkupInlineKeyboard struct + Rows [][]InlineKeyboardButton + func NewReplyMarkupInlineKeyboard(rows [][]InlineKeyboardButton) *ReplyMarkupInlineKeyboard + func (replyMarkupInlineKeyboard *ReplyMarkupInlineKeyboard) GetReplyMarkupEnum() ReplyMarkupEnum + func (replyMarkupInlineKeyboard *ReplyMarkupInlineKeyboard) MessageType() string + type ReplyMarkupRemoveKeyboard struct + IsPersonal bool + func NewReplyMarkupRemoveKeyboard(isPersonal bool) *ReplyMarkupRemoveKeyboard + func (replyMarkupRemoveKeyboard *ReplyMarkupRemoveKeyboard) GetReplyMarkupEnum() ReplyMarkupEnum + func (replyMarkupRemoveKeyboard *ReplyMarkupRemoveKeyboard) MessageType() string + type ReplyMarkupShowKeyboard struct + IsPersonal bool + OneTime bool + ResizeKeyboard bool + Rows [][]KeyboardButton + func NewReplyMarkupShowKeyboard(rows [][]KeyboardButton, resizeKeyboard bool, oneTime bool, isPersonal bool) *ReplyMarkupShowKeyboard + func (replyMarkupShowKeyboard *ReplyMarkupShowKeyboard) GetReplyMarkupEnum() ReplyMarkupEnum + func (replyMarkupShowKeyboard *ReplyMarkupShowKeyboard) MessageType() string + type RichText interface + GetRichTextEnum func() RichTextEnum + type RichTextAnchor struct + Name string + func NewRichTextAnchor(name string) *RichTextAnchor + func (richTextAnchor *RichTextAnchor) GetRichTextEnum() RichTextEnum + func (richTextAnchor *RichTextAnchor) MessageType() string + type RichTextAnchorLink struct + AnchorName string + Text RichText + URL string + func NewRichTextAnchorLink(text RichText, anchorName string, uRL string) *RichTextAnchorLink + func (richTextAnchorLink *RichTextAnchorLink) GetRichTextEnum() RichTextEnum + func (richTextAnchorLink *RichTextAnchorLink) MessageType() string + func (richTextAnchorLink *RichTextAnchorLink) UnmarshalJSON(b []byte) error + type RichTextBold struct + Text RichText + func NewRichTextBold(text RichText) *RichTextBold + func (richTextBold *RichTextBold) GetRichTextEnum() RichTextEnum + func (richTextBold *RichTextBold) MessageType() string + func (richTextBold *RichTextBold) UnmarshalJSON(b []byte) error + type RichTextEmailAddress struct + EmailAddress string + Text RichText + func NewRichTextEmailAddress(text RichText, emailAddress string) *RichTextEmailAddress + func (richTextEmailAddress *RichTextEmailAddress) GetRichTextEnum() RichTextEnum + func (richTextEmailAddress *RichTextEmailAddress) MessageType() string + func (richTextEmailAddress *RichTextEmailAddress) UnmarshalJSON(b []byte) error + type RichTextEnum string + const RichTextAnchorLinkType + const RichTextAnchorType + const RichTextBoldType + const RichTextEmailAddressType + const RichTextFixedType + const RichTextIconType + const RichTextItalicType + const RichTextMarkedType + const RichTextPhoneNumberType + const RichTextPlainType + const RichTextReferenceType + const RichTextStrikethroughType + const RichTextSubscriptType + const RichTextSuperscriptType + const RichTextURLType + const RichTextUnderlineType + const RichTextsType + type RichTextFixed struct + Text RichText + func NewRichTextFixed(text RichText) *RichTextFixed + func (richTextFixed *RichTextFixed) GetRichTextEnum() RichTextEnum + func (richTextFixed *RichTextFixed) MessageType() string + func (richTextFixed *RichTextFixed) UnmarshalJSON(b []byte) error + type RichTextIcon struct + Document *Document + Height int32 + Width int32 + func NewRichTextIcon(document *Document, width int32, height int32) *RichTextIcon + func (richTextIcon *RichTextIcon) GetRichTextEnum() RichTextEnum + func (richTextIcon *RichTextIcon) MessageType() string + type RichTextItalic struct + Text RichText + func NewRichTextItalic(text RichText) *RichTextItalic + func (richTextItalic *RichTextItalic) GetRichTextEnum() RichTextEnum + func (richTextItalic *RichTextItalic) MessageType() string + func (richTextItalic *RichTextItalic) UnmarshalJSON(b []byte) error + type RichTextMarked struct + Text RichText + func NewRichTextMarked(text RichText) *RichTextMarked + func (richTextMarked *RichTextMarked) GetRichTextEnum() RichTextEnum + func (richTextMarked *RichTextMarked) MessageType() string + func (richTextMarked *RichTextMarked) UnmarshalJSON(b []byte) error + type RichTextPhoneNumber struct + PhoneNumber string + Text RichText + func NewRichTextPhoneNumber(text RichText, phoneNumber string) *RichTextPhoneNumber + func (richTextPhoneNumber *RichTextPhoneNumber) GetRichTextEnum() RichTextEnum + func (richTextPhoneNumber *RichTextPhoneNumber) MessageType() string + func (richTextPhoneNumber *RichTextPhoneNumber) UnmarshalJSON(b []byte) error + type RichTextPlain struct + Text string + func NewRichTextPlain(text string) *RichTextPlain + func (richTextPlain *RichTextPlain) GetRichTextEnum() RichTextEnum + func (richTextPlain *RichTextPlain) MessageType() string + type RichTextReference struct + AnchorName string + Text RichText + URL string + func NewRichTextReference(text RichText, anchorName string, uRL string) *RichTextReference + func (richTextReference *RichTextReference) GetRichTextEnum() RichTextEnum + func (richTextReference *RichTextReference) MessageType() string + func (richTextReference *RichTextReference) UnmarshalJSON(b []byte) error + type RichTextStrikethrough struct + Text RichText + func NewRichTextStrikethrough(text RichText) *RichTextStrikethrough + func (richTextStrikethrough *RichTextStrikethrough) GetRichTextEnum() RichTextEnum + func (richTextStrikethrough *RichTextStrikethrough) MessageType() string + func (richTextStrikethrough *RichTextStrikethrough) UnmarshalJSON(b []byte) error + type RichTextSubscript struct + Text RichText + func NewRichTextSubscript(text RichText) *RichTextSubscript + func (richTextSubscript *RichTextSubscript) GetRichTextEnum() RichTextEnum + func (richTextSubscript *RichTextSubscript) MessageType() string + func (richTextSubscript *RichTextSubscript) UnmarshalJSON(b []byte) error + type RichTextSuperscript struct + Text RichText + func NewRichTextSuperscript(text RichText) *RichTextSuperscript + func (richTextSuperscript *RichTextSuperscript) GetRichTextEnum() RichTextEnum + func (richTextSuperscript *RichTextSuperscript) MessageType() string + func (richTextSuperscript *RichTextSuperscript) UnmarshalJSON(b []byte) error + type RichTextURL struct + IsCached bool + Text RichText + URL string + func NewRichTextURL(text RichText, uRL string, isCached bool) *RichTextURL + func (richTextURL *RichTextURL) GetRichTextEnum() RichTextEnum + func (richTextURL *RichTextURL) MessageType() string + func (richTextURL *RichTextURL) UnmarshalJSON(b []byte) error + type RichTextUnderline struct + Text RichText + func NewRichTextUnderline(text RichText) *RichTextUnderline + func (richTextUnderline *RichTextUnderline) GetRichTextEnum() RichTextEnum + func (richTextUnderline *RichTextUnderline) MessageType() string + func (richTextUnderline *RichTextUnderline) UnmarshalJSON(b []byte) error + type RichTexts struct + Texts []RichText + func NewRichTexts(texts []RichText) *RichTexts + func (richTexts *RichTexts) GetRichTextEnum() RichTextEnum + func (richTexts *RichTexts) MessageType() string + type SavedCredentials struct + ID string + Title string + func NewSavedCredentials(iD string, title string) *SavedCredentials + func (savedCredentials *SavedCredentials) MessageType() string + type ScopeNotificationSettings struct + DisableMentionNotifications bool + DisablePinnedMessageNotifications bool + MuteFor int32 + ShowPreview bool + Sound string + func NewScopeNotificationSettings(muteFor int32, sound string, showPreview bool, ...) *ScopeNotificationSettings + func (scopeNotificationSettings *ScopeNotificationSettings) MessageType() string + type SearchMessagesFilter interface + GetSearchMessagesFilterEnum func() SearchMessagesFilterEnum + type SearchMessagesFilterAnimation struct + func NewSearchMessagesFilterAnimation() *SearchMessagesFilterAnimation + func (searchMessagesFilterAnimation *SearchMessagesFilterAnimation) GetSearchMessagesFilterEnum() SearchMessagesFilterEnum + func (searchMessagesFilterAnimation *SearchMessagesFilterAnimation) MessageType() string + type SearchMessagesFilterAudio struct + func NewSearchMessagesFilterAudio() *SearchMessagesFilterAudio + func (searchMessagesFilterAudio *SearchMessagesFilterAudio) GetSearchMessagesFilterEnum() SearchMessagesFilterEnum + func (searchMessagesFilterAudio *SearchMessagesFilterAudio) MessageType() string + type SearchMessagesFilterCall struct + func NewSearchMessagesFilterCall() *SearchMessagesFilterCall + func (searchMessagesFilterCall *SearchMessagesFilterCall) GetSearchMessagesFilterEnum() SearchMessagesFilterEnum + func (searchMessagesFilterCall *SearchMessagesFilterCall) MessageType() string + type SearchMessagesFilterChatPhoto struct + func NewSearchMessagesFilterChatPhoto() *SearchMessagesFilterChatPhoto + func (searchMessagesFilterChatPhoto *SearchMessagesFilterChatPhoto) GetSearchMessagesFilterEnum() SearchMessagesFilterEnum + func (searchMessagesFilterChatPhoto *SearchMessagesFilterChatPhoto) MessageType() string + type SearchMessagesFilterDocument struct + func NewSearchMessagesFilterDocument() *SearchMessagesFilterDocument + func (searchMessagesFilterDocument *SearchMessagesFilterDocument) GetSearchMessagesFilterEnum() SearchMessagesFilterEnum + func (searchMessagesFilterDocument *SearchMessagesFilterDocument) MessageType() string + type SearchMessagesFilterEmpty struct + func NewSearchMessagesFilterEmpty() *SearchMessagesFilterEmpty + func (searchMessagesFilterEmpty *SearchMessagesFilterEmpty) GetSearchMessagesFilterEnum() SearchMessagesFilterEnum + func (searchMessagesFilterEmpty *SearchMessagesFilterEmpty) MessageType() string + type SearchMessagesFilterEnum string + const SearchMessagesFilterAnimationType + const SearchMessagesFilterAudioType + const SearchMessagesFilterCallType + const SearchMessagesFilterChatPhotoType + const SearchMessagesFilterDocumentType + const SearchMessagesFilterEmptyType + const SearchMessagesFilterFailedToSendType + const SearchMessagesFilterMentionType + const SearchMessagesFilterMissedCallType + const SearchMessagesFilterPhotoAndVideoType + const SearchMessagesFilterPhotoType + const SearchMessagesFilterPinnedType + const SearchMessagesFilterURLType + const SearchMessagesFilterUnreadMentionType + const SearchMessagesFilterVideoNoteType + const SearchMessagesFilterVideoType + const SearchMessagesFilterVoiceAndVideoNoteType + const SearchMessagesFilterVoiceNoteType + type SearchMessagesFilterFailedToSend struct + func NewSearchMessagesFilterFailedToSend() *SearchMessagesFilterFailedToSend + func (searchMessagesFilterFailedToSend *SearchMessagesFilterFailedToSend) GetSearchMessagesFilterEnum() SearchMessagesFilterEnum + func (searchMessagesFilterFailedToSend *SearchMessagesFilterFailedToSend) MessageType() string + type SearchMessagesFilterMention struct + func NewSearchMessagesFilterMention() *SearchMessagesFilterMention + func (searchMessagesFilterMention *SearchMessagesFilterMention) GetSearchMessagesFilterEnum() SearchMessagesFilterEnum + func (searchMessagesFilterMention *SearchMessagesFilterMention) MessageType() string + type SearchMessagesFilterMissedCall struct + func NewSearchMessagesFilterMissedCall() *SearchMessagesFilterMissedCall + func (searchMessagesFilterMissedCall *SearchMessagesFilterMissedCall) GetSearchMessagesFilterEnum() SearchMessagesFilterEnum + func (searchMessagesFilterMissedCall *SearchMessagesFilterMissedCall) MessageType() string + type SearchMessagesFilterPhoto struct + func NewSearchMessagesFilterPhoto() *SearchMessagesFilterPhoto + func (searchMessagesFilterPhoto *SearchMessagesFilterPhoto) GetSearchMessagesFilterEnum() SearchMessagesFilterEnum + func (searchMessagesFilterPhoto *SearchMessagesFilterPhoto) MessageType() string + type SearchMessagesFilterPhotoAndVideo struct + func NewSearchMessagesFilterPhotoAndVideo() *SearchMessagesFilterPhotoAndVideo + func (searchMessagesFilterPhotoAndVideo *SearchMessagesFilterPhotoAndVideo) GetSearchMessagesFilterEnum() SearchMessagesFilterEnum + func (searchMessagesFilterPhotoAndVideo *SearchMessagesFilterPhotoAndVideo) MessageType() string + type SearchMessagesFilterPinned struct + func NewSearchMessagesFilterPinned() *SearchMessagesFilterPinned + func (searchMessagesFilterPinned *SearchMessagesFilterPinned) GetSearchMessagesFilterEnum() SearchMessagesFilterEnum + func (searchMessagesFilterPinned *SearchMessagesFilterPinned) MessageType() string + type SearchMessagesFilterURL struct + func NewSearchMessagesFilterURL() *SearchMessagesFilterURL + func (searchMessagesFilterURL *SearchMessagesFilterURL) GetSearchMessagesFilterEnum() SearchMessagesFilterEnum + func (searchMessagesFilterURL *SearchMessagesFilterURL) MessageType() string + type SearchMessagesFilterUnreadMention struct + func NewSearchMessagesFilterUnreadMention() *SearchMessagesFilterUnreadMention + func (searchMessagesFilterUnreadMention *SearchMessagesFilterUnreadMention) GetSearchMessagesFilterEnum() SearchMessagesFilterEnum + func (searchMessagesFilterUnreadMention *SearchMessagesFilterUnreadMention) MessageType() string + type SearchMessagesFilterVideo struct + func NewSearchMessagesFilterVideo() *SearchMessagesFilterVideo + func (searchMessagesFilterVideo *SearchMessagesFilterVideo) GetSearchMessagesFilterEnum() SearchMessagesFilterEnum + func (searchMessagesFilterVideo *SearchMessagesFilterVideo) MessageType() string + type SearchMessagesFilterVideoNote struct + func NewSearchMessagesFilterVideoNote() *SearchMessagesFilterVideoNote + func (searchMessagesFilterVideoNote *SearchMessagesFilterVideoNote) GetSearchMessagesFilterEnum() SearchMessagesFilterEnum + func (searchMessagesFilterVideoNote *SearchMessagesFilterVideoNote) MessageType() string + type SearchMessagesFilterVoiceAndVideoNote struct + func NewSearchMessagesFilterVoiceAndVideoNote() *SearchMessagesFilterVoiceAndVideoNote + func (searchMessagesFilterVoiceAndVideoNote *SearchMessagesFilterVoiceAndVideoNote) GetSearchMessagesFilterEnum() SearchMessagesFilterEnum + func (searchMessagesFilterVoiceAndVideoNote *SearchMessagesFilterVoiceAndVideoNote) MessageType() string + type SearchMessagesFilterVoiceNote struct + func NewSearchMessagesFilterVoiceNote() *SearchMessagesFilterVoiceNote + func (searchMessagesFilterVoiceNote *SearchMessagesFilterVoiceNote) GetSearchMessagesFilterEnum() SearchMessagesFilterEnum + func (searchMessagesFilterVoiceNote *SearchMessagesFilterVoiceNote) MessageType() string + type Seconds struct + Seconds float64 + func NewSeconds(seconds float64) *Seconds + func (seconds *Seconds) MessageType() string + type SecretChat struct + ID int32 + IsOutbound bool + KeyHash []byte + Layer int32 + State SecretChatState + TTL int32 + UserID int32 + func NewSecretChat(iD int32, userID int32, state SecretChatState, isOutbound bool, tTL int32, ...) *SecretChat + func (secretChat *SecretChat) MessageType() string + func (secretChat *SecretChat) UnmarshalJSON(b []byte) error + type SecretChatState interface + GetSecretChatStateEnum func() SecretChatStateEnum + type SecretChatStateClosed struct + func NewSecretChatStateClosed() *SecretChatStateClosed + func (secretChatStateClosed *SecretChatStateClosed) GetSecretChatStateEnum() SecretChatStateEnum + func (secretChatStateClosed *SecretChatStateClosed) MessageType() string + type SecretChatStateEnum string + const SecretChatStateClosedType + const SecretChatStatePendingType + const SecretChatStateReadyType + type SecretChatStatePending struct + func NewSecretChatStatePending() *SecretChatStatePending + func (secretChatStatePending *SecretChatStatePending) GetSecretChatStateEnum() SecretChatStateEnum + func (secretChatStatePending *SecretChatStatePending) MessageType() string + type SecretChatStateReady struct + func NewSecretChatStateReady() *SecretChatStateReady + func (secretChatStateReady *SecretChatStateReady) GetSecretChatStateEnum() SecretChatStateEnum + func (secretChatStateReady *SecretChatStateReady) MessageType() string + type Session struct + APIID int32 + ApplicationName string + ApplicationVersion string + Country string + DeviceModel string + ID JSONInt64 + IP string + IsCurrent bool + IsOfficialApplication bool + IsPasswordPending bool + LastActiveDate int32 + LogInDate int32 + Platform string + Region string + SystemVersion string + func NewSession(iD JSONInt64, isCurrent bool, isPasswordPending bool, aPIID int32, ...) *Session + func (session *Session) MessageType() string + type Sessions struct + Sessions []Session + func NewSessions(sessions []Session) *Sessions + func (sessions *Sessions) MessageType() string + type ShippingOption struct + ID string + PriceParts []LabeledPricePart + Title string + func NewShippingOption(iD string, title string, priceParts []LabeledPricePart) *ShippingOption + func (shippingOption *ShippingOption) MessageType() string + type StatisticalGraph interface + GetStatisticalGraphEnum func() StatisticalGraphEnum + type StatisticalGraphAsync struct + Token string + func NewStatisticalGraphAsync(token string) *StatisticalGraphAsync + func (statisticalGraphAsync *StatisticalGraphAsync) GetStatisticalGraphEnum() StatisticalGraphEnum + func (statisticalGraphAsync *StatisticalGraphAsync) MessageType() string + type StatisticalGraphData struct + JsonData string + ZoomToken string + func NewStatisticalGraphData(jsonData string, zoomToken string) *StatisticalGraphData + func (statisticalGraphData *StatisticalGraphData) GetStatisticalGraphEnum() StatisticalGraphEnum + func (statisticalGraphData *StatisticalGraphData) MessageType() string + type StatisticalGraphEnum string + const StatisticalGraphAsyncType + const StatisticalGraphDataType + const StatisticalGraphErrorType + type StatisticalGraphError struct + ErrorMessage string + func NewStatisticalGraphError(errorMessage string) *StatisticalGraphError + func (statisticalGraphError *StatisticalGraphError) GetStatisticalGraphEnum() StatisticalGraphEnum + func (statisticalGraphError *StatisticalGraphError) MessageType() string + type StatisticalValue struct + GrowthRatePercentage float64 + PreviousValue float64 + Value float64 + func NewStatisticalValue(value float64, previousValue float64, growthRatePercentage float64) *StatisticalValue + func (statisticalValue *StatisticalValue) MessageType() string + type Sticker struct + Emoji string + Height int32 + IsAnimated bool + IsMask bool + MaskPosition *MaskPosition + Outline []ClosedVectorPath + SetID JSONInt64 + Sticker *File + Thumbnail *Thumbnail + Width int32 + func NewSticker(setID JSONInt64, width int32, height int32, emoji string, isAnimated bool, ...) *Sticker + func (sticker *Sticker) MessageType() string + type StickerSet struct + Emojis []Emojis + ID JSONInt64 + IsAnimated bool + IsArchived bool + IsInstalled bool + IsMasks bool + IsOfficial bool + IsViewed bool + Name string + Stickers []Sticker + Thumbnail *Thumbnail + ThumbnailOutline []ClosedVectorPath + Title string + func NewStickerSet(iD JSONInt64, title string, name string, thumbnail *Thumbnail, ...) *StickerSet + func (stickerSet *StickerSet) MessageType() string + type StickerSetInfo struct + Covers []Sticker + ID JSONInt64 + IsAnimated bool + IsArchived bool + IsInstalled bool + IsMasks bool + IsOfficial bool + IsViewed bool + Name string + Size int32 + Thumbnail *Thumbnail + ThumbnailOutline []ClosedVectorPath + Title string + func NewStickerSetInfo(iD JSONInt64, title string, name string, thumbnail *Thumbnail, ...) *StickerSetInfo + func (stickerSetInfo *StickerSetInfo) MessageType() string + type StickerSets struct + Sets []StickerSetInfo + TotalCount int32 + func NewStickerSets(totalCount int32, sets []StickerSetInfo) *StickerSets + func (stickerSets *StickerSets) MessageType() string + type Stickers struct + Stickers []Sticker + func NewStickers(stickers []Sticker) *Stickers + func (stickers *Stickers) MessageType() string + type StorageStatistics struct + ByChat []StorageStatisticsByChat + Count int32 + Size int64 + func NewStorageStatistics(size int64, count int32, byChat []StorageStatisticsByChat) *StorageStatistics + func (storageStatistics *StorageStatistics) MessageType() string + type StorageStatisticsByChat struct + ByFileType []StorageStatisticsByFileType + ChatID int64 + Count int32 + Size int64 + func NewStorageStatisticsByChat(chatID int64, size int64, count int32, ...) *StorageStatisticsByChat + func (storageStatisticsByChat *StorageStatisticsByChat) MessageType() string + type StorageStatisticsByFileType struct + Count int32 + FileType FileType + Size int64 + func NewStorageStatisticsByFileType(fileType FileType, size int64, count int32) *StorageStatisticsByFileType + func (storageStatisticsByFileType *StorageStatisticsByFileType) MessageType() string + func (storageStatisticsByFileType *StorageStatisticsByFileType) UnmarshalJSON(b []byte) error + type StorageStatisticsFast struct + DatabaseSize int64 + FileCount int32 + FilesSize int64 + LanguagePackDatabaseSize int64 + LogSize int64 + func NewStorageStatisticsFast(filesSize int64, fileCount int32, databaseSize int64, ...) *StorageStatisticsFast + func (storageStatisticsFast *StorageStatisticsFast) MessageType() string + type SuggestedAction interface + GetSuggestedActionEnum func() SuggestedActionEnum + type SuggestedActionCheckPhoneNumber struct + func NewSuggestedActionCheckPhoneNumber() *SuggestedActionCheckPhoneNumber + func (suggestedActionCheckPhoneNumber *SuggestedActionCheckPhoneNumber) GetSuggestedActionEnum() SuggestedActionEnum + func (suggestedActionCheckPhoneNumber *SuggestedActionCheckPhoneNumber) MessageType() string + type SuggestedActionEnableArchiveAndMuteNewChats struct + func NewSuggestedActionEnableArchiveAndMuteNewChats() *SuggestedActionEnableArchiveAndMuteNewChats + func (suggestedActionEnableArchiveAndMuteNewChats *SuggestedActionEnableArchiveAndMuteNewChats) GetSuggestedActionEnum() SuggestedActionEnum + func (suggestedActionEnableArchiveAndMuteNewChats *SuggestedActionEnableArchiveAndMuteNewChats) MessageType() string + type SuggestedActionEnum string + const SuggestedActionCheckPhoneNumberType + const SuggestedActionEnableArchiveAndMuteNewChatsType + const SuggestedActionSeeTicksHintType + type SuggestedActionSeeTicksHint struct + func NewSuggestedActionSeeTicksHint() *SuggestedActionSeeTicksHint + func (suggestedActionSeeTicksHint *SuggestedActionSeeTicksHint) GetSuggestedActionEnum() SuggestedActionEnum + func (suggestedActionSeeTicksHint *SuggestedActionSeeTicksHint) MessageType() string + type Supergroup struct + Date int32 + HasLinkedChat bool + HasLocation bool + ID int32 + IsChannel bool + IsFake bool + IsScam bool + IsSlowModeEnabled bool + IsVerified bool + MemberCount int32 + RestrictionReason string + SignMessages bool + Status ChatMemberStatus + Username string + func NewSupergroup(iD int32, username string, date int32, status ChatMemberStatus, ...) *Supergroup + func (supergroup *Supergroup) MessageType() string + func (supergroup *Supergroup) UnmarshalJSON(b []byte) error + type SupergroupFullInfo struct + AdministratorCount int32 + BannedCount int32 + CanGetMembers bool + CanGetStatistics bool + CanSetLocation bool + CanSetStickerSet bool + CanSetUsername bool + Description string + InviteLink *ChatInviteLink + IsAllHistoryAvailable bool + LinkedChatID int64 + Location *ChatLocation + MemberCount int32 + Photo *ChatPhoto + RestrictedCount int32 + SlowModeDelay int32 + SlowModeDelayExpiresIn float64 + StickerSetID JSONInt64 + UpgradedFromBasicGroupID int32 + UpgradedFromMaxMessageID int64 + func NewSupergroupFullInfo(photo *ChatPhoto, description string, memberCount int32, ...) *SupergroupFullInfo + func (supergroupFullInfo *SupergroupFullInfo) MessageType() string + type SupergroupMembersFilter interface + GetSupergroupMembersFilterEnum func() SupergroupMembersFilterEnum + type SupergroupMembersFilterAdministrators struct + func NewSupergroupMembersFilterAdministrators() *SupergroupMembersFilterAdministrators + func (supergroupMembersFilterAdministrators *SupergroupMembersFilterAdministrators) GetSupergroupMembersFilterEnum() SupergroupMembersFilterEnum + func (supergroupMembersFilterAdministrators *SupergroupMembersFilterAdministrators) MessageType() string + type SupergroupMembersFilterBanned struct + Query string + func NewSupergroupMembersFilterBanned(query string) *SupergroupMembersFilterBanned + func (supergroupMembersFilterBanned *SupergroupMembersFilterBanned) GetSupergroupMembersFilterEnum() SupergroupMembersFilterEnum + func (supergroupMembersFilterBanned *SupergroupMembersFilterBanned) MessageType() string + type SupergroupMembersFilterBots struct + func NewSupergroupMembersFilterBots() *SupergroupMembersFilterBots + func (supergroupMembersFilterBots *SupergroupMembersFilterBots) GetSupergroupMembersFilterEnum() SupergroupMembersFilterEnum + func (supergroupMembersFilterBots *SupergroupMembersFilterBots) MessageType() string + type SupergroupMembersFilterContacts struct + Query string + func NewSupergroupMembersFilterContacts(query string) *SupergroupMembersFilterContacts + func (supergroupMembersFilterContacts *SupergroupMembersFilterContacts) GetSupergroupMembersFilterEnum() SupergroupMembersFilterEnum + func (supergroupMembersFilterContacts *SupergroupMembersFilterContacts) MessageType() string + type SupergroupMembersFilterEnum string + const SupergroupMembersFilterAdministratorsType + const SupergroupMembersFilterBannedType + const SupergroupMembersFilterBotsType + const SupergroupMembersFilterContactsType + const SupergroupMembersFilterMentionType + const SupergroupMembersFilterRecentType + const SupergroupMembersFilterRestrictedType + const SupergroupMembersFilterSearchType + type SupergroupMembersFilterMention struct + MessageThreadID int64 + Query string + func NewSupergroupMembersFilterMention(query string, messageThreadID int64) *SupergroupMembersFilterMention + func (supergroupMembersFilterMention *SupergroupMembersFilterMention) GetSupergroupMembersFilterEnum() SupergroupMembersFilterEnum + func (supergroupMembersFilterMention *SupergroupMembersFilterMention) MessageType() string + type SupergroupMembersFilterRecent struct + func NewSupergroupMembersFilterRecent() *SupergroupMembersFilterRecent + func (supergroupMembersFilterRecent *SupergroupMembersFilterRecent) GetSupergroupMembersFilterEnum() SupergroupMembersFilterEnum + func (supergroupMembersFilterRecent *SupergroupMembersFilterRecent) MessageType() string + type SupergroupMembersFilterRestricted struct + Query string + func NewSupergroupMembersFilterRestricted(query string) *SupergroupMembersFilterRestricted + func (supergroupMembersFilterRestricted *SupergroupMembersFilterRestricted) GetSupergroupMembersFilterEnum() SupergroupMembersFilterEnum + func (supergroupMembersFilterRestricted *SupergroupMembersFilterRestricted) MessageType() string + type SupergroupMembersFilterSearch struct + Query string + func NewSupergroupMembersFilterSearch(query string) *SupergroupMembersFilterSearch + func (supergroupMembersFilterSearch *SupergroupMembersFilterSearch) GetSupergroupMembersFilterEnum() SupergroupMembersFilterEnum + func (supergroupMembersFilterSearch *SupergroupMembersFilterSearch) MessageType() string + type TMeURL struct + Type TMeURLType + URL string + func NewTMeURL(uRL string, typeParam TMeURLType) *TMeURL + func (tMeURL *TMeURL) MessageType() string + func (tMeURL *TMeURL) UnmarshalJSON(b []byte) error + type TMeURLType interface + GetTMeURLTypeEnum func() TMeURLTypeEnum + type TMeURLTypeChatInvite struct + Info *ChatInviteLinkInfo + func NewTMeURLTypeChatInvite(info *ChatInviteLinkInfo) *TMeURLTypeChatInvite + func (tMeURLTypeChatInvite *TMeURLTypeChatInvite) GetTMeURLTypeEnum() TMeURLTypeEnum + func (tMeURLTypeChatInvite *TMeURLTypeChatInvite) MessageType() string + type TMeURLTypeEnum string + const TMeURLTypeChatInviteType + const TMeURLTypeStickerSetType + const TMeURLTypeSupergroupType + const TMeURLTypeUserType + type TMeURLTypeStickerSet struct + StickerSetID JSONInt64 + func NewTMeURLTypeStickerSet(stickerSetID JSONInt64) *TMeURLTypeStickerSet + func (tMeURLTypeStickerSet *TMeURLTypeStickerSet) GetTMeURLTypeEnum() TMeURLTypeEnum + func (tMeURLTypeStickerSet *TMeURLTypeStickerSet) MessageType() string + type TMeURLTypeSupergroup struct + SupergroupID int64 + func NewTMeURLTypeSupergroup(supergroupID int64) *TMeURLTypeSupergroup + func (tMeURLTypeSupergroup *TMeURLTypeSupergroup) GetTMeURLTypeEnum() TMeURLTypeEnum + func (tMeURLTypeSupergroup *TMeURLTypeSupergroup) MessageType() string + type TMeURLTypeUser struct + UserID int32 + func NewTMeURLTypeUser(userID int32) *TMeURLTypeUser + func (tMeURLTypeUser *TMeURLTypeUser) GetTMeURLTypeEnum() TMeURLTypeEnum + func (tMeURLTypeUser *TMeURLTypeUser) MessageType() string + type TMeURLs struct + URLs []TMeURL + func NewTMeURLs(uRLs []TMeURL) *TMeURLs + func (tMeURLs *TMeURLs) MessageType() string + type TdMessage interface + MessageType func() string + type TdlibParameters struct + APIHash string + APIID int32 + ApplicationVersion string + DatabaseDirectory string + DeviceModel string + EnableStorageOptimizer bool + FilesDirectory string + IgnoreFileNames bool + SystemLanguageCode string + SystemVersion string + UseChatInfoDatabase bool + UseFileDatabase bool + UseMessageDatabase bool + UseSecretChats bool + UseTestDc bool + func NewTdlibParameters(useTestDc bool, databaseDirectory string, filesDirectory string, ...) *TdlibParameters + func (tdlibParameters *TdlibParameters) MessageType() string + type TemporaryPasswordState struct + HasPassword bool + ValidFor int32 + func NewTemporaryPasswordState(hasPassword bool, validFor int32) *TemporaryPasswordState + func (temporaryPasswordState *TemporaryPasswordState) MessageType() string + type TermsOfService struct + MinUserAge int32 + ShowPopup bool + Text *FormattedText + func NewTermsOfService(text *FormattedText, minUserAge int32, showPopup bool) *TermsOfService + func (termsOfService *TermsOfService) MessageType() string + type TestBytes struct + Value []byte + func NewTestBytes(value []byte) *TestBytes + func (testBytes *TestBytes) MessageType() string + type TestInt struct + Value int32 + func NewTestInt(value int32) *TestInt + func (testInt *TestInt) MessageType() string + type TestString struct + Value string + func NewTestString(value string) *TestString + func (testString *TestString) MessageType() string + type TestVectorInt struct + Value []int32 + func NewTestVectorInt(value []int32) *TestVectorInt + func (testVectorInt *TestVectorInt) MessageType() string + type TestVectorIntObject struct + Value []TestInt + func NewTestVectorIntObject(value []TestInt) *TestVectorIntObject + func (testVectorIntObject *TestVectorIntObject) MessageType() string + type TestVectorString struct + Value []string + func NewTestVectorString(value []string) *TestVectorString + func (testVectorString *TestVectorString) MessageType() string + type TestVectorStringObject struct + Value []TestString + func NewTestVectorStringObject(value []TestString) *TestVectorStringObject + func (testVectorStringObject *TestVectorStringObject) MessageType() string + type Text struct + Text string + func NewText(text string) *Text + func (text *Text) MessageType() string + type TextEntities struct + Entities []TextEntity + func NewTextEntities(entities []TextEntity) *TextEntities + func (textEntities *TextEntities) MessageType() string + type TextEntity struct + Length int32 + Offset int32 + Type TextEntityType + func NewTextEntity(offset int32, length int32, typeParam TextEntityType) *TextEntity + func (textEntity *TextEntity) MessageType() string + func (textEntity *TextEntity) UnmarshalJSON(b []byte) error + type TextEntityType interface + GetTextEntityTypeEnum func() TextEntityTypeEnum + type TextEntityTypeBankCardNumber struct + func NewTextEntityTypeBankCardNumber() *TextEntityTypeBankCardNumber + func (textEntityTypeBankCardNumber *TextEntityTypeBankCardNumber) GetTextEntityTypeEnum() TextEntityTypeEnum + func (textEntityTypeBankCardNumber *TextEntityTypeBankCardNumber) MessageType() string + type TextEntityTypeBold struct + func NewTextEntityTypeBold() *TextEntityTypeBold + func (textEntityTypeBold *TextEntityTypeBold) GetTextEntityTypeEnum() TextEntityTypeEnum + func (textEntityTypeBold *TextEntityTypeBold) MessageType() string + type TextEntityTypeBotCommand struct + func NewTextEntityTypeBotCommand() *TextEntityTypeBotCommand + func (textEntityTypeBotCommand *TextEntityTypeBotCommand) GetTextEntityTypeEnum() TextEntityTypeEnum + func (textEntityTypeBotCommand *TextEntityTypeBotCommand) MessageType() string + type TextEntityTypeCashtag struct + func NewTextEntityTypeCashtag() *TextEntityTypeCashtag + func (textEntityTypeCashtag *TextEntityTypeCashtag) GetTextEntityTypeEnum() TextEntityTypeEnum + func (textEntityTypeCashtag *TextEntityTypeCashtag) MessageType() string + type TextEntityTypeCode struct + func NewTextEntityTypeCode() *TextEntityTypeCode + func (textEntityTypeCode *TextEntityTypeCode) GetTextEntityTypeEnum() TextEntityTypeEnum + func (textEntityTypeCode *TextEntityTypeCode) MessageType() string + type TextEntityTypeEmailAddress struct + func NewTextEntityTypeEmailAddress() *TextEntityTypeEmailAddress + func (textEntityTypeEmailAddress *TextEntityTypeEmailAddress) GetTextEntityTypeEnum() TextEntityTypeEnum + func (textEntityTypeEmailAddress *TextEntityTypeEmailAddress) MessageType() string + type TextEntityTypeEnum string + const TextEntityTypeBankCardNumberType + const TextEntityTypeBoldType + const TextEntityTypeBotCommandType + const TextEntityTypeCashtagType + const TextEntityTypeCodeType + const TextEntityTypeEmailAddressType + const TextEntityTypeHashtagType + const TextEntityTypeItalicType + const TextEntityTypeMentionNameType + const TextEntityTypeMentionType + const TextEntityTypePhoneNumberType + const TextEntityTypePreCodeType + const TextEntityTypePreType + const TextEntityTypeStrikethroughType + const TextEntityTypeTextURLType + const TextEntityTypeUnderlineType + const TextEntityTypeUrlType + type TextEntityTypeHashtag struct + func NewTextEntityTypeHashtag() *TextEntityTypeHashtag + func (textEntityTypeHashtag *TextEntityTypeHashtag) GetTextEntityTypeEnum() TextEntityTypeEnum + func (textEntityTypeHashtag *TextEntityTypeHashtag) MessageType() string + type TextEntityTypeItalic struct + func NewTextEntityTypeItalic() *TextEntityTypeItalic + func (textEntityTypeItalic *TextEntityTypeItalic) GetTextEntityTypeEnum() TextEntityTypeEnum + func (textEntityTypeItalic *TextEntityTypeItalic) MessageType() string + type TextEntityTypeMention struct + func NewTextEntityTypeMention() *TextEntityTypeMention + func (textEntityTypeMention *TextEntityTypeMention) GetTextEntityTypeEnum() TextEntityTypeEnum + func (textEntityTypeMention *TextEntityTypeMention) MessageType() string + type TextEntityTypeMentionName struct + UserID int32 + func NewTextEntityTypeMentionName(userID int32) *TextEntityTypeMentionName + func (textEntityTypeMentionName *TextEntityTypeMentionName) GetTextEntityTypeEnum() TextEntityTypeEnum + func (textEntityTypeMentionName *TextEntityTypeMentionName) MessageType() string + type TextEntityTypePhoneNumber struct + func NewTextEntityTypePhoneNumber() *TextEntityTypePhoneNumber + func (textEntityTypePhoneNumber *TextEntityTypePhoneNumber) GetTextEntityTypeEnum() TextEntityTypeEnum + func (textEntityTypePhoneNumber *TextEntityTypePhoneNumber) MessageType() string + type TextEntityTypePre struct + func NewTextEntityTypePre() *TextEntityTypePre + func (textEntityTypePre *TextEntityTypePre) GetTextEntityTypeEnum() TextEntityTypeEnum + func (textEntityTypePre *TextEntityTypePre) MessageType() string + type TextEntityTypePreCode struct + Language string + func NewTextEntityTypePreCode(language string) *TextEntityTypePreCode + func (textEntityTypePreCode *TextEntityTypePreCode) GetTextEntityTypeEnum() TextEntityTypeEnum + func (textEntityTypePreCode *TextEntityTypePreCode) MessageType() string + type TextEntityTypeStrikethrough struct + func NewTextEntityTypeStrikethrough() *TextEntityTypeStrikethrough + func (textEntityTypeStrikethrough *TextEntityTypeStrikethrough) GetTextEntityTypeEnum() TextEntityTypeEnum + func (textEntityTypeStrikethrough *TextEntityTypeStrikethrough) MessageType() string + type TextEntityTypeTextURL struct + URL string + func NewTextEntityTypeTextURL(uRL string) *TextEntityTypeTextURL + func (textEntityTypeTextURL *TextEntityTypeTextURL) GetTextEntityTypeEnum() TextEntityTypeEnum + func (textEntityTypeTextURL *TextEntityTypeTextURL) MessageType() string + type TextEntityTypeURL struct + func NewTextEntityTypeURL() *TextEntityTypeURL + func (textEntityTypeURL *TextEntityTypeURL) GetTextEntityTypeEnum() TextEntityTypeEnum + func (textEntityTypeURL *TextEntityTypeURL) MessageType() string + type TextEntityTypeUnderline struct + func NewTextEntityTypeUnderline() *TextEntityTypeUnderline + func (textEntityTypeUnderline *TextEntityTypeUnderline) GetTextEntityTypeEnum() TextEntityTypeEnum + func (textEntityTypeUnderline *TextEntityTypeUnderline) MessageType() string + type TextParseMode interface + GetTextParseModeEnum func() TextParseModeEnum + type TextParseModeEnum string + const TextParseModeHTMLType + const TextParseModeMarkdownType + type TextParseModeHTML struct + func NewTextParseModeHTML() *TextParseModeHTML + func (textParseModeHTML *TextParseModeHTML) GetTextParseModeEnum() TextParseModeEnum + func (textParseModeHTML *TextParseModeHTML) MessageType() string + type TextParseModeMarkdown struct + Version int32 + func NewTextParseModeMarkdown(version int32) *TextParseModeMarkdown + func (textParseModeMarkdown *TextParseModeMarkdown) GetTextParseModeEnum() TextParseModeEnum + func (textParseModeMarkdown *TextParseModeMarkdown) MessageType() string + type Thumbnail struct + File *File + Format ThumbnailFormat + Height int32 + Width int32 + func NewThumbnail(format ThumbnailFormat, width int32, height int32, file *File) *Thumbnail + func (thumbnail *Thumbnail) MessageType() string + func (thumbnail *Thumbnail) UnmarshalJSON(b []byte) error + type ThumbnailFormat interface + GetThumbnailFormatEnum func() ThumbnailFormatEnum + type ThumbnailFormatEnum string + const ThumbnailFormatGifType + const ThumbnailFormatJpegType + const ThumbnailFormatMpeg4Type + const ThumbnailFormatPngType + const ThumbnailFormatTgsType + const ThumbnailFormatWebpType + type ThumbnailFormatGif struct + func NewThumbnailFormatGif() *ThumbnailFormatGif + func (thumbnailFormatGif *ThumbnailFormatGif) GetThumbnailFormatEnum() ThumbnailFormatEnum + func (thumbnailFormatGif *ThumbnailFormatGif) MessageType() string + type ThumbnailFormatJpeg struct + func NewThumbnailFormatJpeg() *ThumbnailFormatJpeg + func (thumbnailFormatJpeg *ThumbnailFormatJpeg) GetThumbnailFormatEnum() ThumbnailFormatEnum + func (thumbnailFormatJpeg *ThumbnailFormatJpeg) MessageType() string + type ThumbnailFormatMpeg4 struct + func NewThumbnailFormatMpeg4() *ThumbnailFormatMpeg4 + func (thumbnailFormatMpeg4 *ThumbnailFormatMpeg4) GetThumbnailFormatEnum() ThumbnailFormatEnum + func (thumbnailFormatMpeg4 *ThumbnailFormatMpeg4) MessageType() string + type ThumbnailFormatPng struct + func NewThumbnailFormatPng() *ThumbnailFormatPng + func (thumbnailFormatPng *ThumbnailFormatPng) GetThumbnailFormatEnum() ThumbnailFormatEnum + func (thumbnailFormatPng *ThumbnailFormatPng) MessageType() string + type ThumbnailFormatTgs struct + func NewThumbnailFormatTgs() *ThumbnailFormatTgs + func (thumbnailFormatTgs *ThumbnailFormatTgs) GetThumbnailFormatEnum() ThumbnailFormatEnum + func (thumbnailFormatTgs *ThumbnailFormatTgs) MessageType() string + type ThumbnailFormatWebp struct + func NewThumbnailFormatWebp() *ThumbnailFormatWebp + func (thumbnailFormatWebp *ThumbnailFormatWebp) GetThumbnailFormatEnum() ThumbnailFormatEnum + func (thumbnailFormatWebp *ThumbnailFormatWebp) MessageType() string + type TopChatCategory interface + GetTopChatCategoryEnum func() TopChatCategoryEnum + type TopChatCategoryBots struct + func NewTopChatCategoryBots() *TopChatCategoryBots + func (topChatCategoryBots *TopChatCategoryBots) GetTopChatCategoryEnum() TopChatCategoryEnum + func (topChatCategoryBots *TopChatCategoryBots) MessageType() string + type TopChatCategoryCalls struct + func NewTopChatCategoryCalls() *TopChatCategoryCalls + func (topChatCategoryCalls *TopChatCategoryCalls) GetTopChatCategoryEnum() TopChatCategoryEnum + func (topChatCategoryCalls *TopChatCategoryCalls) MessageType() string + type TopChatCategoryChannels struct + func NewTopChatCategoryChannels() *TopChatCategoryChannels + func (topChatCategoryChannels *TopChatCategoryChannels) GetTopChatCategoryEnum() TopChatCategoryEnum + func (topChatCategoryChannels *TopChatCategoryChannels) MessageType() string + type TopChatCategoryEnum string + const TopChatCategoryBotsType + const TopChatCategoryCallsType + const TopChatCategoryChannelsType + const TopChatCategoryForwardChatsType + const TopChatCategoryGroupsType + const TopChatCategoryInlineBotsType + const TopChatCategoryUsersType + type TopChatCategoryForwardChats struct + func NewTopChatCategoryForwardChats() *TopChatCategoryForwardChats + func (topChatCategoryForwardChats *TopChatCategoryForwardChats) GetTopChatCategoryEnum() TopChatCategoryEnum + func (topChatCategoryForwardChats *TopChatCategoryForwardChats) MessageType() string + type TopChatCategoryGroups struct + func NewTopChatCategoryGroups() *TopChatCategoryGroups + func (topChatCategoryGroups *TopChatCategoryGroups) GetTopChatCategoryEnum() TopChatCategoryEnum + func (topChatCategoryGroups *TopChatCategoryGroups) MessageType() string + type TopChatCategoryInlineBots struct + func NewTopChatCategoryInlineBots() *TopChatCategoryInlineBots + func (topChatCategoryInlineBots *TopChatCategoryInlineBots) GetTopChatCategoryEnum() TopChatCategoryEnum + func (topChatCategoryInlineBots *TopChatCategoryInlineBots) MessageType() string + type TopChatCategoryUsers struct + func NewTopChatCategoryUsers() *TopChatCategoryUsers + func (topChatCategoryUsers *TopChatCategoryUsers) GetTopChatCategoryEnum() TopChatCategoryEnum + func (topChatCategoryUsers *TopChatCategoryUsers) MessageType() string + type Update interface + GetUpdateEnum func() UpdateEnum + type UpdateActiveNotifications struct + Groups []NotificationGroup + func NewUpdateActiveNotifications(groups []NotificationGroup) *UpdateActiveNotifications + func (updateActiveNotifications *UpdateActiveNotifications) GetUpdateEnum() UpdateEnum + func (updateActiveNotifications *UpdateActiveNotifications) MessageType() string + type UpdateAnimationSearchParameters struct + Emojis []string + Provider string + func NewUpdateAnimationSearchParameters(provider string, emojis []string) *UpdateAnimationSearchParameters + func (updateAnimationSearchParameters *UpdateAnimationSearchParameters) GetUpdateEnum() UpdateEnum + func (updateAnimationSearchParameters *UpdateAnimationSearchParameters) MessageType() string + type UpdateAuthorizationState struct + AuthorizationState AuthorizationState + func NewUpdateAuthorizationState(authorizationState AuthorizationState) *UpdateAuthorizationState + func (updateAuthorizationState *UpdateAuthorizationState) GetUpdateEnum() UpdateEnum + func (updateAuthorizationState *UpdateAuthorizationState) MessageType() string + func (updateAuthorizationState *UpdateAuthorizationState) UnmarshalJSON(b []byte) error + type UpdateBasicGroup struct + BasicGroup *BasicGroup + func NewUpdateBasicGroup(basicGroup *BasicGroup) *UpdateBasicGroup + func (updateBasicGroup *UpdateBasicGroup) GetUpdateEnum() UpdateEnum + func (updateBasicGroup *UpdateBasicGroup) MessageType() string + type UpdateBasicGroupFullInfo struct + BasicGroupFullInfo *BasicGroupFullInfo + BasicGroupID int32 + func NewUpdateBasicGroupFullInfo(basicGroupID int32, basicGroupFullInfo *BasicGroupFullInfo) *UpdateBasicGroupFullInfo + func (updateBasicGroupFullInfo *UpdateBasicGroupFullInfo) GetUpdateEnum() UpdateEnum + func (updateBasicGroupFullInfo *UpdateBasicGroupFullInfo) MessageType() string + type UpdateCall struct + Call *Call + func NewUpdateCall(call *Call) *UpdateCall + func (updateCall *UpdateCall) GetUpdateEnum() UpdateEnum + func (updateCall *UpdateCall) MessageType() string + type UpdateChatActionBar struct + ActionBar ChatActionBar + ChatID int64 + func NewUpdateChatActionBar(chatID int64, actionBar ChatActionBar) *UpdateChatActionBar + func (updateChatActionBar *UpdateChatActionBar) GetUpdateEnum() UpdateEnum + func (updateChatActionBar *UpdateChatActionBar) MessageType() string + func (updateChatActionBar *UpdateChatActionBar) UnmarshalJSON(b []byte) error + type UpdateChatDefaultDisableNotification struct + ChatID int64 + DefaultDisableNotification bool + func NewUpdateChatDefaultDisableNotification(chatID int64, defaultDisableNotification bool) *UpdateChatDefaultDisableNotification + func (updateChatDefaultDisableNotification *UpdateChatDefaultDisableNotification) GetUpdateEnum() UpdateEnum + func (updateChatDefaultDisableNotification *UpdateChatDefaultDisableNotification) MessageType() string + type UpdateChatDraftMessage struct + ChatID int64 + DraftMessage *DraftMessage + Positions []ChatPosition + func NewUpdateChatDraftMessage(chatID int64, draftMessage *DraftMessage, positions []ChatPosition) *UpdateChatDraftMessage + func (updateChatDraftMessage *UpdateChatDraftMessage) GetUpdateEnum() UpdateEnum + func (updateChatDraftMessage *UpdateChatDraftMessage) MessageType() string + type UpdateChatFilters struct + ChatFilters []ChatFilterInfo + func NewUpdateChatFilters(chatFilters []ChatFilterInfo) *UpdateChatFilters + func (updateChatFilters *UpdateChatFilters) GetUpdateEnum() UpdateEnum + func (updateChatFilters *UpdateChatFilters) MessageType() string + type UpdateChatHasScheduledMessages struct + ChatID int64 + HasScheduledMessages bool + func NewUpdateChatHasScheduledMessages(chatID int64, hasScheduledMessages bool) *UpdateChatHasScheduledMessages + func (updateChatHasScheduledMessages *UpdateChatHasScheduledMessages) GetUpdateEnum() UpdateEnum + func (updateChatHasScheduledMessages *UpdateChatHasScheduledMessages) MessageType() string + type UpdateChatIsBlocked struct + ChatID int64 + IsBlocked bool + func NewUpdateChatIsBlocked(chatID int64, isBlocked bool) *UpdateChatIsBlocked + func (updateChatIsBlocked *UpdateChatIsBlocked) GetUpdateEnum() UpdateEnum + func (updateChatIsBlocked *UpdateChatIsBlocked) MessageType() string + type UpdateChatIsMarkedAsUnread struct + ChatID int64 + IsMarkedAsUnread bool + func NewUpdateChatIsMarkedAsUnread(chatID int64, isMarkedAsUnread bool) *UpdateChatIsMarkedAsUnread + func (updateChatIsMarkedAsUnread *UpdateChatIsMarkedAsUnread) GetUpdateEnum() UpdateEnum + func (updateChatIsMarkedAsUnread *UpdateChatIsMarkedAsUnread) MessageType() string + type UpdateChatLastMessage struct + ChatID int64 + LastMessage *Message + Positions []ChatPosition + func NewUpdateChatLastMessage(chatID int64, lastMessage *Message, positions []ChatPosition) *UpdateChatLastMessage + func (updateChatLastMessage *UpdateChatLastMessage) GetUpdateEnum() UpdateEnum + func (updateChatLastMessage *UpdateChatLastMessage) MessageType() string + type UpdateChatNotificationSettings struct + ChatID int64 + NotificationSettings *ChatNotificationSettings + func NewUpdateChatNotificationSettings(chatID int64, notificationSettings *ChatNotificationSettings) *UpdateChatNotificationSettings + func (updateChatNotificationSettings *UpdateChatNotificationSettings) GetUpdateEnum() UpdateEnum + func (updateChatNotificationSettings *UpdateChatNotificationSettings) MessageType() string + type UpdateChatOnlineMemberCount struct + ChatID int64 + OnlineMemberCount int32 + func NewUpdateChatOnlineMemberCount(chatID int64, onlineMemberCount int32) *UpdateChatOnlineMemberCount + func (updateChatOnlineMemberCount *UpdateChatOnlineMemberCount) GetUpdateEnum() UpdateEnum + func (updateChatOnlineMemberCount *UpdateChatOnlineMemberCount) MessageType() string + type UpdateChatPermissions struct + ChatID int64 + Permissions *ChatPermissions + func NewUpdateChatPermissions(chatID int64, permissions *ChatPermissions) *UpdateChatPermissions + func (updateChatPermissions *UpdateChatPermissions) GetUpdateEnum() UpdateEnum + func (updateChatPermissions *UpdateChatPermissions) MessageType() string + type UpdateChatPhoto struct + ChatID int64 + Photo *ChatPhotoInfo + func NewUpdateChatPhoto(chatID int64, photo *ChatPhotoInfo) *UpdateChatPhoto + func (updateChatPhoto *UpdateChatPhoto) GetUpdateEnum() UpdateEnum + func (updateChatPhoto *UpdateChatPhoto) MessageType() string + type UpdateChatPosition struct + ChatID int64 + Position *ChatPosition + func NewUpdateChatPosition(chatID int64, position *ChatPosition) *UpdateChatPosition + func (updateChatPosition *UpdateChatPosition) GetUpdateEnum() UpdateEnum + func (updateChatPosition *UpdateChatPosition) MessageType() string + type UpdateChatReadInbox struct + ChatID int64 + LastReadInboxMessageID int64 + UnreadCount int32 + func NewUpdateChatReadInbox(chatID int64, lastReadInboxMessageID int64, unreadCount int32) *UpdateChatReadInbox + func (updateChatReadInbox *UpdateChatReadInbox) GetUpdateEnum() UpdateEnum + func (updateChatReadInbox *UpdateChatReadInbox) MessageType() string + type UpdateChatReadOutbox struct + ChatID int64 + LastReadOutboxMessageID int64 + func NewUpdateChatReadOutbox(chatID int64, lastReadOutboxMessageID int64) *UpdateChatReadOutbox + func (updateChatReadOutbox *UpdateChatReadOutbox) GetUpdateEnum() UpdateEnum + func (updateChatReadOutbox *UpdateChatReadOutbox) MessageType() string + type UpdateChatReplyMarkup struct + ChatID int64 + ReplyMarkupMessageID int64 + func NewUpdateChatReplyMarkup(chatID int64, replyMarkupMessageID int64) *UpdateChatReplyMarkup + func (updateChatReplyMarkup *UpdateChatReplyMarkup) GetUpdateEnum() UpdateEnum + func (updateChatReplyMarkup *UpdateChatReplyMarkup) MessageType() string + type UpdateChatTitle struct + ChatID int64 + Title string + func NewUpdateChatTitle(chatID int64, title string) *UpdateChatTitle + func (updateChatTitle *UpdateChatTitle) GetUpdateEnum() UpdateEnum + func (updateChatTitle *UpdateChatTitle) MessageType() string + type UpdateChatUnreadMentionCount struct + ChatID int64 + UnreadMentionCount int32 + func NewUpdateChatUnreadMentionCount(chatID int64, unreadMentionCount int32) *UpdateChatUnreadMentionCount + func (updateChatUnreadMentionCount *UpdateChatUnreadMentionCount) GetUpdateEnum() UpdateEnum + func (updateChatUnreadMentionCount *UpdateChatUnreadMentionCount) MessageType() string + type UpdateChatVoiceChat struct + ChatID int64 + IsVoiceChatEmpty bool + VoiceChatGroupCallID int32 + func NewUpdateChatVoiceChat(chatID int64, voiceChatGroupCallID int32, isVoiceChatEmpty bool) *UpdateChatVoiceChat + func (updateChatVoiceChat *UpdateChatVoiceChat) GetUpdateEnum() UpdateEnum + func (updateChatVoiceChat *UpdateChatVoiceChat) MessageType() string + type UpdateConnectionState struct + State ConnectionState + func NewUpdateConnectionState(state ConnectionState) *UpdateConnectionState + func (updateConnectionState *UpdateConnectionState) GetUpdateEnum() UpdateEnum + func (updateConnectionState *UpdateConnectionState) MessageType() string + func (updateConnectionState *UpdateConnectionState) UnmarshalJSON(b []byte) error + type UpdateData map[string]interface + type UpdateDeleteMessages struct + ChatID int64 + FromCache bool + IsPermanent bool + MessageIDs []int64 + func NewUpdateDeleteMessages(chatID int64, messageIDs []int64, isPermanent bool, fromCache bool) *UpdateDeleteMessages + func (updateDeleteMessages *UpdateDeleteMessages) GetUpdateEnum() UpdateEnum + func (updateDeleteMessages *UpdateDeleteMessages) MessageType() string + type UpdateDiceEmojis struct + Emojis []string + func NewUpdateDiceEmojis(emojis []string) *UpdateDiceEmojis + func (updateDiceEmojis *UpdateDiceEmojis) GetUpdateEnum() UpdateEnum + func (updateDiceEmojis *UpdateDiceEmojis) MessageType() string + type UpdateEnum string + const UpdateActiveNotificationsType + const UpdateAnimationSearchParametersType + const UpdateAuthorizationStateType + const UpdateBasicGroupFullInfoType + const UpdateBasicGroupType + const UpdateCallType + const UpdateChatActionBarType + const UpdateChatDefaultDisableNotificationType + const UpdateChatDraftMessageType + const UpdateChatFiltersType + const UpdateChatHasScheduledMessagesType + const UpdateChatIsBlockedType + const UpdateChatIsMarkedAsUnreadType + const UpdateChatLastMessageType + const UpdateChatNotificationSettingsType + const UpdateChatOnlineMemberCountType + const UpdateChatPermissionsType + const UpdateChatPhotoType + const UpdateChatPositionType + const UpdateChatReadInboxType + const UpdateChatReadOutboxType + const UpdateChatReplyMarkupType + const UpdateChatTitleType + const UpdateChatUnreadMentionCountType + const UpdateChatVoiceChatType + const UpdateConnectionStateType + const UpdateDeleteMessagesType + const UpdateDiceEmojisType + const UpdateFavoriteStickersType + const UpdateFileGenerationStartType + const UpdateFileGenerationStopType + const UpdateFileType + const UpdateGroupCallParticipantType + const UpdateGroupCallType + const UpdateHavePendingNotificationsType + const UpdateInstalledStickerSetsType + const UpdateLanguagePackStringsType + const UpdateMessageContentOpenedType + const UpdateMessageContentType + const UpdateMessageEditedType + const UpdateMessageInteractionInfoType + const UpdateMessageIsPinnedType + const UpdateMessageLiveLocationViewedType + const UpdateMessageMentionReadType + const UpdateMessageSendAcknowledgedType + const UpdateMessageSendFailedType + const UpdateMessageSendSucceededType + const UpdateNewCallSignalingDataType + const UpdateNewCallbackQueryType + const UpdateNewChatType + const UpdateNewChosenInlineResultType + const UpdateNewCustomEventType + const UpdateNewCustomQueryType + const UpdateNewInlineCallbackQueryType + const UpdateNewInlineQueryType + const UpdateNewMessageType + const UpdateNewPreCheckoutQueryType + const UpdateNewShippingQueryType + const UpdateNotificationGroupType + const UpdateNotificationType + const UpdateOptionType + const UpdatePollAnswerType + const UpdatePollType + const UpdateRecentStickersType + const UpdateSavedAnimationsType + const UpdateScopeNotificationSettingsType + const UpdateSecretChatType + const UpdateSelectedBackgroundType + const UpdateServiceNotificationType + const UpdateStickerSetType + const UpdateSuggestedActionsType + const UpdateSupergroupFullInfoType + const UpdateSupergroupType + const UpdateTermsOfServiceType + const UpdateTrendingStickerSetsType + const UpdateUnreadChatCountType + const UpdateUnreadMessageCountType + const UpdateUserChatActionType + const UpdateUserFullInfoType + const UpdateUserPrivacySettingRulesType + const UpdateUserStatusType + const UpdateUserType + const UpdateUsersNearbyType + type UpdateFavoriteStickers struct + StickerIDs []int32 + func NewUpdateFavoriteStickers(stickerIDs []int32) *UpdateFavoriteStickers + func (updateFavoriteStickers *UpdateFavoriteStickers) GetUpdateEnum() UpdateEnum + func (updateFavoriteStickers *UpdateFavoriteStickers) MessageType() string + type UpdateFile struct + File *File + func NewUpdateFile(file *File) *UpdateFile + func (updateFile *UpdateFile) GetUpdateEnum() UpdateEnum + func (updateFile *UpdateFile) MessageType() string + type UpdateFileGenerationStart struct + Conversion string + DestinationPath string + GenerationID JSONInt64 + OriginalPath string + func NewUpdateFileGenerationStart(generationID JSONInt64, originalPath string, destinationPath string, ...) *UpdateFileGenerationStart + func (updateFileGenerationStart *UpdateFileGenerationStart) GetUpdateEnum() UpdateEnum + func (updateFileGenerationStart *UpdateFileGenerationStart) MessageType() string + type UpdateFileGenerationStop struct + GenerationID JSONInt64 + func NewUpdateFileGenerationStop(generationID JSONInt64) *UpdateFileGenerationStop + func (updateFileGenerationStop *UpdateFileGenerationStop) GetUpdateEnum() UpdateEnum + func (updateFileGenerationStop *UpdateFileGenerationStop) MessageType() string + type UpdateGroupCall struct + GroupCall *GroupCall + func NewUpdateGroupCall(groupCall *GroupCall) *UpdateGroupCall + func (updateGroupCall *UpdateGroupCall) GetUpdateEnum() UpdateEnum + func (updateGroupCall *UpdateGroupCall) MessageType() string + type UpdateGroupCallParticipant struct + GroupCallID int32 + Participant *GroupCallParticipant + func NewUpdateGroupCallParticipant(groupCallID int32, participant *GroupCallParticipant) *UpdateGroupCallParticipant + func (updateGroupCallParticipant *UpdateGroupCallParticipant) GetUpdateEnum() UpdateEnum + func (updateGroupCallParticipant *UpdateGroupCallParticipant) MessageType() string + type UpdateHavePendingNotifications struct + HaveDelayedNotifications bool + HaveUnreceivedNotifications bool + func NewUpdateHavePendingNotifications(haveDelayedNotifications bool, haveUnreceivedNotifications bool) *UpdateHavePendingNotifications + func (updateHavePendingNotifications *UpdateHavePendingNotifications) GetUpdateEnum() UpdateEnum + func (updateHavePendingNotifications *UpdateHavePendingNotifications) MessageType() string + type UpdateInstalledStickerSets struct + IsMasks bool + StickerSetIDs []JSONInt64 + func NewUpdateInstalledStickerSets(isMasks bool, stickerSetIDs []JSONInt64) *UpdateInstalledStickerSets + func (updateInstalledStickerSets *UpdateInstalledStickerSets) GetUpdateEnum() UpdateEnum + func (updateInstalledStickerSets *UpdateInstalledStickerSets) MessageType() string + type UpdateLanguagePackStrings struct + LanguagePackID string + LocalizationTarget string + Strings []LanguagePackString + func NewUpdateLanguagePackStrings(localizationTarget string, languagePackID string, strings []LanguagePackString) *UpdateLanguagePackStrings + func (updateLanguagePackStrings *UpdateLanguagePackStrings) GetUpdateEnum() UpdateEnum + func (updateLanguagePackStrings *UpdateLanguagePackStrings) MessageType() string + type UpdateMessageContent struct + ChatID int64 + MessageID int64 + NewContent MessageContent + func NewUpdateMessageContent(chatID int64, messageID int64, newContent MessageContent) *UpdateMessageContent + func (updateMessageContent *UpdateMessageContent) GetUpdateEnum() UpdateEnum + func (updateMessageContent *UpdateMessageContent) MessageType() string + func (updateMessageContent *UpdateMessageContent) UnmarshalJSON(b []byte) error + type UpdateMessageContentOpened struct + ChatID int64 + MessageID int64 + func NewUpdateMessageContentOpened(chatID int64, messageID int64) *UpdateMessageContentOpened + func (updateMessageContentOpened *UpdateMessageContentOpened) GetUpdateEnum() UpdateEnum + func (updateMessageContentOpened *UpdateMessageContentOpened) MessageType() string + type UpdateMessageEdited struct + ChatID int64 + EditDate int32 + MessageID int64 + ReplyMarkup ReplyMarkup + func NewUpdateMessageEdited(chatID int64, messageID int64, editDate int32, replyMarkup ReplyMarkup) *UpdateMessageEdited + func (updateMessageEdited *UpdateMessageEdited) GetUpdateEnum() UpdateEnum + func (updateMessageEdited *UpdateMessageEdited) MessageType() string + func (updateMessageEdited *UpdateMessageEdited) UnmarshalJSON(b []byte) error + type UpdateMessageInteractionInfo struct + ChatID int64 + InteractionInfo *MessageInteractionInfo + MessageID int64 + func NewUpdateMessageInteractionInfo(chatID int64, messageID int64, interactionInfo *MessageInteractionInfo) *UpdateMessageInteractionInfo + func (updateMessageInteractionInfo *UpdateMessageInteractionInfo) GetUpdateEnum() UpdateEnum + func (updateMessageInteractionInfo *UpdateMessageInteractionInfo) MessageType() string + type UpdateMessageIsPinned struct + ChatID int64 + IsPinned bool + MessageID int64 + func NewUpdateMessageIsPinned(chatID int64, messageID int64, isPinned bool) *UpdateMessageIsPinned + func (updateMessageIsPinned *UpdateMessageIsPinned) GetUpdateEnum() UpdateEnum + func (updateMessageIsPinned *UpdateMessageIsPinned) MessageType() string + type UpdateMessageLiveLocationViewed struct + ChatID int64 + MessageID int64 + func NewUpdateMessageLiveLocationViewed(chatID int64, messageID int64) *UpdateMessageLiveLocationViewed + func (updateMessageLiveLocationViewed *UpdateMessageLiveLocationViewed) GetUpdateEnum() UpdateEnum + func (updateMessageLiveLocationViewed *UpdateMessageLiveLocationViewed) MessageType() string + type UpdateMessageMentionRead struct + ChatID int64 + MessageID int64 + UnreadMentionCount int32 + func NewUpdateMessageMentionRead(chatID int64, messageID int64, unreadMentionCount int32) *UpdateMessageMentionRead + func (updateMessageMentionRead *UpdateMessageMentionRead) GetUpdateEnum() UpdateEnum + func (updateMessageMentionRead *UpdateMessageMentionRead) MessageType() string + type UpdateMessageSendAcknowledged struct + ChatID int64 + MessageID int64 + func NewUpdateMessageSendAcknowledged(chatID int64, messageID int64) *UpdateMessageSendAcknowledged + func (updateMessageSendAcknowledged *UpdateMessageSendAcknowledged) GetUpdateEnum() UpdateEnum + func (updateMessageSendAcknowledged *UpdateMessageSendAcknowledged) MessageType() string + type UpdateMessageSendFailed struct + ErrorCode int32 + ErrorMessage string + Message *Message + OldMessageID int64 + func NewUpdateMessageSendFailed(message *Message, oldMessageID int64, errorCode int32, errorMessage string) *UpdateMessageSendFailed + func (updateMessageSendFailed *UpdateMessageSendFailed) GetUpdateEnum() UpdateEnum + func (updateMessageSendFailed *UpdateMessageSendFailed) MessageType() string + type UpdateMessageSendSucceeded struct + Message *Message + OldMessageID int64 + func NewUpdateMessageSendSucceeded(message *Message, oldMessageID int64) *UpdateMessageSendSucceeded + func (updateMessageSendSucceeded *UpdateMessageSendSucceeded) GetUpdateEnum() UpdateEnum + func (updateMessageSendSucceeded *UpdateMessageSendSucceeded) MessageType() string + type UpdateMsg struct + Data UpdateData + Raw []byte + type UpdateNewCallSignalingData struct + CallID int32 + Data []byte + func NewUpdateNewCallSignalingData(callID int32, data []byte) *UpdateNewCallSignalingData + func (updateNewCallSignalingData *UpdateNewCallSignalingData) GetUpdateEnum() UpdateEnum + func (updateNewCallSignalingData *UpdateNewCallSignalingData) MessageType() string + type UpdateNewCallbackQuery struct + ChatID int64 + ChatInstance JSONInt64 + ID JSONInt64 + MessageID int64 + Payload CallbackQueryPayload + SenderUserID int32 + func NewUpdateNewCallbackQuery(iD JSONInt64, senderUserID int32, chatID int64, messageID int64, ...) *UpdateNewCallbackQuery + func (updateNewCallbackQuery *UpdateNewCallbackQuery) GetUpdateEnum() UpdateEnum + func (updateNewCallbackQuery *UpdateNewCallbackQuery) MessageType() string + func (updateNewCallbackQuery *UpdateNewCallbackQuery) UnmarshalJSON(b []byte) error + type UpdateNewChat struct + Chat *Chat + func NewUpdateNewChat(chat *Chat) *UpdateNewChat + func (updateNewChat *UpdateNewChat) GetUpdateEnum() UpdateEnum + func (updateNewChat *UpdateNewChat) MessageType() string + type UpdateNewChosenInlineResult struct + InlineMessageID string + Query string + ResultID string + SenderUserID int32 + UserLocation *Location + func NewUpdateNewChosenInlineResult(senderUserID int32, userLocation *Location, query string, resultID string, ...) *UpdateNewChosenInlineResult + func (updateNewChosenInlineResult *UpdateNewChosenInlineResult) GetUpdateEnum() UpdateEnum + func (updateNewChosenInlineResult *UpdateNewChosenInlineResult) MessageType() string + type UpdateNewCustomEvent struct + Event string + func NewUpdateNewCustomEvent(event string) *UpdateNewCustomEvent + func (updateNewCustomEvent *UpdateNewCustomEvent) GetUpdateEnum() UpdateEnum + func (updateNewCustomEvent *UpdateNewCustomEvent) MessageType() string + type UpdateNewCustomQuery struct + Data string + ID JSONInt64 + Timeout int32 + func NewUpdateNewCustomQuery(iD JSONInt64, data string, timeout int32) *UpdateNewCustomQuery + func (updateNewCustomQuery *UpdateNewCustomQuery) GetUpdateEnum() UpdateEnum + func (updateNewCustomQuery *UpdateNewCustomQuery) MessageType() string + type UpdateNewInlineCallbackQuery struct + ChatInstance JSONInt64 + ID JSONInt64 + InlineMessageID string + Payload CallbackQueryPayload + SenderUserID int32 + func NewUpdateNewInlineCallbackQuery(iD JSONInt64, senderUserID int32, inlineMessageID string, ...) *UpdateNewInlineCallbackQuery + func (updateNewInlineCallbackQuery *UpdateNewInlineCallbackQuery) GetUpdateEnum() UpdateEnum + func (updateNewInlineCallbackQuery *UpdateNewInlineCallbackQuery) MessageType() string + func (updateNewInlineCallbackQuery *UpdateNewInlineCallbackQuery) UnmarshalJSON(b []byte) error + type UpdateNewInlineQuery struct + ChatType ChatType + ID JSONInt64 + Offset string + Query string + SenderUserID int32 + UserLocation *Location + func NewUpdateNewInlineQuery(iD JSONInt64, senderUserID int32, userLocation *Location, chatType ChatType, ...) *UpdateNewInlineQuery + func (updateNewInlineQuery *UpdateNewInlineQuery) GetUpdateEnum() UpdateEnum + func (updateNewInlineQuery *UpdateNewInlineQuery) MessageType() string + func (updateNewInlineQuery *UpdateNewInlineQuery) UnmarshalJSON(b []byte) error + type UpdateNewMessage struct + Message *Message + func NewUpdateNewMessage(message *Message) *UpdateNewMessage + func (updateNewMessage *UpdateNewMessage) GetUpdateEnum() UpdateEnum + func (updateNewMessage *UpdateNewMessage) MessageType() string + type UpdateNewPreCheckoutQuery struct + Currency string + ID JSONInt64 + InvoicePayload []byte + OrderInfo *OrderInfo + SenderUserID int32 + ShippingOptionID string + TotalAmount int64 + func NewUpdateNewPreCheckoutQuery(iD JSONInt64, senderUserID int32, currency string, totalAmount int64, ...) *UpdateNewPreCheckoutQuery + func (updateNewPreCheckoutQuery *UpdateNewPreCheckoutQuery) GetUpdateEnum() UpdateEnum + func (updateNewPreCheckoutQuery *UpdateNewPreCheckoutQuery) MessageType() string + type UpdateNewShippingQuery struct + ID JSONInt64 + InvoicePayload string + SenderUserID int32 + ShippingAddress *Address + func NewUpdateNewShippingQuery(iD JSONInt64, senderUserID int32, invoicePayload string, ...) *UpdateNewShippingQuery + func (updateNewShippingQuery *UpdateNewShippingQuery) GetUpdateEnum() UpdateEnum + func (updateNewShippingQuery *UpdateNewShippingQuery) MessageType() string + type UpdateNotification struct + Notification *Notification + NotificationGroupID int32 + func NewUpdateNotification(notificationGroupID int32, notification *Notification) *UpdateNotification + func (updateNotification *UpdateNotification) GetUpdateEnum() UpdateEnum + func (updateNotification *UpdateNotification) MessageType() string + type UpdateNotificationGroup struct + AddedNotifications []Notification + ChatID int64 + IsSilent bool + NotificationGroupID int32 + NotificationSettingsChatID int64 + RemovedNotificationIDs []int32 + TotalCount int32 + Type NotificationGroupType + func NewUpdateNotificationGroup(notificationGroupID int32, typeParam NotificationGroupType, chatID int64, ...) *UpdateNotificationGroup + func (updateNotificationGroup *UpdateNotificationGroup) GetUpdateEnum() UpdateEnum + func (updateNotificationGroup *UpdateNotificationGroup) MessageType() string + func (updateNotificationGroup *UpdateNotificationGroup) UnmarshalJSON(b []byte) error + type UpdateOption struct + Name string + Value OptionValue + func NewUpdateOption(name string, value OptionValue) *UpdateOption + func (updateOption *UpdateOption) GetUpdateEnum() UpdateEnum + func (updateOption *UpdateOption) MessageType() string + func (updateOption *UpdateOption) UnmarshalJSON(b []byte) error + type UpdatePoll struct + Poll *Poll + func NewUpdatePoll(poll *Poll) *UpdatePoll + func (updatePoll *UpdatePoll) GetUpdateEnum() UpdateEnum + func (updatePoll *UpdatePoll) MessageType() string + type UpdatePollAnswer struct + OptionIDs []int32 + PollID JSONInt64 + UserID int32 + func NewUpdatePollAnswer(pollID JSONInt64, userID int32, optionIDs []int32) *UpdatePollAnswer + func (updatePollAnswer *UpdatePollAnswer) GetUpdateEnum() UpdateEnum + func (updatePollAnswer *UpdatePollAnswer) MessageType() string + type UpdateRecentStickers struct + IsAttached bool + StickerIDs []int32 + func NewUpdateRecentStickers(isAttached bool, stickerIDs []int32) *UpdateRecentStickers + func (updateRecentStickers *UpdateRecentStickers) GetUpdateEnum() UpdateEnum + func (updateRecentStickers *UpdateRecentStickers) MessageType() string + type UpdateSavedAnimations struct + AnimationIDs []int32 + func NewUpdateSavedAnimations(animationIDs []int32) *UpdateSavedAnimations + func (updateSavedAnimations *UpdateSavedAnimations) GetUpdateEnum() UpdateEnum + func (updateSavedAnimations *UpdateSavedAnimations) MessageType() string + type UpdateScopeNotificationSettings struct + NotificationSettings *ScopeNotificationSettings + Scope NotificationSettingsScope + func NewUpdateScopeNotificationSettings(scope NotificationSettingsScope, ...) *UpdateScopeNotificationSettings + func (updateScopeNotificationSettings *UpdateScopeNotificationSettings) GetUpdateEnum() UpdateEnum + func (updateScopeNotificationSettings *UpdateScopeNotificationSettings) MessageType() string + func (updateScopeNotificationSettings *UpdateScopeNotificationSettings) UnmarshalJSON(b []byte) error + type UpdateSecretChat struct + SecretChat *SecretChat + func NewUpdateSecretChat(secretChat *SecretChat) *UpdateSecretChat + func (updateSecretChat *UpdateSecretChat) GetUpdateEnum() UpdateEnum + func (updateSecretChat *UpdateSecretChat) MessageType() string + type UpdateSelectedBackground struct + Background *Background + ForDarkTheme bool + func NewUpdateSelectedBackground(forDarkTheme bool, background *Background) *UpdateSelectedBackground + func (updateSelectedBackground *UpdateSelectedBackground) GetUpdateEnum() UpdateEnum + func (updateSelectedBackground *UpdateSelectedBackground) MessageType() string + type UpdateServiceNotification struct + Content MessageContent + Type string + func NewUpdateServiceNotification(typeParam string, content MessageContent) *UpdateServiceNotification + func (updateServiceNotification *UpdateServiceNotification) GetUpdateEnum() UpdateEnum + func (updateServiceNotification *UpdateServiceNotification) MessageType() string + func (updateServiceNotification *UpdateServiceNotification) UnmarshalJSON(b []byte) error + type UpdateStickerSet struct + StickerSet *StickerSet + func NewUpdateStickerSet(stickerSet *StickerSet) *UpdateStickerSet + func (updateStickerSet *UpdateStickerSet) GetUpdateEnum() UpdateEnum + func (updateStickerSet *UpdateStickerSet) MessageType() string + type UpdateSuggestedActions struct + AddedActions []SuggestedAction + RemovedActions []SuggestedAction + func NewUpdateSuggestedActions(addedActions []SuggestedAction, removedActions []SuggestedAction) *UpdateSuggestedActions + func (updateSuggestedActions *UpdateSuggestedActions) GetUpdateEnum() UpdateEnum + func (updateSuggestedActions *UpdateSuggestedActions) MessageType() string + type UpdateSupergroup struct + Supergroup *Supergroup + func NewUpdateSupergroup(supergroup *Supergroup) *UpdateSupergroup + func (updateSupergroup *UpdateSupergroup) GetUpdateEnum() UpdateEnum + func (updateSupergroup *UpdateSupergroup) MessageType() string + type UpdateSupergroupFullInfo struct + SupergroupFullInfo *SupergroupFullInfo + SupergroupID int32 + func NewUpdateSupergroupFullInfo(supergroupID int32, supergroupFullInfo *SupergroupFullInfo) *UpdateSupergroupFullInfo + func (updateSupergroupFullInfo *UpdateSupergroupFullInfo) GetUpdateEnum() UpdateEnum + func (updateSupergroupFullInfo *UpdateSupergroupFullInfo) MessageType() string + type UpdateTermsOfService struct + TermsOfService *TermsOfService + TermsOfServiceID string + func NewUpdateTermsOfService(termsOfServiceID string, termsOfService *TermsOfService) *UpdateTermsOfService + func (updateTermsOfService *UpdateTermsOfService) GetUpdateEnum() UpdateEnum + func (updateTermsOfService *UpdateTermsOfService) MessageType() string + type UpdateTrendingStickerSets struct + StickerSets *StickerSets + func NewUpdateTrendingStickerSets(stickerSets *StickerSets) *UpdateTrendingStickerSets + func (updateTrendingStickerSets *UpdateTrendingStickerSets) GetUpdateEnum() UpdateEnum + func (updateTrendingStickerSets *UpdateTrendingStickerSets) MessageType() string + type UpdateUnreadChatCount struct + ChatList ChatList + MarkedAsUnreadCount int32 + MarkedAsUnreadUnmutedCount int32 + TotalCount int32 + UnreadCount int32 + UnreadUnmutedCount int32 + func NewUpdateUnreadChatCount(chatList ChatList, totalCount int32, unreadCount int32, ...) *UpdateUnreadChatCount + func (updateUnreadChatCount *UpdateUnreadChatCount) GetUpdateEnum() UpdateEnum + func (updateUnreadChatCount *UpdateUnreadChatCount) MessageType() string + func (updateUnreadChatCount *UpdateUnreadChatCount) UnmarshalJSON(b []byte) error + type UpdateUnreadMessageCount struct + ChatList ChatList + UnreadCount int32 + UnreadUnmutedCount int32 + func NewUpdateUnreadMessageCount(chatList ChatList, unreadCount int32, unreadUnmutedCount int32) *UpdateUnreadMessageCount + func (updateUnreadMessageCount *UpdateUnreadMessageCount) GetUpdateEnum() UpdateEnum + func (updateUnreadMessageCount *UpdateUnreadMessageCount) MessageType() string + func (updateUnreadMessageCount *UpdateUnreadMessageCount) UnmarshalJSON(b []byte) error + type UpdateUser struct + User *User + func NewUpdateUser(user *User) *UpdateUser + func (updateUser *UpdateUser) GetUpdateEnum() UpdateEnum + func (updateUser *UpdateUser) MessageType() string + type UpdateUserChatAction struct + Action ChatAction + ChatID int64 + MessageThreadID int64 + UserID int32 + func NewUpdateUserChatAction(chatID int64, messageThreadID int64, userID int32, action ChatAction) *UpdateUserChatAction + func (updateUserChatAction *UpdateUserChatAction) GetUpdateEnum() UpdateEnum + func (updateUserChatAction *UpdateUserChatAction) MessageType() string + func (updateUserChatAction *UpdateUserChatAction) UnmarshalJSON(b []byte) error + type UpdateUserFullInfo struct + UserFullInfo *UserFullInfo + UserID int32 + func NewUpdateUserFullInfo(userID int32, userFullInfo *UserFullInfo) *UpdateUserFullInfo + func (updateUserFullInfo *UpdateUserFullInfo) GetUpdateEnum() UpdateEnum + func (updateUserFullInfo *UpdateUserFullInfo) MessageType() string + type UpdateUserPrivacySettingRules struct + Rules *UserPrivacySettingRules + Setting UserPrivacySetting + func NewUpdateUserPrivacySettingRules(setting UserPrivacySetting, rules *UserPrivacySettingRules) *UpdateUserPrivacySettingRules + func (updateUserPrivacySettingRules *UpdateUserPrivacySettingRules) GetUpdateEnum() UpdateEnum + func (updateUserPrivacySettingRules *UpdateUserPrivacySettingRules) MessageType() string + func (updateUserPrivacySettingRules *UpdateUserPrivacySettingRules) UnmarshalJSON(b []byte) error + type UpdateUserStatus struct + Status UserStatus + UserID int32 + func NewUpdateUserStatus(userID int32, status UserStatus) *UpdateUserStatus + func (updateUserStatus *UpdateUserStatus) GetUpdateEnum() UpdateEnum + func (updateUserStatus *UpdateUserStatus) MessageType() string + func (updateUserStatus *UpdateUserStatus) UnmarshalJSON(b []byte) error + type UpdateUsersNearby struct + UsersNearby []ChatNearby + func NewUpdateUsersNearby(usersNearby []ChatNearby) *UpdateUsersNearby + func (updateUsersNearby *UpdateUsersNearby) GetUpdateEnum() UpdateEnum + func (updateUsersNearby *UpdateUsersNearby) MessageType() string + type Updates struct + Updates []Update + func NewUpdates(updates []Update) *Updates + func (updates *Updates) MessageType() string + type User struct + FirstName string + HaveAccess bool + ID int32 + IsContact bool + IsFake bool + IsMutualContact bool + IsScam bool + IsSupport bool + IsVerified bool + LanguageCode string + LastName string + PhoneNumber string + ProfilePhoto *ProfilePhoto + RestrictionReason string + Status UserStatus + Type UserType + Username string + func NewUser(iD int32, firstName string, lastName string, username string, ...) *User + func (user *User) MessageType() string + func (user *User) UnmarshalJSON(b []byte) error + type UserFullInfo struct + Bio string + BotInfo *BotInfo + CanBeCalled bool + GroupInCommonCount int32 + HasPrivateCalls bool + IsBlocked bool + NeedPhoneNumberPrivacyException bool + Photo *ChatPhoto + ShareText string + SupportsVideoCalls bool + func NewUserFullInfo(photo *ChatPhoto, isBlocked bool, canBeCalled bool, supportsVideoCalls bool, ...) *UserFullInfo + func (userFullInfo *UserFullInfo) MessageType() string + type UserPrivacySetting interface + GetUserPrivacySettingEnum func() UserPrivacySettingEnum + type UserPrivacySettingAllowCalls struct + func NewUserPrivacySettingAllowCalls() *UserPrivacySettingAllowCalls + func (userPrivacySettingAllowCalls *UserPrivacySettingAllowCalls) GetUserPrivacySettingEnum() UserPrivacySettingEnum + func (userPrivacySettingAllowCalls *UserPrivacySettingAllowCalls) MessageType() string + type UserPrivacySettingAllowChatInvites struct + func NewUserPrivacySettingAllowChatInvites() *UserPrivacySettingAllowChatInvites + func (userPrivacySettingAllowChatInvites *UserPrivacySettingAllowChatInvites) GetUserPrivacySettingEnum() UserPrivacySettingEnum + func (userPrivacySettingAllowChatInvites *UserPrivacySettingAllowChatInvites) MessageType() string + type UserPrivacySettingAllowFindingByPhoneNumber struct + func NewUserPrivacySettingAllowFindingByPhoneNumber() *UserPrivacySettingAllowFindingByPhoneNumber + func (userPrivacySettingAllowFindingByPhoneNumber *UserPrivacySettingAllowFindingByPhoneNumber) GetUserPrivacySettingEnum() UserPrivacySettingEnum + func (userPrivacySettingAllowFindingByPhoneNumber *UserPrivacySettingAllowFindingByPhoneNumber) MessageType() string + type UserPrivacySettingAllowPeerToPeerCalls struct + func NewUserPrivacySettingAllowPeerToPeerCalls() *UserPrivacySettingAllowPeerToPeerCalls + func (userPrivacySettingAllowPeerToPeerCalls *UserPrivacySettingAllowPeerToPeerCalls) GetUserPrivacySettingEnum() UserPrivacySettingEnum + func (userPrivacySettingAllowPeerToPeerCalls *UserPrivacySettingAllowPeerToPeerCalls) MessageType() string + type UserPrivacySettingEnum string + const UserPrivacySettingAllowCallsType + const UserPrivacySettingAllowChatInvitesType + const UserPrivacySettingAllowFindingByPhoneNumberType + const UserPrivacySettingAllowPeerToPeerCallsType + const UserPrivacySettingShowLinkInForwardedMessagesType + const UserPrivacySettingShowPhoneNumberType + const UserPrivacySettingShowProfilePhotoType + const UserPrivacySettingShowStatusType + type UserPrivacySettingRule interface + GetUserPrivacySettingRuleEnum func() UserPrivacySettingRuleEnum + type UserPrivacySettingRuleAllowAll struct + func NewUserPrivacySettingRuleAllowAll() *UserPrivacySettingRuleAllowAll + func (userPrivacySettingRuleAllowAll *UserPrivacySettingRuleAllowAll) GetUserPrivacySettingRuleEnum() UserPrivacySettingRuleEnum + func (userPrivacySettingRuleAllowAll *UserPrivacySettingRuleAllowAll) MessageType() string + type UserPrivacySettingRuleAllowChatMembers struct + ChatIDs []int64 + func NewUserPrivacySettingRuleAllowChatMembers(chatIDs []int64) *UserPrivacySettingRuleAllowChatMembers + func (userPrivacySettingRuleAllowChatMembers *UserPrivacySettingRuleAllowChatMembers) GetUserPrivacySettingRuleEnum() UserPrivacySettingRuleEnum + func (userPrivacySettingRuleAllowChatMembers *UserPrivacySettingRuleAllowChatMembers) MessageType() string + type UserPrivacySettingRuleAllowContacts struct + func NewUserPrivacySettingRuleAllowContacts() *UserPrivacySettingRuleAllowContacts + func (userPrivacySettingRuleAllowContacts *UserPrivacySettingRuleAllowContacts) GetUserPrivacySettingRuleEnum() UserPrivacySettingRuleEnum + func (userPrivacySettingRuleAllowContacts *UserPrivacySettingRuleAllowContacts) MessageType() string + type UserPrivacySettingRuleAllowUsers struct + UserIDs []int32 + func NewUserPrivacySettingRuleAllowUsers(userIDs []int32) *UserPrivacySettingRuleAllowUsers + func (userPrivacySettingRuleAllowUsers *UserPrivacySettingRuleAllowUsers) GetUserPrivacySettingRuleEnum() UserPrivacySettingRuleEnum + func (userPrivacySettingRuleAllowUsers *UserPrivacySettingRuleAllowUsers) MessageType() string + type UserPrivacySettingRuleEnum string + const UserPrivacySettingRuleAllowAllType + const UserPrivacySettingRuleAllowChatMembersType + const UserPrivacySettingRuleAllowContactsType + const UserPrivacySettingRuleAllowUsersType + const UserPrivacySettingRuleRestrictAllType + const UserPrivacySettingRuleRestrictChatMembersType + const UserPrivacySettingRuleRestrictContactsType + const UserPrivacySettingRuleRestrictUsersType + type UserPrivacySettingRuleRestrictAll struct + func NewUserPrivacySettingRuleRestrictAll() *UserPrivacySettingRuleRestrictAll + func (userPrivacySettingRuleRestrictAll *UserPrivacySettingRuleRestrictAll) GetUserPrivacySettingRuleEnum() UserPrivacySettingRuleEnum + func (userPrivacySettingRuleRestrictAll *UserPrivacySettingRuleRestrictAll) MessageType() string + type UserPrivacySettingRuleRestrictChatMembers struct + ChatIDs []int64 + func NewUserPrivacySettingRuleRestrictChatMembers(chatIDs []int64) *UserPrivacySettingRuleRestrictChatMembers + func (userPrivacySettingRuleRestrictChatMembers *UserPrivacySettingRuleRestrictChatMembers) GetUserPrivacySettingRuleEnum() UserPrivacySettingRuleEnum + func (userPrivacySettingRuleRestrictChatMembers *UserPrivacySettingRuleRestrictChatMembers) MessageType() string + type UserPrivacySettingRuleRestrictContacts struct + func NewUserPrivacySettingRuleRestrictContacts() *UserPrivacySettingRuleRestrictContacts + func (userPrivacySettingRuleRestrictContacts *UserPrivacySettingRuleRestrictContacts) GetUserPrivacySettingRuleEnum() UserPrivacySettingRuleEnum + func (userPrivacySettingRuleRestrictContacts *UserPrivacySettingRuleRestrictContacts) MessageType() string + type UserPrivacySettingRuleRestrictUsers struct + UserIDs []int32 + func NewUserPrivacySettingRuleRestrictUsers(userIDs []int32) *UserPrivacySettingRuleRestrictUsers + func (userPrivacySettingRuleRestrictUsers *UserPrivacySettingRuleRestrictUsers) GetUserPrivacySettingRuleEnum() UserPrivacySettingRuleEnum + func (userPrivacySettingRuleRestrictUsers *UserPrivacySettingRuleRestrictUsers) MessageType() string + type UserPrivacySettingRules struct + Rules []UserPrivacySettingRule + func NewUserPrivacySettingRules(rules []UserPrivacySettingRule) *UserPrivacySettingRules + func (userPrivacySettingRules *UserPrivacySettingRules) MessageType() string + type UserPrivacySettingShowLinkInForwardedMessages struct + func NewUserPrivacySettingShowLinkInForwardedMessages() *UserPrivacySettingShowLinkInForwardedMessages + func (userPrivacySettingShowLinkInForwardedMessages *UserPrivacySettingShowLinkInForwardedMessages) GetUserPrivacySettingEnum() UserPrivacySettingEnum + func (userPrivacySettingShowLinkInForwardedMessages *UserPrivacySettingShowLinkInForwardedMessages) MessageType() string + type UserPrivacySettingShowPhoneNumber struct + func NewUserPrivacySettingShowPhoneNumber() *UserPrivacySettingShowPhoneNumber + func (userPrivacySettingShowPhoneNumber *UserPrivacySettingShowPhoneNumber) GetUserPrivacySettingEnum() UserPrivacySettingEnum + func (userPrivacySettingShowPhoneNumber *UserPrivacySettingShowPhoneNumber) MessageType() string + type UserPrivacySettingShowProfilePhoto struct + func NewUserPrivacySettingShowProfilePhoto() *UserPrivacySettingShowProfilePhoto + func (userPrivacySettingShowProfilePhoto *UserPrivacySettingShowProfilePhoto) GetUserPrivacySettingEnum() UserPrivacySettingEnum + func (userPrivacySettingShowProfilePhoto *UserPrivacySettingShowProfilePhoto) MessageType() string + type UserPrivacySettingShowStatus struct + func NewUserPrivacySettingShowStatus() *UserPrivacySettingShowStatus + func (userPrivacySettingShowStatus *UserPrivacySettingShowStatus) GetUserPrivacySettingEnum() UserPrivacySettingEnum + func (userPrivacySettingShowStatus *UserPrivacySettingShowStatus) MessageType() string + type UserStatus interface + GetUserStatusEnum func() UserStatusEnum + type UserStatusEmpty struct + func NewUserStatusEmpty() *UserStatusEmpty + func (userStatusEmpty *UserStatusEmpty) GetUserStatusEnum() UserStatusEnum + func (userStatusEmpty *UserStatusEmpty) MessageType() string + type UserStatusEnum string + const UserStatusEmptyType + const UserStatusLastMonthType + const UserStatusLastWeekType + const UserStatusOfflineType + const UserStatusOnlineType + const UserStatusRecentlyType + type UserStatusLastMonth struct + func NewUserStatusLastMonth() *UserStatusLastMonth + func (userStatusLastMonth *UserStatusLastMonth) GetUserStatusEnum() UserStatusEnum + func (userStatusLastMonth *UserStatusLastMonth) MessageType() string + type UserStatusLastWeek struct + func NewUserStatusLastWeek() *UserStatusLastWeek + func (userStatusLastWeek *UserStatusLastWeek) GetUserStatusEnum() UserStatusEnum + func (userStatusLastWeek *UserStatusLastWeek) MessageType() string + type UserStatusOffline struct + WasOnline int32 + func NewUserStatusOffline(wasOnline int32) *UserStatusOffline + func (userStatusOffline *UserStatusOffline) GetUserStatusEnum() UserStatusEnum + func (userStatusOffline *UserStatusOffline) MessageType() string + type UserStatusOnline struct + Expires int32 + func NewUserStatusOnline(expires int32) *UserStatusOnline + func (userStatusOnline *UserStatusOnline) GetUserStatusEnum() UserStatusEnum + func (userStatusOnline *UserStatusOnline) MessageType() string + type UserStatusRecently struct + func NewUserStatusRecently() *UserStatusRecently + func (userStatusRecently *UserStatusRecently) GetUserStatusEnum() UserStatusEnum + func (userStatusRecently *UserStatusRecently) MessageType() string + type UserType interface + GetUserTypeEnum func() UserTypeEnum + type UserTypeBot struct + CanJoinGroups bool + CanReadAllGroupMessages bool + InlineQueryPlaceholder string + IsInline bool + NeedLocation bool + func NewUserTypeBot(canJoinGroups bool, canReadAllGroupMessages bool, isInline bool, ...) *UserTypeBot + func (userTypeBot *UserTypeBot) GetUserTypeEnum() UserTypeEnum + func (userTypeBot *UserTypeBot) MessageType() string + type UserTypeDeleted struct + func NewUserTypeDeleted() *UserTypeDeleted + func (userTypeDeleted *UserTypeDeleted) GetUserTypeEnum() UserTypeEnum + func (userTypeDeleted *UserTypeDeleted) MessageType() string + type UserTypeEnum string + const UserTypeBotType + const UserTypeDeletedType + const UserTypeRegularType + const UserTypeUnknownType + type UserTypeRegular struct + func NewUserTypeRegular() *UserTypeRegular + func (userTypeRegular *UserTypeRegular) GetUserTypeEnum() UserTypeEnum + func (userTypeRegular *UserTypeRegular) MessageType() string + type UserTypeUnknown struct + func NewUserTypeUnknown() *UserTypeUnknown + func (userTypeUnknown *UserTypeUnknown) GetUserTypeEnum() UserTypeEnum + func (userTypeUnknown *UserTypeUnknown) MessageType() string + type Users struct + TotalCount int32 + UserIDs []int32 + func NewUsers(totalCount int32, userIDs []int32) *Users + func (users *Users) MessageType() string + type ValidatedOrderInfo struct + OrderInfoID string + ShippingOptions []ShippingOption + func NewValidatedOrderInfo(orderInfoID string, shippingOptions []ShippingOption) *ValidatedOrderInfo + func (validatedOrderInfo *ValidatedOrderInfo) MessageType() string + type VectorPathCommand interface + GetVectorPathCommandEnum func() VectorPathCommandEnum + type VectorPathCommandCubicBezierCurve struct + EndControlPoint *Point + EndPoint *Point + StartControlPoint *Point + func NewVectorPathCommandCubicBezierCurve(startControlPoint *Point, endControlPoint *Point, endPoint *Point) *VectorPathCommandCubicBezierCurve + func (vectorPathCommandCubicBezierCurve *VectorPathCommandCubicBezierCurve) GetVectorPathCommandEnum() VectorPathCommandEnum + func (vectorPathCommandCubicBezierCurve *VectorPathCommandCubicBezierCurve) MessageType() string + type VectorPathCommandEnum string + const VectorPathCommandCubicBezierCurveType + const VectorPathCommandLineType + type VectorPathCommandLine struct + EndPoint *Point + func NewVectorPathCommandLine(endPoint *Point) *VectorPathCommandLine + func (vectorPathCommandLine *VectorPathCommandLine) GetVectorPathCommandEnum() VectorPathCommandEnum + func (vectorPathCommandLine *VectorPathCommandLine) MessageType() string + type Venue struct + Address string + ID string + Location *Location + Provider string + Title string + Type string + func NewVenue(location *Location, title string, address string, provider string, iD string, ...) *Venue + func (venue *Venue) MessageType() string + type Video struct + Duration int32 + FileName string + HasStickers bool + Height int32 + MimeType string + Minithumbnail *Minithumbnail + SupportsStreaming bool + Thumbnail *Thumbnail + Video *File + Width int32 + func NewVideo(duration int32, width int32, height int32, fileName string, mimeType string, ...) *Video + func (video *Video) MessageType() string + type VideoNote struct + Duration int32 + Length int32 + Minithumbnail *Minithumbnail + Thumbnail *Thumbnail + Video *File + func NewVideoNote(duration int32, length int32, minithumbnail *Minithumbnail, ...) *VideoNote + func (videoNote *VideoNote) MessageType() string + type VoiceNote struct + Duration int32 + MimeType string + Voice *File + Waveform []byte + func NewVoiceNote(duration int32, waveform []byte, mimeType string, voice *File) *VoiceNote + func (voiceNote *VoiceNote) MessageType() string + type WebPage struct + Animation *Animation + Audio *Audio + Author string + Description *FormattedText + DisplayURL string + Document *Document + Duration int32 + EmbedHeight int32 + EmbedType string + EmbedURL string + EmbedWidth int32 + InstantViewVersion int32 + Photo *Photo + SiteName string + Sticker *Sticker + Title string + Type string + URL string + Video *Video + VideoNote *VideoNote + VoiceNote *VoiceNote + func NewWebPage(uRL string, displayURL string, typeParam string, siteName string, title string, ...) *WebPage + func (webPage *WebPage) MessageType() string + type WebPageInstantView struct + IsFull bool + IsRtl bool + PageBlocks []PageBlock + Version int32 + ViewCount int32 + func NewWebPageInstantView(pageBlocks []PageBlock, viewCount int32, version int32, isRtl bool, ...) *WebPageInstantView + func (webPageInstantView *WebPageInstantView) MessageType() string