Documentation
¶
Index ¶
- Constants
- Variables
- func DecodeBuf_GenericObject[T TL](m *DecodeBuf) T
- func DecodeBuf_GenericVector[T TL](m *DecodeBuf) []T
- func DerefOr[T any](val *T, defaultVal T) T
- func EncodeBuf_GenericVector[T TL](e *EncodeBuf, v []T)
- func IsClosedConnErr(err error) bool
- func IsError(obj TL, message string) bool
- func IsErrorType(obj TL, code int32) bool
- func IsFloodError(tlOrErr any) (time.Duration, bool)
- func IsWrongClientTimeError(tlOrErr any) bool
- func Ref[T any](val T) *T
- func Sprint(obj TL) string
- func UnexpectedTL(name string, obj TL) string
- func UnwrapWrongRespError[T TL](err error) (T, bool)
- func WrongRespError(obj TL) error
- type AppConfig
- type AuthDataProvider
- type ColorLogHandler
- type DecodeBuf
- func (m *DecodeBuf) BigInt() *big.Int
- func (m *DecodeBuf) Bool() bool
- func (m *DecodeBuf) Bytes(size int) []byte
- func (m *DecodeBuf) Bytes16() [16]byte
- func (m *DecodeBuf) Bytes32() [32]byte
- func (m *DecodeBuf) BytesTo(dest []byte) []byte
- func (m *DecodeBuf) Double() float64
- func (m *DecodeBuf) Err() error
- func (m *DecodeBuf) Int() int32
- func (m *DecodeBuf) Long() int64
- func (m *DecodeBuf) Object() TL
- func (m *DecodeBuf) ObjectGenerated(constructor uint32) (r TL)
- func (m *DecodeBuf) RemainingLen() int
- func (m *DecodeBuf) SeekBack(n int)
- func (m *DecodeBuf) String() string
- func (m *DecodeBuf) StringBytes() []byte
- func (m *DecodeBuf) UInt() uint32
- func (m *DecodeBuf) Vector() []TL
- func (m *DecodeBuf) Vector2d() [][]TL
- func (m *DecodeBuf) VectorBytes() [][]byte
- func (m *DecodeBuf) VectorInt() []int32
- func (m *DecodeBuf) VectorLong() []int64
- func (m *DecodeBuf) VectorString() []string
- type EncodeBuf
- func (e *EncodeBuf) BigInt(s *big.Int)
- func (e *EncodeBuf) Bool(s bool)
- func (e *EncodeBuf) Buf() []byte
- func (e *EncodeBuf) Bytes(s []byte)
- func (e *EncodeBuf) Bytes16(s [16]byte)
- func (e *EncodeBuf) Bytes32(s [32]byte)
- func (e *EncodeBuf) Double(s float64)
- func (e *EncodeBuf) Int(s int32)
- func (e *EncodeBuf) Long(s int64)
- func (e *EncodeBuf) Object(obj TL)
- func (e *EncodeBuf) String(s string)
- func (e *EncodeBuf) StringBytes(s []byte)
- func (e *EncodeBuf) UInt(s uint32)
- func (e *EncodeBuf) Vector(v []TL)
- func (e *EncodeBuf) Vector2d(v [][]TL)
- func (e *EncodeBuf) VectorBytes(v [][]byte)
- func (e *EncodeBuf) VectorInt(v []int32)
- func (e *EncodeBuf) VectorLong(v []int64)
- func (e *EncodeBuf) VectorString(v []string)
- type LogHandler
- type LogLevel
- type Logger
- type MTParams
- type MTProto
- func (m *MTProto) Auth(authData AuthDataProvider) error
- func (m *MTProto) Connect() error
- func (m *MTProto) CopySession() *SessionInfo
- func (m *MTProto) DCAddr(dcID int32, ipv6 bool) (string, bool)
- func (m *MTProto) Disconnect() error
- func (m *MTProto) GetContacts() error
- func (m *MTProto) InitSessAndConnect() error
- func (m *MTProto) InitSession(sessEncrIsReady bool) error
- func (m *MTProto) NewConnection(dcID int32) (*MTProto, error)
- func (m *MTProto) Reconnect() error
- func (m *MTProto) SaveSessionLogged()
- func (m *MTProto) Send(msg TLReq) chan TL
- func (m *MTProto) SendSync(msg TLReq) TL
- func (m *MTProto) SendSyncRetry(msg TLReq, failRetryInterval time.Duration, floodNumShortRetries int, ...) TL
- func (m *MTProto) SetEventsHandler(handler func(TL))
- func (m *MTProto) SetReconnectionHandler(handler func() error)
- type NoopLogHandler
- type ScanfAuthDataProvider
- type SessFileStore
- type SessFileStoreExt
- type SessNoopStore
- type SessionInfo
- type SessionStore
- type SimpleLogHandler
- func (h SimpleLogHandler) AddLevelPrevix(level LogLevel, text string) string
- func (h SimpleLogHandler) Log(level LogLevel, err error, msg string, args ...interface{})
- func (h SimpleLogHandler) Message(isIncoming bool, msg TL, id int64)
- func (h SimpleLogHandler) StringifyLog(level LogLevel, err error, msg string, args ...interface{}) string
- func (h SimpleLogHandler) StringifyMessage(isIncoming bool, msg TL, id int64) string
- func (h SimpleLogHandler) TLName(obj interface{}) string
- type TL
- type TLReq
- type TL_accessPointRule
- type TL_accountDaysTTL
- type TL_account_acceptAuthorization
- type TL_account_authorizationForm
- type TL_account_authorizations
- type TL_account_autoDownloadSettings
- type TL_account_autoSaveSettings
- type TL_account_businessChatLinks
- type TL_account_cancelPasswordEmail
- type TL_account_changeAuthorizationSettings
- type TL_account_changePhone
- type TL_account_chatThemes
- type TL_account_chatThemesNotModified
- type TL_account_checkUsername
- type TL_account_clearRecentEmojiStatuses
- type TL_account_confirmPasswordEmail
- type TL_account_confirmPhone
- type TL_account_connectedBots
- type TL_account_contentSettings
- type TL_account_createBusinessChatLink
- type TL_account_createTheme
- type TL_account_declinePasswordReset
- type TL_account_deleteAccount
- type TL_account_deleteAutoSaveExceptions
- type TL_account_deleteBusinessChatLink
- type TL_account_deletePasskey
- type TL_account_deleteSecureValue
- type TL_account_disablePeerConnectedBot
- type TL_account_editBusinessChatLink
- type TL_account_emailVerified
- type TL_account_emailVerifiedLogin
- type TL_account_emojiStatuses
- type TL_account_emojiStatusesNotModified
- type TL_account_finishTakeoutSession
- type TL_account_getAccountTTL
- type TL_account_getAllSecureValues
- type TL_account_getAuthorizationForm
- type TL_account_getAuthorizations
- type TL_account_getAutoDownloadSettings
- type TL_account_getAutoSaveSettings
- type TL_account_getBotBusinessConnection
- type TL_account_getBusinessChatLinks
- type TL_account_getChannelDefaultEmojiStatuses
- type TL_account_getChannelRestrictedStatusEmojis
- type TL_account_getChatThemes
- type TL_account_getCollectibleEmojiStatuses
- type TL_account_getConnectedBots
- type TL_account_getContactSignUpNotification
- type TL_account_getContentSettings
- type TL_account_getDefaultBackgroundEmojis
- type TL_account_getDefaultEmojiStatuses
- type TL_account_getDefaultGroupPhotoEmojis
- type TL_account_getDefaultProfilePhotoEmojis
- type TL_account_getGlobalPrivacySettings
- type TL_account_getMultiWallPapers
- type TL_account_getNotifyExceptions
- type TL_account_getNotifySettings
- type TL_account_getPaidMessagesRevenue
- type TL_account_getPasskeys
- type TL_account_getPassword
- type TL_account_getPasswordSettings
- type TL_account_getPrivacy
- type TL_account_getReactionsNotifySettings
- type TL_account_getRecentEmojiStatuses
- type TL_account_getSavedMusicIDs
- type TL_account_getSavedRingtones
- type TL_account_getSecureValue
- type TL_account_getTheme
- type TL_account_getThemes
- type TL_account_getTmpPassword
- type TL_account_getUniqueGiftChatThemes
- type TL_account_getWallPaper
- type TL_account_getWallPapers
- type TL_account_getWebAuthorizations
- type TL_account_initPasskeyRegistration
- type TL_account_initTakeoutSession
- type TL_account_installTheme
- type TL_account_installWallPaper
- type TL_account_invalidateSignInCodes
- type TL_account_paidMessagesRevenue
- type TL_account_passkeyRegistrationOptions
- type TL_account_passkeys
- type TL_account_password
- type TL_account_passwordInputSettings
- type TL_account_passwordSettings
- type TL_account_privacyRules
- type TL_account_registerDevice
- type TL_account_registerPasskey
- type TL_account_reorderUsernames
- type TL_account_reportPeer
- type TL_account_reportProfilePhoto
- type TL_account_resendPasswordEmail
- type TL_account_resetAuthorization
- type TL_account_resetNotifySettings
- type TL_account_resetPassword
- type TL_account_resetPasswordFailedWait
- type TL_account_resetPasswordOK
- type TL_account_resetPasswordRequestedWait
- type TL_account_resetWallPapers
- type TL_account_resetWebAuthorization
- type TL_account_resetWebAuthorizations
- type TL_account_resolveBusinessChatLink
- type TL_account_resolvedBusinessChatLinks
- type TL_account_saveAutoDownloadSettings
- type TL_account_saveAutoSaveSettings
- type TL_account_saveMusic
- type TL_account_saveRingtone
- type TL_account_saveSecureValue
- type TL_account_saveTheme
- type TL_account_saveWallPaper
- type TL_account_savedMusicIDs
- type TL_account_savedMusicIDsNotModified
- type TL_account_savedRingtone
- type TL_account_savedRingtoneConverted
- type TL_account_savedRingtones
- type TL_account_savedRingtonesNotModified
- type TL_account_sendChangePhoneCode
- type TL_account_sendConfirmPhoneCode
- type TL_account_sendVerifyEmailCode
- type TL_account_sendVerifyPhoneCode
- type TL_account_sentEmailCode
- type TL_account_setAccountTTL
- type TL_account_setAuthorizationTTL
- type TL_account_setContactSignUpNotification
- type TL_account_setContentSettings
- type TL_account_setGlobalPrivacySettings
- type TL_account_setMainProfileTab
- type TL_account_setPrivacy
- type TL_account_setReactionsNotifySettings
- type TL_account_takeout
- type TL_account_themes
- type TL_account_themesNotModified
- type TL_account_tmpPassword
- type TL_account_toggleConnectedBotPaused
- type TL_account_toggleNoPaidMessagesException
- type TL_account_toggleSponsoredMessages
- type TL_account_toggleUsername
- type TL_account_unregisterDevice
- type TL_account_updateBirthday
- type TL_account_updateBusinessAwayMessage
- type TL_account_updateBusinessGreetingMessage
- type TL_account_updateBusinessIntro
- type TL_account_updateBusinessLocation
- type TL_account_updateBusinessWorkHours
- type TL_account_updateColor
- type TL_account_updateConnectedBot
- type TL_account_updateDeviceLocked
- type TL_account_updateEmojiStatus
- type TL_account_updateNotifySettings
- type TL_account_updatePasswordSettings
- type TL_account_updatePersonalChannel
- type TL_account_updateProfile
- type TL_account_updateStatus
- type TL_account_updateTheme
- type TL_account_updateUsername
- type TL_account_uploadRingtone
- type TL_account_uploadTheme
- type TL_account_uploadWallPaper
- type TL_account_verifyEmail
- type TL_account_verifyPhone
- type TL_account_wallPapers
- type TL_account_wallPapersNotModified
- type TL_account_webAuthorizations
- type TL_attachMenuBot
- type TL_attachMenuBotIcon
- type TL_attachMenuBotIconColor
- type TL_attachMenuBots
- type TL_attachMenuBotsBot
- type TL_attachMenuBotsNotModified
- type TL_attachMenuPeerTypeBotPM
- type TL_attachMenuPeerTypeBroadcast
- type TL_attachMenuPeerTypeChat
- type TL_attachMenuPeerTypePM
- type TL_attachMenuPeerTypeSameBotPM
- type TL_auctionBidLevel
- type TL_auth_acceptLoginToken
- type TL_auth_authorization
- type TL_auth_authorizationSignUpRequired
- type TL_auth_bindTempAuthKey
- type TL_auth_cancelCode
- type TL_auth_checkPaidAuth
- type TL_auth_checkPassword
- type TL_auth_checkRecoveryPassword
- type TL_auth_codeTypeCall
- type TL_auth_codeTypeFlashCall
- type TL_auth_codeTypeFragmentSMS
- type TL_auth_codeTypeMissedCall
- type TL_auth_codeTypeSMS
- type TL_auth_dropTempAuthKeys
- type TL_auth_exportAuthorization
- type TL_auth_exportLoginToken
- type TL_auth_exportedAuthorization
- type TL_auth_finishPasskeyLogin
- type TL_auth_importAuthorization
- type TL_auth_importBotAuthorization
- type TL_auth_importLoginToken
- type TL_auth_importWebTokenAuthorization
- type TL_auth_initPasskeyLogin
- type TL_auth_logOut
- type TL_auth_loggedOut
- type TL_auth_loginToken
- type TL_auth_loginTokenMigrateTo
- type TL_auth_loginTokenSuccess
- type TL_auth_passkeyLoginOptions
- type TL_auth_passwordRecovery
- type TL_auth_recoverPassword
- type TL_auth_reportMissingCode
- type TL_auth_requestFirebaseSMS
- type TL_auth_requestPasswordRecovery
- type TL_auth_resendCode
- type TL_auth_resetAuthorizations
- type TL_auth_resetLoginEmail
- type TL_auth_sendCode
- type TL_auth_sentCode
- type TL_auth_sentCodePaymentRequired
- type TL_auth_sentCodeSuccess
- type TL_auth_sentCodeTypeApp
- type TL_auth_sentCodeTypeCall
- type TL_auth_sentCodeTypeEmailCode
- type TL_auth_sentCodeTypeFirebaseSMS
- type TL_auth_sentCodeTypeFlashCall
- type TL_auth_sentCodeTypeFragmentSMS
- type TL_auth_sentCodeTypeMissedCall
- type TL_auth_sentCodeTypeSMS
- type TL_auth_sentCodeTypeSMSPhrase
- type TL_auth_sentCodeTypeSMSWord
- type TL_auth_sentCodeTypeSetUpEmailRequired
- type TL_auth_signIn
- type TL_auth_signUp
- type TL_authorization
- type TL_autoDownloadSettings
- type TL_autoSaveException
- type TL_autoSaveSettings
- type TL_availableEffect
- type TL_availableReaction
- type TL_badMsgNotification
- type TL_badServerSalt
- type TL_bankCardOpenURL
- type TL_baseThemeArctic
- type TL_baseThemeClassic
- type TL_baseThemeDay
- type TL_baseThemeNight
- type TL_baseThemeTinted
- type TL_bindAuthKeyInner
- type TL_birthday
- type TL_boolFalse
- type TL_boolTrue
- type TL_boost
- type TL_botApp
- type TL_botAppNotModified
- type TL_botAppSettings
- type TL_botBusinessConnection
- type TL_botCommand
- type TL_botCommandScopeChatAdmins
- type TL_botCommandScopeChats
- type TL_botCommandScopeDefault
- type TL_botCommandScopePeer
- type TL_botCommandScopePeerAdmins
- type TL_botCommandScopePeerUser
- type TL_botCommandScopeUsers
- type TL_botInfo
- type TL_botInlineMediaResult
- type TL_botInlineMessageMediaAuto
- type TL_botInlineMessageMediaContact
- type TL_botInlineMessageMediaGeo
- type TL_botInlineMessageMediaInvoice
- type TL_botInlineMessageMediaVenue
- type TL_botInlineMessageMediaWebPage
- type TL_botInlineMessageText
- type TL_botInlineResult
- type TL_botMenuButton
- type TL_botMenuButtonCommands
- type TL_botMenuButtonDefault
- type TL_botPreviewMedia
- type TL_botVerification
- type TL_botVerifierSettings
- type TL_bots_addPreviewMedia
- type TL_bots_allowSendMessage
- type TL_bots_answerWebhookJSONQuery
- type TL_bots_botInfo
- type TL_bots_canSendMessage
- type TL_bots_checkDownloadFileParams
- type TL_bots_deletePreviewMedia
- type TL_bots_editPreviewMedia
- type TL_bots_getAdminedBots
- type TL_bots_getBotCommands
- type TL_bots_getBotInfo
- type TL_bots_getBotMenuButton
- type TL_bots_getBotRecommendations
- type TL_bots_getPopularAppBots
- type TL_bots_getPreviewInfo
- type TL_bots_getPreviewMedias
- type TL_bots_invokeWebViewCustomMethod
- type TL_bots_popularAppBots
- type TL_bots_previewInfo
- type TL_bots_reorderPreviewMedias
- type TL_bots_reorderUsernames
- type TL_bots_resetBotCommands
- type TL_bots_sendCustomRequest
- type TL_bots_setBotBroadcastDefaultAdminRights
- type TL_bots_setBotCommands
- type TL_bots_setBotGroupDefaultAdminRights
- type TL_bots_setBotInfo
- type TL_bots_setBotMenuButton
- type TL_bots_setCustomVerification
- type TL_bots_toggleUserEmojiStatusPermission
- type TL_bots_toggleUsername
- type TL_bots_updateStarRefProgram
- type TL_bots_updateUserEmojiStatus
- type TL_businessAwayMessage
- type TL_businessAwayMessageScheduleAlways
- type TL_businessAwayMessageScheduleCustom
- type TL_businessAwayMessageScheduleOutsideWorkHours
- type TL_businessBotRecipients
- type TL_businessBotRights
- type TL_businessChatLink
- type TL_businessGreetingMessage
- type TL_businessIntro
- type TL_businessLocation
- type TL_businessRecipients
- type TL_businessWeeklyOpen
- type TL_businessWorkHours
- type TL_cdnConfig
- type TL_cdnPublicKey
- type TL_channel
- type TL_channelAdminLogEvent
- type TL_channelAdminLogEventActionChangeAbout
- type TL_channelAdminLogEventActionChangeAvailableReactions
- type TL_channelAdminLogEventActionChangeEmojiStatus
- type TL_channelAdminLogEventActionChangeEmojiStickerSet
- type TL_channelAdminLogEventActionChangeHistoryTTL
- type TL_channelAdminLogEventActionChangeLinkedChat
- type TL_channelAdminLogEventActionChangeLocation
- type TL_channelAdminLogEventActionChangePeerColor
- type TL_channelAdminLogEventActionChangePhoto
- type TL_channelAdminLogEventActionChangeProfilePeerColor
- type TL_channelAdminLogEventActionChangeStickerSet
- type TL_channelAdminLogEventActionChangeTitle
- type TL_channelAdminLogEventActionChangeUsername
- type TL_channelAdminLogEventActionChangeUsernames
- type TL_channelAdminLogEventActionChangeWallpaper
- type TL_channelAdminLogEventActionCreateTopic
- type TL_channelAdminLogEventActionDefaultBannedRights
- type TL_channelAdminLogEventActionDeleteMessage
- type TL_channelAdminLogEventActionDeleteTopic
- type TL_channelAdminLogEventActionDiscardGroupCall
- type TL_channelAdminLogEventActionEditMessage
- type TL_channelAdminLogEventActionEditTopic
- type TL_channelAdminLogEventActionExportedInviteDelete
- type TL_channelAdminLogEventActionExportedInviteEdit
- type TL_channelAdminLogEventActionExportedInviteRevoke
- type TL_channelAdminLogEventActionPINTopic
- type TL_channelAdminLogEventActionParticipantInvite
- type TL_channelAdminLogEventActionParticipantJoin
- type TL_channelAdminLogEventActionParticipantJoinByInvite
- type TL_channelAdminLogEventActionParticipantJoinByRequest
- type TL_channelAdminLogEventActionParticipantLeave
- type TL_channelAdminLogEventActionParticipantMute
- type TL_channelAdminLogEventActionParticipantSubExtend
- type TL_channelAdminLogEventActionParticipantToggleAdmin
- type TL_channelAdminLogEventActionParticipantToggleBan
- type TL_channelAdminLogEventActionParticipantUnmute
- type TL_channelAdminLogEventActionParticipantVolume
- type TL_channelAdminLogEventActionSendMessage
- type TL_channelAdminLogEventActionStartGroupCall
- type TL_channelAdminLogEventActionStopPoll
- type TL_channelAdminLogEventActionToggleAntiSpam
- type TL_channelAdminLogEventActionToggleAutotranslation
- type TL_channelAdminLogEventActionToggleForum
- type TL_channelAdminLogEventActionToggleGroupCallSetting
- type TL_channelAdminLogEventActionToggleInvites
- type TL_channelAdminLogEventActionToggleNoForwards
- type TL_channelAdminLogEventActionTogglePreHistoryHidden
- type TL_channelAdminLogEventActionToggleSignatureProfiles
- type TL_channelAdminLogEventActionToggleSignatures
- type TL_channelAdminLogEventActionToggleSlowMode
- type TL_channelAdminLogEventActionUpdatePinned
- type TL_channelAdminLogEventsFilter
- type TL_channelForbidden
- type TL_channelFull
- type TL_channelLocation
- type TL_channelLocationEmpty
- type TL_channelMessagesFilter
- type TL_channelMessagesFilterEmpty
- type TL_channelParticipant
- type TL_channelParticipantAdmin
- type TL_channelParticipantBanned
- type TL_channelParticipantCreator
- type TL_channelParticipantLeft
- type TL_channelParticipantSelf
- type TL_channelParticipantsAdmins
- type TL_channelParticipantsBanned
- type TL_channelParticipantsBots
- type TL_channelParticipantsContacts
- type TL_channelParticipantsKicked
- type TL_channelParticipantsMentions
- type TL_channelParticipantsRecent
- type TL_channelParticipantsSearch
- type TL_channels_adminLogResults
- type TL_channels_channelParticipant
- type TL_channels_channelParticipants
- type TL_channels_channelParticipantsNotModified
- type TL_channels_checkSearchPostsFlood
- type TL_channels_checkUsername
- type TL_channels_convertToGigagroup
- type TL_channels_createChannel
- type TL_channels_deactivateAllUsernames
- type TL_channels_deleteChannel
- type TL_channels_deleteHistory
- type TL_channels_deleteMessages
- type TL_channels_deleteParticipantHistory
- type TL_channels_editAdmin
- type TL_channels_editBanned
- type TL_channels_editCreator
- type TL_channels_editLocation
- type TL_channels_editPhoto
- type TL_channels_editTitle
- type TL_channels_exportMessageLink
- type TL_channels_getAdminLog
- type TL_channels_getAdminedPublicChannels
- type TL_channels_getChannelRecommendations
- type TL_channels_getChannels
- type TL_channels_getFullChannel
- type TL_channels_getGroupsForDiscussion
- type TL_channels_getInactiveChannels
- type TL_channels_getLeftChannels
- type TL_channels_getMessageAuthor
- type TL_channels_getMessages
- type TL_channels_getParticipant
- type TL_channels_getParticipants
- type TL_channels_getSendAs
- type TL_channels_inviteToChannel
- type TL_channels_joinChannel
- type TL_channels_leaveChannel
- type TL_channels_readHistory
- type TL_channels_readMessageContents
- type TL_channels_reorderUsernames
- type TL_channels_reportAntiSpamFalsePositive
- type TL_channels_reportSpam
- type TL_channels_restrictSponsoredMessages
- type TL_channels_searchPosts
- type TL_channels_sendAsPeers
- type TL_channels_setBoostsToUnblockRestrictions
- type TL_channels_setDiscussionGroup
- type TL_channels_setEmojiStickers
- type TL_channels_setMainProfileTab
- type TL_channels_setStickers
- type TL_channels_sponsoredMessageReportResultAdsHidden
- type TL_channels_sponsoredMessageReportResultChooseOption
- type TL_channels_sponsoredMessageReportResultReported
- type TL_channels_toggleAntiSpam
- type TL_channels_toggleAutotranslation
- type TL_channels_toggleForum
- type TL_channels_toggleJoinRequest
- type TL_channels_toggleJoinToSend
- type TL_channels_toggleParticipantsHidden
- type TL_channels_togglePreHistoryHidden
- type TL_channels_toggleSignatures
- type TL_channels_toggleSlowMode
- type TL_channels_toggleUsername
- type TL_channels_toggleViewForumAsMessages
- type TL_channels_updateColor
- type TL_channels_updateEmojiStatus
- type TL_channels_updatePaidMessagesPrice
- type TL_channels_updateUsername
- type TL_chat
- type TL_chatAdminRights
- type TL_chatAdminWithInvites
- type TL_chatBannedRights
- type TL_chatEmpty
- type TL_chatForbidden
- type TL_chatFull
- type TL_chatInvite
- type TL_chatInviteAlready
- type TL_chatInviteExported
- type TL_chatInviteImporter
- type TL_chatInvitePeek
- type TL_chatInvitePublicJoinRequests
- type TL_chatOnlines
- type TL_chatParticipant
- type TL_chatParticipantAdmin
- type TL_chatParticipantCreator
- type TL_chatParticipants
- type TL_chatParticipantsForbidden
- type TL_chatPhoto
- type TL_chatPhotoEmpty
- type TL_chatReactionsAll
- type TL_chatReactionsNone
- type TL_chatReactionsSome
- type TL_chatTheme
- type TL_chatThemeUniqueGift
- type TL_chatlists_chatlistInvite
- type TL_chatlists_chatlistInviteAlready
- type TL_chatlists_chatlistUpdates
- type TL_chatlists_checkChatlistInvite
- type TL_chatlists_deleteExportedInvite
- type TL_chatlists_editExportedInvite
- type TL_chatlists_exportChatlistInvite
- type TL_chatlists_exportedChatlistInvite
- type TL_chatlists_exportedInvites
- type TL_chatlists_getChatlistUpdates
- type TL_chatlists_getExportedInvites
- type TL_chatlists_getLeaveChatlistSuggestions
- type TL_chatlists_hideChatlistUpdates
- type TL_chatlists_joinChatlistInvite
- type TL_chatlists_joinChatlistUpdates
- type TL_chatlists_leaveChatlist
- type TL_clientDHInnerData
- type TL_codeSettings
- type TL_config
- type TL_connectedBot
- type TL_connectedBotStarRef
- type TL_contact
- type TL_contactBirthday
- type TL_contactStatus
- type TL_contacts_acceptContact
- type TL_contacts_addContact
- type TL_contacts_block
- type TL_contacts_blockFromReplies
- type TL_contacts_blocked
- type TL_contacts_blockedSlice
- type TL_contacts_contactBirthdays
- type TL_contacts_contacts
- type TL_contacts_contactsNotModified
- type TL_contacts_deleteByPhones
- type TL_contacts_deleteContacts
- type TL_contacts_editCloseFriends
- type TL_contacts_exportContactToken
- type TL_contacts_found
- type TL_contacts_getBirthdays
- type TL_contacts_getBlocked
- type TL_contacts_getContactIDs
- type TL_contacts_getContacts
- type TL_contacts_getLocated
- type TL_contacts_getSaved
- type TL_contacts_getSponsoredPeers
- type TL_contacts_getStatuses
- type TL_contacts_getTopPeers
- type TL_contacts_importContactToken
- type TL_contacts_importContacts
- type TL_contacts_importedContacts
- type TL_contacts_resetSaved
- type TL_contacts_resetTopPeerRating
- type TL_contacts_resolvePhone
- type TL_contacts_resolveUsername
- type TL_contacts_resolvedPeer
- type TL_contacts_search
- type TL_contacts_setBlocked
- type TL_contacts_sponsoredPeers
- type TL_contacts_sponsoredPeersEmpty
- type TL_contacts_toggleTopPeers
- type TL_contacts_topPeers
- type TL_contacts_topPeersDisabled
- type TL_contacts_topPeersNotModified
- type TL_contacts_unblock
- type TL_contacts_updateContactNote
- type TL_dataJSON
- type TL_dcOption
- type TL_defaultHistoryTTL
- type TL_destroyAuthKey
- type TL_destroyAuthKeyFail
- type TL_destroyAuthKeyNone
- type TL_destroyAuthKeyOK
- type TL_destroySession
- type TL_destroySessionNone
- type TL_destroySessionOK
- type TL_dhGenFail
- type TL_dhGenOK
- type TL_dhGenRetry
- type TL_dialog
- type TL_dialogFilter
- type TL_dialogFilterChatlist
- type TL_dialogFilterDefault
- type TL_dialogFilterSuggested
- type TL_dialogFolder
- type TL_dialogPeer
- type TL_dialogPeerFolder
- type TL_disallowedGiftsSettings
- type TL_document
- type TL_documentAttributeAnimated
- type TL_documentAttributeAudio
- type TL_documentAttributeCustomEmoji
- type TL_documentAttributeFilename
- type TL_documentAttributeHasStickers
- type TL_documentAttributeImageSize
- type TL_documentAttributeSticker
- type TL_documentAttributeVideo
- type TL_documentEmpty
- type TL_draftMessage
- type TL_draftMessageEmpty
- type TL_emailVerificationApple
- type TL_emailVerificationCode
- type TL_emailVerificationGoogle
- type TL_emailVerifyPurposeLoginChange
- type TL_emailVerifyPurposeLoginSetup
- type TL_emailVerifyPurposePassport
- type TL_emojiGroup
- type TL_emojiGroupGreeting
- type TL_emojiGroupPremium
- type TL_emojiKeyword
- type TL_emojiKeywordDeleted
- type TL_emojiKeywordsDifference
- type TL_emojiLanguage
- type TL_emojiList
- type TL_emojiListNotModified
- type TL_emojiStatus
- type TL_emojiStatusCollectible
- type TL_emojiStatusEmpty
- type TL_emojiURL
- type TL_encryptedChat
- type TL_encryptedChatDiscarded
- type TL_encryptedChatEmpty
- type TL_encryptedChatRequested
- type TL_encryptedChatWaiting
- type TL_encryptedFile
- type TL_encryptedFileEmpty
- type TL_encryptedMessage
- type TL_encryptedMessageService
- type TL_error
- type TL_exportedChatlistInvite
- type TL_exportedContactToken
- type TL_exportedMessageLink
- type TL_exportedStoryLink
- type TL_factCheck
- type TL_fileHash
- type TL_folder
- type TL_folderPeer
- type TL_folders_editPeerFolders
- type TL_forumTopic
- type TL_forumTopicDeleted
- type TL_foundStory
- type TL_fragment_collectibleInfo
- type TL_fragment_getCollectibleInfo
- type TL_futureSalt
- type TL_futureSalts
- type TL_game
- type TL_geoPoint
- type TL_geoPointAddress
- type TL_geoPointEmpty
- type TL_getFutureSalts
- type TL_globalPrivacySettings
- type TL_groupCall
- type TL_groupCallDiscarded
- type TL_groupCallDonor
- type TL_groupCallMessage
- type TL_groupCallParticipant
- type TL_groupCallParticipantVideo
- type TL_groupCallParticipantVideoSourceGroup
- type TL_groupCallStreamChannel
- type TL_help_acceptTermsOfService
- type TL_help_appConfig
- type TL_help_appConfigNotModified
- type TL_help_appUpdate
- type TL_help_configSimple
- type TL_help_countriesList
- type TL_help_countriesListNotModified
- type TL_help_country
- type TL_help_countryCode
- type TL_help_deepLinkInfo
- type TL_help_deepLinkInfoEmpty
- type TL_help_dismissSuggestion
- type TL_help_editUserInfo
- type TL_help_getAppConfig
- type TL_help_getAppUpdate
- type TL_help_getCDNConfig
- type TL_help_getConfig
- type TL_help_getCountriesList
- type TL_help_getDeepLinkInfo
- type TL_help_getInviteText
- type TL_help_getNearestDC
- type TL_help_getPassportConfig
- type TL_help_getPeerColors
- type TL_help_getPeerProfileColors
- type TL_help_getPremiumPromo
- type TL_help_getPromoData
- type TL_help_getRecentMeURLs
- type TL_help_getSupport
- type TL_help_getSupportName
- type TL_help_getTermsOfServiceUpdate
- type TL_help_getTimezonesList
- type TL_help_getUserInfo
- type TL_help_hidePromoData
- type TL_help_inviteText
- type TL_help_noAppUpdate
- type TL_help_passportConfig
- type TL_help_passportConfigNotModified
- type TL_help_peerColorOption
- type TL_help_peerColorProfileSet
- type TL_help_peerColorSet
- type TL_help_peerColors
- type TL_help_peerColorsNotModified
- type TL_help_premiumPromo
- type TL_help_promoData
- type TL_help_promoDataEmpty
- type TL_help_recentMeURLs
- type TL_help_saveAppLog
- type TL_help_setBotUpdatesStatus
- type TL_help_support
- type TL_help_supportName
- type TL_help_termsOfService
- type TL_help_termsOfServiceUpdate
- type TL_help_termsOfServiceUpdateEmpty
- type TL_help_timezonesList
- type TL_help_timezonesListNotModified
- type TL_help_userInfo
- type TL_help_userInfoEmpty
- type TL_highScore
- type TL_httpWait
- type TL_importedContact
- type TL_initConnection
- type TL_inlineBotSwitchPM
- type TL_inlineBotWebView
- type TL_inlineQueryPeerTypeBotPM
- type TL_inlineQueryPeerTypeBroadcast
- type TL_inlineQueryPeerTypeChat
- type TL_inlineQueryPeerTypeMegagroup
- type TL_inlineQueryPeerTypePM
- type TL_inlineQueryPeerTypeSameBotPM
- type TL_inputAppEvent
- type TL_inputBotAppID
- type TL_inputBotAppShortName
- type TL_inputBotInlineMessageGame
- type TL_inputBotInlineMessageID
- type TL_inputBotInlineMessageID64
- type TL_inputBotInlineMessageMediaAuto
- type TL_inputBotInlineMessageMediaContact
- type TL_inputBotInlineMessageMediaGeo
- type TL_inputBotInlineMessageMediaInvoice
- type TL_inputBotInlineMessageMediaVenue
- type TL_inputBotInlineMessageMediaWebPage
- type TL_inputBotInlineMessageText
- type TL_inputBotInlineResult
- type TL_inputBotInlineResultDocument
- type TL_inputBotInlineResultGame
- type TL_inputBotInlineResultPhoto
- type TL_inputBusinessAwayMessage
- type TL_inputBusinessBotRecipients
- type TL_inputBusinessChatLink
- type TL_inputBusinessGreetingMessage
- type TL_inputBusinessIntro
- type TL_inputBusinessRecipients
- type TL_inputChannel
- type TL_inputChannelEmpty
- type TL_inputChannelFromMessage
- type TL_inputChatPhoto
- type TL_inputChatPhotoEmpty
- type TL_inputChatTheme
- type TL_inputChatThemeEmpty
- type TL_inputChatThemeUniqueGift
- type TL_inputChatUploadedPhoto
- type TL_inputChatlistDialogFilter
- type TL_inputCheckPasswordEmpty
- type TL_inputCheckPasswordSRP
- type TL_inputClientProxy
- type TL_inputCollectiblePhone
- type TL_inputCollectibleUsername
- type TL_inputDialogPeer
- type TL_inputDialogPeerFolder
- type TL_inputDocument
- type TL_inputDocumentEmpty
- type TL_inputDocumentFileLocation
- type TL_inputEmojiStatusCollectible
- type TL_inputEncryptedChat
- type TL_inputEncryptedFile
- type TL_inputEncryptedFileBigUploaded
- type TL_inputEncryptedFileEmpty
- type TL_inputEncryptedFileLocation
- type TL_inputEncryptedFileUploaded
- type TL_inputFile
- type TL_inputFileBig
- type TL_inputFileLocation
- type TL_inputFileStoryDocument
- type TL_inputFolderPeer
- type TL_inputGameID
- type TL_inputGameShortName
- type TL_inputGeoPoint
- type TL_inputGeoPointEmpty
- type TL_inputGroupCall
- type TL_inputGroupCallInviteMessage
- type TL_inputGroupCallSlug
- type TL_inputGroupCallStream
- type TL_inputInvoiceBusinessBotTransferStars
- type TL_inputInvoiceChatInviteSubscription
- type TL_inputInvoiceMessage
- type TL_inputInvoicePremiumAuthCode
- type TL_inputInvoicePremiumGiftCode
- type TL_inputInvoicePremiumGiftStars
- type TL_inputInvoiceSlug
- type TL_inputInvoiceStarGift
- type TL_inputInvoiceStarGiftAuctionBid
- type TL_inputInvoiceStarGiftDropOriginalDetails
- type TL_inputInvoiceStarGiftPrepaidUpgrade
- type TL_inputInvoiceStarGiftResale
- type TL_inputInvoiceStarGiftTransfer
- type TL_inputInvoiceStarGiftUpgrade
- type TL_inputInvoiceStars
- type TL_inputKeyboardButtonRequestPeer
- type TL_inputKeyboardButtonURLAuth
- type TL_inputKeyboardButtonUserProfile
- type TL_inputMediaAreaChannelPost
- type TL_inputMediaAreaVenue
- type TL_inputMediaContact
- type TL_inputMediaDice
- type TL_inputMediaDocument
- type TL_inputMediaDocumentExternal
- type TL_inputMediaEmpty
- type TL_inputMediaGame
- type TL_inputMediaGeoLive
- type TL_inputMediaGeoPoint
- type TL_inputMediaInvoice
- type TL_inputMediaPaidMedia
- type TL_inputMediaPhoto
- type TL_inputMediaPhotoExternal
- type TL_inputMediaPoll
- type TL_inputMediaStory
- type TL_inputMediaTodo
- type TL_inputMediaUploadedDocument
- type TL_inputMediaUploadedPhoto
- type TL_inputMediaVenue
- type TL_inputMediaWebPage
- type TL_inputMessageCallbackQuery
- type TL_inputMessageEntityMentionName
- type TL_inputMessageID
- type TL_inputMessagePinned
- type TL_inputMessageReplyTo
- type TL_inputMessagesFilterChatPhotos
- type TL_inputMessagesFilterContacts
- type TL_inputMessagesFilterDocument
- type TL_inputMessagesFilterEmpty
- type TL_inputMessagesFilterGIF
- type TL_inputMessagesFilterGeo
- type TL_inputMessagesFilterMusic
- type TL_inputMessagesFilterMyMentions
- type TL_inputMessagesFilterPhoneCalls
- type TL_inputMessagesFilterPhotoVideo
- type TL_inputMessagesFilterPhotos
- type TL_inputMessagesFilterPinned
- type TL_inputMessagesFilterRoundVideo
- type TL_inputMessagesFilterRoundVoice
- type TL_inputMessagesFilterURL
- type TL_inputMessagesFilterVideo
- type TL_inputMessagesFilterVoice
- type TL_inputNotifyBroadcasts
- type TL_inputNotifyChats
- type TL_inputNotifyForumTopic
- type TL_inputNotifyPeer
- type TL_inputNotifyUsers
- type TL_inputPasskeyCredentialPublicKey
- type TL_inputPasskeyResponseLogin
- type TL_inputPasskeyResponseRegister
- type TL_inputPaymentCredentials
- type TL_inputPaymentCredentialsApplePay
- type TL_inputPaymentCredentialsGooglePay
- type TL_inputPaymentCredentialsSaved
- type TL_inputPeerChannel
- type TL_inputPeerChannelFromMessage
- type TL_inputPeerChat
- type TL_inputPeerColorCollectible
- type TL_inputPeerEmpty
- type TL_inputPeerNotifySettings
- type TL_inputPeerPhotoFileLocation
- type TL_inputPeerSelf
- type TL_inputPeerUser
- type TL_inputPeerUserFromMessage
- type TL_inputPhoneCall
- type TL_inputPhoneContact
- type TL_inputPhoto
- type TL_inputPhotoEmpty
- type TL_inputPhotoFileLocation
- type TL_inputPhotoLegacyFileLocation
- type TL_inputPrivacyKeyAbout
- type TL_inputPrivacyKeyAddedByPhone
- type TL_inputPrivacyKeyBirthday
- type TL_inputPrivacyKeyChatInvite
- type TL_inputPrivacyKeyForwards
- type TL_inputPrivacyKeyNoPaidMessages
- type TL_inputPrivacyKeyPhoneCall
- type TL_inputPrivacyKeyPhoneNumber
- type TL_inputPrivacyKeyPhoneP2P
- type TL_inputPrivacyKeyProfilePhoto
- type TL_inputPrivacyKeySavedMusic
- type TL_inputPrivacyKeyStarGiftsAutoSave
- type TL_inputPrivacyKeyStatusTimestamp
- type TL_inputPrivacyKeyVoiceMessages
- type TL_inputPrivacyValueAllowAll
- type TL_inputPrivacyValueAllowBots
- type TL_inputPrivacyValueAllowChatParticipants
- type TL_inputPrivacyValueAllowCloseFriends
- type TL_inputPrivacyValueAllowContacts
- type TL_inputPrivacyValueAllowPremium
- type TL_inputPrivacyValueAllowUsers
- type TL_inputPrivacyValueDisallowAll
- type TL_inputPrivacyValueDisallowBots
- type TL_inputPrivacyValueDisallowChatParticipants
- type TL_inputPrivacyValueDisallowContacts
- type TL_inputPrivacyValueDisallowUsers
- type TL_inputQuickReplyShortcut
- type TL_inputQuickReplyShortcutID
- type TL_inputReplyToMessage
- type TL_inputReplyToMonoForum
- type TL_inputReplyToStory
- type TL_inputReportReasonChildAbuse
- type TL_inputReportReasonCopyright
- type TL_inputReportReasonFake
- type TL_inputReportReasonGeoIrrelevant
- type TL_inputReportReasonIllegalDrugs
- type TL_inputReportReasonOther
- type TL_inputReportReasonPersonalDetails
- type TL_inputReportReasonPornography
- type TL_inputReportReasonSpam
- type TL_inputReportReasonViolence
- type TL_inputSavedStarGiftChat
- type TL_inputSavedStarGiftSlug
- type TL_inputSavedStarGiftUser
- type TL_inputSecureFile
- type TL_inputSecureFileLocation
- type TL_inputSecureFileUploaded
- type TL_inputSecureValue
- type TL_inputSingleMedia
- type TL_inputStarGiftAuction
- type TL_inputStarGiftAuctionSlug
- type TL_inputStarsTransaction
- type TL_inputStickerSetAnimatedEmoji
- type TL_inputStickerSetAnimatedEmojiAnimations
- type TL_inputStickerSetDice
- type TL_inputStickerSetEmojiChannelDefaultStatuses
- type TL_inputStickerSetEmojiDefaultStatuses
- type TL_inputStickerSetEmojiDefaultTopicIcons
- type TL_inputStickerSetEmojiGenericAnimations
- type TL_inputStickerSetEmpty
- type TL_inputStickerSetID
- type TL_inputStickerSetItem
- type TL_inputStickerSetPremiumGifts
- type TL_inputStickerSetShortName
- type TL_inputStickerSetThumb
- type TL_inputStickerSetTonGifts
- type TL_inputStickeredMediaDocument
- type TL_inputStickeredMediaPhoto
- type TL_inputStorePaymentAuthCode
- type TL_inputStorePaymentGiftPremium
- type TL_inputStorePaymentPremiumGiftCode
- type TL_inputStorePaymentPremiumGiveaway
- type TL_inputStorePaymentPremiumSubscription
- type TL_inputStorePaymentStarsGift
- type TL_inputStorePaymentStarsGiveaway
- type TL_inputStorePaymentStarsTopup
- type TL_inputTakeoutFileLocation
- type TL_inputTheme
- type TL_inputThemeSettings
- type TL_inputThemeSlug
- type TL_inputUser
- type TL_inputUserEmpty
- type TL_inputUserFromMessage
- type TL_inputUserSelf
- type TL_inputWallPaper
- type TL_inputWallPaperNoFile
- type TL_inputWallPaperSlug
- type TL_inputWebDocument
- type TL_inputWebFileAudioAlbumThumbLocation
- type TL_inputWebFileGeoPointLocation
- type TL_inputWebFileLocation
- type TL_invoice
- type TL_invokeAfterMsg
- type TL_invokeAfterMsgs
- type TL_invokeWithApnsSecret
- type TL_invokeWithBusinessConnection
- type TL_invokeWithGooglePlayIntegrity
- type TL_invokeWithLayer
- type TL_invokeWithMessagesRange
- type TL_invokeWithReCaptcha
- type TL_invokeWithTakeout
- type TL_invokeWithoutUpdates
- type TL_ipPort
- type TL_ipPortSecret
- type TL_jsonArray
- type TL_jsonBool
- type TL_jsonNull
- type TL_jsonNumber
- type TL_jsonObject
- type TL_jsonObjectValue
- type TL_jsonString
- type TL_keyboardButton
- type TL_keyboardButtonBuy
- type TL_keyboardButtonCallback
- type TL_keyboardButtonCopy
- type TL_keyboardButtonGame
- type TL_keyboardButtonRequestGeoLocation
- type TL_keyboardButtonRequestPeer
- type TL_keyboardButtonRequestPhone
- type TL_keyboardButtonRequestPoll
- type TL_keyboardButtonRow
- type TL_keyboardButtonSimpleWebView
- type TL_keyboardButtonSwitchInline
- type TL_keyboardButtonURL
- type TL_keyboardButtonURLAuth
- type TL_keyboardButtonUserProfile
- type TL_keyboardButtonWebView
- type TL_labeledPrice
- type TL_langPackDifference
- type TL_langPackLanguage
- type TL_langPackString
- type TL_langPackStringDeleted
- type TL_langPackStringPluralized
- type TL_langpack_getDifference
- type TL_langpack_getLangPack
- type TL_langpack_getLanguage
- type TL_langpack_getLanguages
- type TL_langpack_getStrings
- type TL_maskCoords
- type TL_mediaAreaChannelPost
- type TL_mediaAreaCoordinates
- type TL_mediaAreaGeoPoint
- type TL_mediaAreaStarGift
- type TL_mediaAreaSuggestedReaction
- type TL_mediaAreaURL
- type TL_mediaAreaVenue
- type TL_mediaAreaWeather
- type TL_message
- type TL_messageActionBoostApply
- type TL_messageActionBotAllowed
- type TL_messageActionChannelCreate
- type TL_messageActionChannelMigrateFrom
- type TL_messageActionChatAddUser
- type TL_messageActionChatCreate
- type TL_messageActionChatDeletePhoto
- type TL_messageActionChatDeleteUser
- type TL_messageActionChatEditPhoto
- type TL_messageActionChatEditTitle
- type TL_messageActionChatJoinedByLink
- type TL_messageActionChatJoinedByRequest
- type TL_messageActionChatMigrateTo
- type TL_messageActionConferenceCall
- type TL_messageActionContactSignUp
- type TL_messageActionCustomAction
- type TL_messageActionEmpty
- type TL_messageActionGameScore
- type TL_messageActionGeoProximityReached
- type TL_messageActionGiftCode
- type TL_messageActionGiftPremium
- type TL_messageActionGiftStars
- type TL_messageActionGiftTon
- type TL_messageActionGiveawayLaunch
- type TL_messageActionGiveawayResults
- type TL_messageActionGroupCall
- type TL_messageActionGroupCallScheduled
- type TL_messageActionHistoryClear
- type TL_messageActionInviteToGroupCall
- type TL_messageActionPINMessage
- type TL_messageActionPaidMessagesPrice
- type TL_messageActionPaidMessagesRefunded
- type TL_messageActionPaymentRefunded
- type TL_messageActionPaymentSent
- type TL_messageActionPaymentSentMe
- type TL_messageActionPhoneCall
- type TL_messageActionPrizeStars
- type TL_messageActionRequestedPeer
- type TL_messageActionRequestedPeerSentMe
- type TL_messageActionScreenshotTaken
- type TL_messageActionSecureValuesSent
- type TL_messageActionSecureValuesSentMe
- type TL_messageActionSetChatTheme
- type TL_messageActionSetChatWallPaper
- type TL_messageActionSetMessagesTTL
- type TL_messageActionStarGift
- type TL_messageActionStarGiftPurchaseOffer
- type TL_messageActionStarGiftPurchaseOfferDeclined
- type TL_messageActionStarGiftUnique
- type TL_messageActionSuggestBirthday
- type TL_messageActionSuggestProfilePhoto
- type TL_messageActionSuggestedPostApproval
- type TL_messageActionSuggestedPostRefund
- type TL_messageActionSuggestedPostSuccess
- type TL_messageActionTodoAppendTasks
- type TL_messageActionTodoCompletions
- type TL_messageActionTopicCreate
- type TL_messageActionTopicEdit
- type TL_messageActionWebViewDataSent
- type TL_messageActionWebViewDataSentMe
- type TL_messageEmpty
- type TL_messageEntityBankCard
- type TL_messageEntityBlockquote
- type TL_messageEntityBold
- type TL_messageEntityBotCommand
- type TL_messageEntityCashtag
- type TL_messageEntityCode
- type TL_messageEntityCustomEmoji
- type TL_messageEntityEmail
- type TL_messageEntityHashtag
- type TL_messageEntityItalic
- type TL_messageEntityMention
- type TL_messageEntityMentionName
- type TL_messageEntityPhone
- type TL_messageEntityPre
- type TL_messageEntitySpoiler
- type TL_messageEntityStrike
- type TL_messageEntityTextURL
- type TL_messageEntityURL
- type TL_messageEntityUnderline
- type TL_messageEntityUnknown
- type TL_messageExtendedMedia
- type TL_messageExtendedMediaPreview
- type TL_messageFwdHeader
- type TL_messageMediaContact
- type TL_messageMediaDice
- type TL_messageMediaDocument
- type TL_messageMediaEmpty
- type TL_messageMediaGame
- type TL_messageMediaGeo
- type TL_messageMediaGeoLive
- type TL_messageMediaGiveaway
- type TL_messageMediaGiveawayResults
- type TL_messageMediaInvoice
- type TL_messageMediaPaidMedia
- type TL_messageMediaPhoto
- type TL_messageMediaPoll
- type TL_messageMediaStory
- type TL_messageMediaToDo
- type TL_messageMediaUnsupported
- type TL_messageMediaVenue
- type TL_messageMediaVideoStream
- type TL_messageMediaWebPage
- type TL_messagePeerReaction
- type TL_messagePeerVote
- type TL_messagePeerVoteInputOption
- type TL_messagePeerVoteMultiple
- type TL_messageRange
- type TL_messageReactions
- type TL_messageReactor
- type TL_messageReplies
- type TL_messageReplyHeader
- type TL_messageReplyStoryHeader
- type TL_messageReportOption
- type TL_messageService
- type TL_messageViews
- type TL_messages_acceptEncryption
- type TL_messages_acceptURLAuth
- type TL_messages_addChatUser
- type TL_messages_affectedFoundMessages
- type TL_messages_affectedHistory
- type TL_messages_affectedMessages
- type TL_messages_allStickers
- type TL_messages_allStickersNotModified
- type TL_messages_appendTodoList
- type TL_messages_archivedStickers
- type TL_messages_availableEffects
- type TL_messages_availableEffectsNotModified
- type TL_messages_availableReactions
- type TL_messages_availableReactionsNotModified
- type TL_messages_botApp
- type TL_messages_botCallbackAnswer
- type TL_messages_botPreparedInlineMessage
- type TL_messages_botResults
- type TL_messages_channelMessages
- type TL_messages_chatAdminsWithInvites
- type TL_messages_chatFull
- type TL_messages_chatInviteImporters
- type TL_messages_chats
- type TL_messages_chatsSlice
- type TL_messages_checkChatInvite
- type TL_messages_checkHistoryImport
- type TL_messages_checkHistoryImportPeer
- type TL_messages_checkQuickReplyShortcut
- type TL_messages_checkedHistoryImportPeer
- type TL_messages_clearAllDrafts
- type TL_messages_clearRecentReactions
- type TL_messages_clearRecentStickers
- type TL_messages_clickSponsoredMessage
- type TL_messages_createChat
- type TL_messages_createForumTopic
- type TL_messages_deleteChat
- type TL_messages_deleteChatUser
- type TL_messages_deleteExportedChatInvite
- type TL_messages_deleteFactCheck
- type TL_messages_deleteHistory
- type TL_messages_deleteMessages
- type TL_messages_deletePhoneCallHistory
- type TL_messages_deleteQuickReplyMessages
- type TL_messages_deleteQuickReplyShortcut
- type TL_messages_deleteRevokedExportedChatInvites
- type TL_messages_deleteSavedHistory
- type TL_messages_deleteScheduledMessages
- type TL_messages_deleteTopicHistory
- type TL_messages_dhConfig
- type TL_messages_dhConfigNotModified
- type TL_messages_dialogFilters
- type TL_messages_dialogs
- type TL_messages_dialogsNotModified
- type TL_messages_dialogsSlice
- type TL_messages_discardEncryption
- type TL_messages_discussionMessage
- type TL_messages_editChatAbout
- type TL_messages_editChatAdmin
- type TL_messages_editChatDefaultBannedRights
- type TL_messages_editChatPhoto
- type TL_messages_editChatTitle
- type TL_messages_editExportedChatInvite
- type TL_messages_editFactCheck
- type TL_messages_editForumTopic
- type TL_messages_editInlineBotMessage
- type TL_messages_editMessage
- type TL_messages_editQuickReplyShortcut
- type TL_messages_emojiGroups
- type TL_messages_emojiGroupsNotModified
- type TL_messages_exportChatInvite
- type TL_messages_exportedChatInvite
- type TL_messages_exportedChatInviteReplaced
- type TL_messages_exportedChatInvites
- type TL_messages_faveSticker
- type TL_messages_favedStickers
- type TL_messages_favedStickersNotModified
- type TL_messages_featuredStickers
- type TL_messages_featuredStickersNotModified
- type TL_messages_forumTopics
- type TL_messages_forwardMessages
- type TL_messages_foundStickerSets
- type TL_messages_foundStickerSetsNotModified
- type TL_messages_foundStickers
- type TL_messages_foundStickersNotModified
- type TL_messages_getAdminsWithInvites
- type TL_messages_getAllDrafts
- type TL_messages_getAllStickers
- type TL_messages_getArchivedStickers
- type TL_messages_getAttachMenuBot
- type TL_messages_getAttachMenuBots
- type TL_messages_getAttachedStickers
- type TL_messages_getAvailableEffects
- type TL_messages_getAvailableReactions
- type TL_messages_getBotApp
- type TL_messages_getBotCallbackAnswer
- type TL_messages_getChatInviteImporters
- type TL_messages_getChats
- type TL_messages_getCommonChats
- type TL_messages_getCustomEmojiDocuments
- type TL_messages_getDHConfig
- type TL_messages_getDefaultHistoryTTL
- type TL_messages_getDefaultTagReactions
- type TL_messages_getDialogFilters
- type TL_messages_getDialogUnreadMarks
- type TL_messages_getDialogs
- type TL_messages_getDiscussionMessage
- type TL_messages_getDocumentByHash
- type TL_messages_getEmojiGroups
- type TL_messages_getEmojiKeywords
- type TL_messages_getEmojiKeywordsDifference
- type TL_messages_getEmojiKeywordsLanguages
- type TL_messages_getEmojiProfilePhotoGroups
- type TL_messages_getEmojiStatusGroups
- type TL_messages_getEmojiStickerGroups
- type TL_messages_getEmojiStickers
- type TL_messages_getEmojiURL
- type TL_messages_getExportedChatInvite
- type TL_messages_getExportedChatInvites
- type TL_messages_getExtendedMedia
- type TL_messages_getFactCheck
- type TL_messages_getFavedStickers
- type TL_messages_getFeaturedEmojiStickers
- type TL_messages_getFeaturedStickers
- type TL_messages_getForumTopics
- type TL_messages_getForumTopicsByID
- type TL_messages_getFullChat
- type TL_messages_getGameHighScores
- type TL_messages_getHistory
- type TL_messages_getInlineBotResults
- type TL_messages_getInlineGameHighScores
- type TL_messages_getMaskStickers
- type TL_messages_getMessageEditData
- type TL_messages_getMessageReactionsList
- type TL_messages_getMessageReadParticipants
- type TL_messages_getMessages
- type TL_messages_getMessagesReactions
- type TL_messages_getMessagesViews
- type TL_messages_getMyStickers
- type TL_messages_getOldFeaturedStickers
- type TL_messages_getOnlines
- type TL_messages_getOutboxReadDate
- type TL_messages_getPaidReactionPrivacy
- type TL_messages_getPeerDialogs
- type TL_messages_getPeerSettings
- type TL_messages_getPinnedDialogs
- type TL_messages_getPinnedSavedDialogs
- type TL_messages_getPollResults
- type TL_messages_getPollVotes
- type TL_messages_getPreparedInlineMessage
- type TL_messages_getQuickReplies
- type TL_messages_getQuickReplyMessages
- type TL_messages_getRecentLocations
- type TL_messages_getRecentReactions
- type TL_messages_getRecentStickers
- type TL_messages_getReplies
- type TL_messages_getSavedDialogs
- type TL_messages_getSavedDialogsByID
- type TL_messages_getSavedGIFs
- type TL_messages_getSavedHistory
- type TL_messages_getSavedReactionTags
- type TL_messages_getScheduledHistory
- type TL_messages_getScheduledMessages
- type TL_messages_getSearchCounters
- type TL_messages_getSearchResultsCalendar
- type TL_messages_getSearchResultsPositions
- type TL_messages_getSplitRanges
- type TL_messages_getSponsoredMessages
- type TL_messages_getStickerSet
- type TL_messages_getStickers
- type TL_messages_getSuggestedDialogFilters
- type TL_messages_getTopReactions
- type TL_messages_getUnreadMentions
- type TL_messages_getUnreadReactions
- type TL_messages_getWebPage
- type TL_messages_getWebPagePreview
- type TL_messages_hideAllChatJoinRequests
- type TL_messages_hideChatJoinRequest
- type TL_messages_hidePeerSettingsBar
- type TL_messages_highScores
- type TL_messages_historyImport
- type TL_messages_historyImportParsed
- type TL_messages_importChatInvite
- type TL_messages_inactiveChats
- type TL_messages_initHistoryImport
- type TL_messages_installStickerSet
- type TL_messages_invitedUsers
- type TL_messages_markDialogUnread
- type TL_messages_messageEditData
- type TL_messages_messageReactionsList
- type TL_messages_messageViews
- type TL_messages_messages
- type TL_messages_messagesNotModified
- type TL_messages_messagesSlice
- type TL_messages_migrateChat
- type TL_messages_myStickers
- type TL_messages_peerDialogs
- type TL_messages_peerSettings
- type TL_messages_preparedInlineMessage
- type TL_messages_prolongWebView
- type TL_messages_quickReplies
- type TL_messages_quickRepliesNotModified
- type TL_messages_rateTranscribedAudio
- type TL_messages_reactions
- type TL_messages_reactionsNotModified
- type TL_messages_readDiscussion
- type TL_messages_readEncryptedHistory
- type TL_messages_readFeaturedStickers
- type TL_messages_readHistory
- type TL_messages_readMentions
- type TL_messages_readMessageContents
- type TL_messages_readReactions
- type TL_messages_readSavedHistory
- type TL_messages_receivedMessages
- type TL_messages_receivedQueue
- type TL_messages_recentStickers
- type TL_messages_recentStickersNotModified
- type TL_messages_reorderPinnedDialogs
- type TL_messages_reorderPinnedForumTopics
- type TL_messages_reorderPinnedSavedDialogs
- type TL_messages_reorderQuickReplies
- type TL_messages_reorderStickerSets
- type TL_messages_report
- type TL_messages_reportEncryptedSpam
- type TL_messages_reportMessagesDelivery
- type TL_messages_reportReaction
- type TL_messages_reportSpam
- type TL_messages_reportSponsoredMessage
- type TL_messages_requestAppWebView
- type TL_messages_requestEncryption
- type TL_messages_requestMainWebView
- type TL_messages_requestSimpleWebView
- type TL_messages_requestURLAuth
- type TL_messages_requestWebView
- type TL_messages_saveDefaultSendAs
- type TL_messages_saveDraft
- type TL_messages_saveGIF
- type TL_messages_savePreparedInlineMessage
- type TL_messages_saveRecentSticker
- type TL_messages_savedDialogs
- type TL_messages_savedDialogsNotModified
- type TL_messages_savedDialogsSlice
- type TL_messages_savedGIFs
- type TL_messages_savedGIFsNotModified
- type TL_messages_savedReactionTags
- type TL_messages_savedReactionTagsNotModified
- type TL_messages_search
- type TL_messages_searchCounter
- type TL_messages_searchCustomEmoji
- type TL_messages_searchEmojiStickerSets
- type TL_messages_searchGlobal
- type TL_messages_searchResultsCalendar
- type TL_messages_searchResultsPositions
- type TL_messages_searchSentMedia
- type TL_messages_searchStickerSets
- type TL_messages_searchStickers
- type TL_messages_sendBotRequestedPeer
- type TL_messages_sendEncrypted
- type TL_messages_sendEncryptedFile
- type TL_messages_sendEncryptedService
- type TL_messages_sendInlineBotResult
- type TL_messages_sendMedia
- type TL_messages_sendMessage
- type TL_messages_sendMultiMedia
- type TL_messages_sendPaidReaction
- type TL_messages_sendQuickReplyMessages
- type TL_messages_sendReaction
- type TL_messages_sendScheduledMessages
- type TL_messages_sendScreenshotNotification
- type TL_messages_sendVote
- type TL_messages_sendWebViewData
- type TL_messages_sendWebViewResultMessage
- type TL_messages_sentEncryptedFile
- type TL_messages_sentEncryptedMessage
- type TL_messages_setBotCallbackAnswer
- type TL_messages_setBotPrecheckoutResults
- type TL_messages_setBotShippingResults
- type TL_messages_setChatAvailableReactions
- type TL_messages_setChatTheme
- type TL_messages_setChatWallPaper
- type TL_messages_setDefaultHistoryTTL
- type TL_messages_setDefaultReaction
- type TL_messages_setEncryptedTyping
- type TL_messages_setGameScore
- type TL_messages_setHistoryTTL
- type TL_messages_setInlineBotResults
- type TL_messages_setInlineGameScore
- type TL_messages_setTyping
- type TL_messages_sponsoredMessages
- type TL_messages_sponsoredMessagesEmpty
- type TL_messages_startBot
- type TL_messages_startHistoryImport
- type TL_messages_stickerSet
- type TL_messages_stickerSetInstallResultArchive
- type TL_messages_stickerSetInstallResultSuccess
- type TL_messages_stickerSetNotModified
- type TL_messages_stickers
- type TL_messages_stickersNotModified
- type TL_messages_toggleBotInAttachMenu
- type TL_messages_toggleDialogFilterTags
- type TL_messages_toggleDialogPIN
- type TL_messages_toggleNoForwards
- type TL_messages_togglePaidReactionPrivacy
- type TL_messages_togglePeerTranslations
- type TL_messages_toggleSavedDialogPIN
- type TL_messages_toggleStickerSets
- type TL_messages_toggleSuggestedPostApproval
- type TL_messages_toggleTodoCompleted
- type TL_messages_transcribeAudio
- type TL_messages_transcribedAudio
- type TL_messages_translateResult
- type TL_messages_translateText
- type TL_messages_uninstallStickerSet
- type TL_messages_unpinAllMessages
- type TL_messages_updateDialogFilter
- type TL_messages_updateDialogFiltersOrder
- type TL_messages_updatePinnedForumTopic
- type TL_messages_updatePinnedMessage
- type TL_messages_updateSavedReactionTag
- type TL_messages_uploadEncryptedFile
- type TL_messages_uploadImportedMedia
- type TL_messages_uploadMedia
- type TL_messages_viewSponsoredMessage
- type TL_messages_votesList
- type TL_messages_webPage
- type TL_messages_webPagePreview
- type TL_missingInvitee
- type TL_monoForumDialog
- type TL_msgContainer
- type TL_msgDetailedInfo
- type TL_msgNewDetailedInfo
- type TL_msgResendReq
- type TL_msgsACK
- type TL_msgsAllInfo
- type TL_msgsStateInfo
- type TL_msgsStateReq
- type TL_mtMessage
- type TL_myBoost
- type TL_nearestDC
- type TL_newSessionCreated
- type TL_notificationSoundDefault
- type TL_notificationSoundLocal
- type TL_notificationSoundNone
- type TL_notificationSoundRingtone
- type TL_notifyBroadcasts
- type TL_notifyChats
- type TL_notifyForumTopic
- type TL_notifyPeer
- type TL_notifyUsers
- type TL_null
- type TL_outboxReadDate
- type TL_page
- type TL_pageBlockAnchor
- type TL_pageBlockAudio
- type TL_pageBlockAuthorDate
- type TL_pageBlockBlockquote
- type TL_pageBlockChannel
- type TL_pageBlockCollage
- type TL_pageBlockCover
- type TL_pageBlockDetails
- type TL_pageBlockDivider
- type TL_pageBlockEmbed
- type TL_pageBlockEmbedPost
- type TL_pageBlockFooter
- type TL_pageBlockHeader
- type TL_pageBlockKicker
- type TL_pageBlockList
- type TL_pageBlockMap
- type TL_pageBlockOrderedList
- type TL_pageBlockParagraph
- type TL_pageBlockPhoto
- type TL_pageBlockPreformatted
- type TL_pageBlockPullquote
- type TL_pageBlockRelatedArticles
- type TL_pageBlockSlideshow
- type TL_pageBlockSubheader
- type TL_pageBlockSubtitle
- type TL_pageBlockTable
- type TL_pageBlockTitle
- type TL_pageBlockUnsupported
- type TL_pageBlockVideo
- type TL_pageCaption
- type TL_pageListItemBlocks
- type TL_pageListItemText
- type TL_pageListOrderedItemBlocks
- type TL_pageListOrderedItemText
- type TL_pageRelatedArticle
- type TL_pageTableCell
- type TL_pageTableRow
- type TL_paidReactionPrivacyAnonymous
- type TL_paidReactionPrivacyDefault
- type TL_paidReactionPrivacyPeer
- type TL_passkey
- type TL_passwordKDFAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow
- type TL_passwordKDFAlgoUnknown
- type TL_paymentCharge
- type TL_paymentFormMethod
- type TL_paymentRequestedInfo
- type TL_paymentSavedCredentialsCard
- type TL_payments_applyGiftCode
- type TL_payments_assignAppStoreTransaction
- type TL_payments_assignPlayMarketTransaction
- type TL_payments_bankCardData
- type TL_payments_botCancelStarsSubscription
- type TL_payments_canPurchaseStore
- type TL_payments_changeStarsSubscription
- type TL_payments_checkCanSendGift
- type TL_payments_checkCanSendGiftResultFail
- type TL_payments_checkCanSendGiftResultOK
- type TL_payments_checkGiftCode
- type TL_payments_checkedGiftCode
- type TL_payments_clearSavedInfo
- type TL_payments_connectStarRefBot
- type TL_payments_connectedStarRefBots
- type TL_payments_convertStarGift
- type TL_payments_createStarGiftCollection
- type TL_payments_deleteStarGiftCollection
- type TL_payments_editConnectedStarRefBot
- type TL_payments_exportInvoice
- type TL_payments_exportedInvoice
- type TL_payments_fulfillStarsSubscription
- type TL_payments_getBankCardData
- type TL_payments_getConnectedStarRefBot
- type TL_payments_getConnectedStarRefBots
- type TL_payments_getGiveawayInfo
- type TL_payments_getPaymentForm
- type TL_payments_getPaymentReceipt
- type TL_payments_getPremiumGiftCodeOptions
- type TL_payments_getResaleStarGifts
- type TL_payments_getSavedInfo
- type TL_payments_getSavedStarGift
- type TL_payments_getSavedStarGifts
- type TL_payments_getStarGiftActiveAuctions
- type TL_payments_getStarGiftAuctionAcquiredGifts
- type TL_payments_getStarGiftAuctionState
- type TL_payments_getStarGiftCollections
- type TL_payments_getStarGiftUpgradeAttributes
- type TL_payments_getStarGiftUpgradePreview
- type TL_payments_getStarGiftWithdrawalURL
- type TL_payments_getStarGifts
- type TL_payments_getStarsGiftOptions
- type TL_payments_getStarsGiveawayOptions
- type TL_payments_getStarsRevenueAdsAccountURL
- type TL_payments_getStarsRevenueStats
- type TL_payments_getStarsRevenueWithdrawalURL
- type TL_payments_getStarsStatus
- type TL_payments_getStarsSubscriptions
- type TL_payments_getStarsTopupOptions
- type TL_payments_getStarsTransactions
- type TL_payments_getStarsTransactionsByID
- type TL_payments_getSuggestedStarRefBots
- type TL_payments_getUniqueStarGift
- type TL_payments_getUniqueStarGiftValueInfo
- type TL_payments_giveawayInfo
- type TL_payments_giveawayInfoResults
- type TL_payments_launchPrepaidGiveaway
- type TL_payments_paymentForm
- type TL_payments_paymentFormStarGift
- type TL_payments_paymentFormStars
- type TL_payments_paymentReceipt
- type TL_payments_paymentReceiptStars
- type TL_payments_paymentResult
- type TL_payments_paymentVerificationNeeded
- type TL_payments_refundStarsCharge
- type TL_payments_reorderStarGiftCollections
- type TL_payments_resaleStarGifts
- type TL_payments_resolveStarGiftOffer
- type TL_payments_saveStarGift
- type TL_payments_savedInfo
- type TL_payments_savedStarGifts
- type TL_payments_sendPaymentForm
- type TL_payments_sendStarGiftOffer
- type TL_payments_sendStarsForm
- type TL_payments_starGiftActiveAuctions
- type TL_payments_starGiftActiveAuctionsNotModified
- type TL_payments_starGiftAuctionAcquiredGifts
- type TL_payments_starGiftAuctionState
- type TL_payments_starGiftCollections
- type TL_payments_starGiftCollectionsNotModified
- type TL_payments_starGiftUpgradeAttributes
- type TL_payments_starGiftUpgradePreview
- type TL_payments_starGiftWithdrawalURL
- type TL_payments_starGifts
- type TL_payments_starGiftsNotModified
- type TL_payments_starsRevenueAdsAccountURL
- type TL_payments_starsRevenueStats
- type TL_payments_starsRevenueWithdrawalURL
- type TL_payments_starsStatus
- type TL_payments_suggestedStarRefBots
- type TL_payments_toggleChatStarGiftNotifications
- type TL_payments_toggleStarGiftsPinnedToTop
- type TL_payments_transferStarGift
- type TL_payments_uniqueStarGift
- type TL_payments_uniqueStarGiftValueInfo
- type TL_payments_updateStarGiftCollection
- type TL_payments_updateStarGiftPrice
- type TL_payments_upgradeStarGift
- type TL_payments_validateRequestedInfo
- type TL_payments_validatedRequestedInfo
- type TL_peerBlocked
- type TL_peerChannel
- type TL_peerChat
- type TL_peerColor
- type TL_peerColorCollectible
- type TL_peerLocated
- type TL_peerNotifySettings
- type TL_peerSelfLocated
- type TL_peerSettings
- type TL_peerStories
- type TL_peerUser
- type TL_pendingSuggestion
- type TL_phoneCall
- type TL_phoneCallAccepted
- type TL_phoneCallDiscardReasonBusy
- type TL_phoneCallDiscardReasonDisconnect
- type TL_phoneCallDiscardReasonHangup
- type TL_phoneCallDiscardReasonMigrateConferenceCall
- type TL_phoneCallDiscardReasonMissed
- type TL_phoneCallDiscarded
- type TL_phoneCallEmpty
- type TL_phoneCallProtocol
- type TL_phoneCallRequested
- type TL_phoneCallWaiting
- type TL_phoneConnection
- type TL_phoneConnectionWebrtc
- type TL_phone_acceptCall
- type TL_phone_checkGroupCall
- type TL_phone_confirmCall
- type TL_phone_createConferenceCall
- type TL_phone_createGroupCall
- type TL_phone_declineConferenceCallInvite
- type TL_phone_deleteConferenceCallParticipants
- type TL_phone_deleteGroupCallMessages
- type TL_phone_deleteGroupCallParticipantMessages
- type TL_phone_discardCall
- type TL_phone_discardGroupCall
- type TL_phone_editGroupCallParticipant
- type TL_phone_editGroupCallTitle
- type TL_phone_exportGroupCallInvite
- type TL_phone_exportedGroupCallInvite
- type TL_phone_getCallConfig
- type TL_phone_getGroupCall
- type TL_phone_getGroupCallChainBlocks
- type TL_phone_getGroupCallJoinAs
- type TL_phone_getGroupCallStars
- type TL_phone_getGroupCallStreamChannels
- type TL_phone_getGroupCallStreamRTMPURL
- type TL_phone_getGroupParticipants
- type TL_phone_groupCall
- type TL_phone_groupCallStars
- type TL_phone_groupCallStreamChannels
- type TL_phone_groupCallStreamRTMPURL
- type TL_phone_groupParticipants
- type TL_phone_inviteConferenceCallParticipant
- type TL_phone_inviteToGroupCall
- type TL_phone_joinAsPeers
- type TL_phone_joinGroupCall
- type TL_phone_joinGroupCallPresentation
- type TL_phone_leaveGroupCall
- type TL_phone_leaveGroupCallPresentation
- type TL_phone_phoneCall
- type TL_phone_receivedCall
- type TL_phone_requestCall
- type TL_phone_saveCallDebug
- type TL_phone_saveCallLog
- type TL_phone_saveDefaultGroupCallJoinAs
- type TL_phone_saveDefaultSendAs
- type TL_phone_sendConferenceCallBroadcast
- type TL_phone_sendGroupCallEncryptedMessage
- type TL_phone_sendGroupCallMessage
- type TL_phone_sendSignalingData
- type TL_phone_setCallRating
- type TL_phone_startScheduledGroupCall
- type TL_phone_toggleGroupCallRecord
- type TL_phone_toggleGroupCallSettings
- type TL_phone_toggleGroupCallStartSubscription
- type TL_photo
- type TL_photoCachedSize
- type TL_photoEmpty
- type TL_photoPathSize
- type TL_photoSize
- type TL_photoSizeEmpty
- type TL_photoSizeProgressive
- type TL_photoStrippedSize
- type TL_photos_deletePhotos
- type TL_photos_getUserPhotos
- type TL_photos_photo
- type TL_photos_photos
- type TL_photos_photosSlice
- type TL_photos_updateProfilePhoto
- type TL_photos_uploadContactProfilePhoto
- type TL_photos_uploadProfilePhoto
- type TL_ping
- type TL_pingDelayDisconnect
- type TL_poll
- type TL_pollAnswer
- type TL_pollAnswerVoters
- type TL_pollResults
- type TL_pong
- type TL_popularContact
- type TL_postAddress
- type TL_postInteractionCountersMessage
- type TL_postInteractionCountersStory
- type TL_pqInnerData
- type TL_pqInnerDataDC
- type TL_pqInnerDataTemp
- type TL_pqInnerDataTempDC
- type TL_premiumGiftCodeOption
- type TL_premiumSubscriptionOption
- type TL_premium_applyBoost
- type TL_premium_boostsList
- type TL_premium_boostsStatus
- type TL_premium_getBoostsList
- type TL_premium_getBoostsStatus
- type TL_premium_getMyBoosts
- type TL_premium_getUserBoosts
- type TL_premium_myBoosts
- type TL_prepaidGiveaway
- type TL_prepaidStarsGiveaway
- type TL_privacyKeyAbout
- type TL_privacyKeyAddedByPhone
- type TL_privacyKeyBirthday
- type TL_privacyKeyChatInvite
- type TL_privacyKeyForwards
- type TL_privacyKeyNoPaidMessages
- type TL_privacyKeyPhoneCall
- type TL_privacyKeyPhoneNumber
- type TL_privacyKeyPhoneP2P
- type TL_privacyKeyProfilePhoto
- type TL_privacyKeySavedMusic
- type TL_privacyKeyStarGiftsAutoSave
- type TL_privacyKeyStatusTimestamp
- type TL_privacyKeyVoiceMessages
- type TL_privacyValueAllowAll
- type TL_privacyValueAllowBots
- type TL_privacyValueAllowChatParticipants
- type TL_privacyValueAllowCloseFriends
- type TL_privacyValueAllowContacts
- type TL_privacyValueAllowPremium
- type TL_privacyValueAllowUsers
- type TL_privacyValueDisallowAll
- type TL_privacyValueDisallowBots
- type TL_privacyValueDisallowChatParticipants
- type TL_privacyValueDisallowContacts
- type TL_privacyValueDisallowUsers
- type TL_profileTabFiles
- type TL_profileTabGIFs
- type TL_profileTabGifts
- type TL_profileTabLinks
- type TL_profileTabMedia
- type TL_profileTabMusic
- type TL_profileTabPosts
- type TL_profileTabVoice
- type TL_publicForwardMessage
- type TL_publicForwardStory
- type TL_quickReply
- type TL_reactionCount
- type TL_reactionCustomEmoji
- type TL_reactionEmoji
- type TL_reactionEmpty
- type TL_reactionNotificationsFromAll
- type TL_reactionNotificationsFromContacts
- type TL_reactionPaid
- type TL_reactionsNotifySettings
- type TL_readParticipantDate
- type TL_receivedNotifyMessage
- type TL_recentMeURLChat
- type TL_recentMeURLChatInvite
- type TL_recentMeURLStickerSet
- type TL_recentMeURLUnknown
- type TL_recentMeURLUser
- type TL_recentStory
- type TL_replyInlineMarkup
- type TL_replyKeyboardForceReply
- type TL_replyKeyboardHide
- type TL_replyKeyboardMarkup
- type TL_reportResultAddComment
- type TL_reportResultChooseOption
- type TL_reportResultReported
- type TL_reqDHParams
- type TL_reqPQ
- type TL_reqPQMulti
- type TL_requestPeerTypeBroadcast
- type TL_requestPeerTypeChat
- type TL_requestPeerTypeUser
- type TL_requestedPeerChannel
- type TL_requestedPeerChat
- type TL_requestedPeerUser
- type TL_requirementToContactEmpty
- type TL_requirementToContactPaidMessages
- type TL_requirementToContactPremium
- type TL_resPQ
- type TL_restrictionReason
- type TL_rpcAnswerDropped
- type TL_rpcAnswerDroppedRunning
- type TL_rpcAnswerUnknown
- type TL_rpcDropAnswer
- type TL_rpcError
- type TL_rpcResult
- type TL_savedDialog
- type TL_savedPhoneContact
- type TL_savedReactionTag
- type TL_savedStarGift
- type TL_searchPostsFlood
- type TL_searchResultPosition
- type TL_searchResultsCalendarPeriod
- type TL_secureCredentialsEncrypted
- type TL_secureData
- type TL_secureFile
- type TL_secureFileEmpty
- type TL_securePasswordKDFAlgoPBKDF2HMACSHA512iter100000
- type TL_securePasswordKDFAlgoSHA512
- type TL_securePasswordKDFAlgoUnknown
- type TL_securePlainEmail
- type TL_securePlainPhone
- type TL_secureRequiredType
- type TL_secureRequiredTypeOneOf
- type TL_secureSecretSettings
- type TL_secureValue
- type TL_secureValueError
- type TL_secureValueErrorData
- type TL_secureValueErrorFile
- type TL_secureValueErrorFiles
- type TL_secureValueErrorFrontSide
- type TL_secureValueErrorReverseSide
- type TL_secureValueErrorSelfie
- type TL_secureValueErrorTranslationFile
- type TL_secureValueErrorTranslationFiles
- type TL_secureValueHash
- type TL_secureValueTypeAddress
- type TL_secureValueTypeBankStatement
- type TL_secureValueTypeDriverLicense
- type TL_secureValueTypeEmail
- type TL_secureValueTypeIdentityCard
- type TL_secureValueTypeInternalPassport
- type TL_secureValueTypePassport
- type TL_secureValueTypePassportRegistration
- type TL_secureValueTypePersonalDetails
- type TL_secureValueTypePhone
- type TL_secureValueTypeRentalAgreement
- type TL_secureValueTypeTemporaryRegistration
- type TL_secureValueTypeUtilityBill
- type TL_sendAsPeer
- type TL_sendMessageCancelAction
- type TL_sendMessageChooseContactAction
- type TL_sendMessageChooseStickerAction
- type TL_sendMessageEmojiInteraction
- type TL_sendMessageEmojiInteractionSeen
- type TL_sendMessageGamePlayAction
- type TL_sendMessageGeoLocationAction
- type TL_sendMessageHistoryImportAction
- type TL_sendMessageRecordAudioAction
- type TL_sendMessageRecordRoundAction
- type TL_sendMessageRecordVideoAction
- type TL_sendMessageTextDraftAction
- type TL_sendMessageTypingAction
- type TL_sendMessageUploadAudioAction
- type TL_sendMessageUploadDocumentAction
- type TL_sendMessageUploadPhotoAction
- type TL_sendMessageUploadRoundAction
- type TL_sendMessageUploadVideoAction
- type TL_serverDHInnerData
- type TL_serverDHParamsFail
- type TL_serverDHParamsOK
- type TL_setClientDHParams
- type TL_shippingOption
- type TL_smsJob
- type TL_smsjobs_eligibleToJoin
- type TL_smsjobs_finishJob
- type TL_smsjobs_getSMSJob
- type TL_smsjobs_getStatus
- type TL_smsjobs_isEligibleToJoin
- type TL_smsjobs_join
- type TL_smsjobs_leave
- type TL_smsjobs_status
- type TL_smsjobs_updateSettings
- type TL_speakingInGroupCallAction
- type TL_sponsoredMessage
- type TL_sponsoredMessageReportOption
- type TL_sponsoredPeer
- type TL_starGift
- type TL_starGiftActiveAuctionState
- type TL_starGiftAttributeBackdrop
- type TL_starGiftAttributeCounter
- type TL_starGiftAttributeIDBackdrop
- type TL_starGiftAttributeIDModel
- type TL_starGiftAttributeIDPattern
- type TL_starGiftAttributeModel
- type TL_starGiftAttributeOriginalDetails
- type TL_starGiftAttributePattern
- type TL_starGiftAuctionAcquiredGift
- type TL_starGiftAuctionRound
- type TL_starGiftAuctionRoundExtendable
- type TL_starGiftAuctionState
- type TL_starGiftAuctionStateFinished
- type TL_starGiftAuctionStateNotModified
- type TL_starGiftAuctionUserState
- type TL_starGiftBackground
- type TL_starGiftCollection
- type TL_starGiftUnique
- type TL_starGiftUpgradePrice
- type TL_starRefProgram
- type TL_starsAmount
- type TL_starsGiftOption
- type TL_starsGiveawayOption
- type TL_starsGiveawayWinnersOption
- type TL_starsRating
- type TL_starsRevenueStatus
- type TL_starsSubscription
- type TL_starsSubscriptionPricing
- type TL_starsTonAmount
- type TL_starsTopupOption
- type TL_starsTransaction
- type TL_starsTransactionPeer
- type TL_starsTransactionPeerAPI
- type TL_starsTransactionPeerAds
- type TL_starsTransactionPeerAppStore
- type TL_starsTransactionPeerFragment
- type TL_starsTransactionPeerPlayMarket
- type TL_starsTransactionPeerPremiumBot
- type TL_starsTransactionPeerUnsupported
- type TL_statsAbsValueAndPrev
- type TL_statsDateRangeDays
- type TL_statsGraph
- type TL_statsGraphAsync
- type TL_statsGraphError
- type TL_statsGroupTopAdmin
- type TL_statsGroupTopInviter
- type TL_statsGroupTopPoster
- type TL_statsPercentValue
- type TL_statsURL
- type TL_stats_broadcastStats
- type TL_stats_getBroadcastStats
- type TL_stats_getMegagroupStats
- type TL_stats_getMessagePublicForwards
- type TL_stats_getMessageStats
- type TL_stats_getStoryPublicForwards
- type TL_stats_getStoryStats
- type TL_stats_loadAsyncGraph
- type TL_stats_megagroupStats
- type TL_stats_messageStats
- type TL_stats_publicForwards
- type TL_stats_storyStats
- type TL_stickerKeyword
- type TL_stickerPack
- type TL_stickerSet
- type TL_stickerSetCovered
- type TL_stickerSetFullCovered
- type TL_stickerSetMultiCovered
- type TL_stickerSetNoCovered
- type TL_stickers_addStickerToSet
- type TL_stickers_changeSticker
- type TL_stickers_changeStickerPosition
- type TL_stickers_checkShortName
- type TL_stickers_createStickerSet
- type TL_stickers_deleteStickerSet
- type TL_stickers_removeStickerFromSet
- type TL_stickers_renameStickerSet
- type TL_stickers_replaceSticker
- type TL_stickers_setStickerSetThumb
- type TL_stickers_suggestShortName
- type TL_stickers_suggestedShortName
- type TL_storage_fileGIF
- type TL_storage_fileJPEG
- type TL_storage_fileMOV
- type TL_storage_fileMP3
- type TL_storage_fileMP4
- type TL_storage_filePDF
- type TL_storage_filePNG
- type TL_storage_filePartial
- type TL_storage_fileUnknown
- type TL_storage_fileWEBP
- type TL_storiesStealthMode
- type TL_stories_activateStealthMode
- type TL_stories_albums
- type TL_stories_albumsNotModified
- type TL_stories_allStories
- type TL_stories_allStoriesNotModified
- type TL_stories_canSendStory
- type TL_stories_canSendStoryCount
- type TL_stories_createAlbum
- type TL_stories_deleteAlbum
- type TL_stories_deleteStories
- type TL_stories_editStory
- type TL_stories_exportStoryLink
- type TL_stories_foundStories
- type TL_stories_getAlbumStories
- type TL_stories_getAlbums
- type TL_stories_getAllReadPeerStories
- type TL_stories_getAllStories
- type TL_stories_getChatsToSend
- type TL_stories_getPeerMaxIDs
- type TL_stories_getPeerStories
- type TL_stories_getPinnedStories
- type TL_stories_getStoriesArchive
- type TL_stories_getStoriesByID
- type TL_stories_getStoriesViews
- type TL_stories_getStoryReactionsList
- type TL_stories_getStoryViewsList
- type TL_stories_incrementStoryViews
- type TL_stories_peerStories
- type TL_stories_readStories
- type TL_stories_reorderAlbums
- type TL_stories_report
- type TL_stories_searchPosts
- type TL_stories_sendReaction
- type TL_stories_sendStory
- type TL_stories_startLive
- type TL_stories_stories
- type TL_stories_storyReactionsList
- type TL_stories_storyViews
- type TL_stories_storyViewsList
- type TL_stories_toggleAllStoriesHidden
- type TL_stories_togglePeerStoriesHidden
- type TL_stories_togglePinned
- type TL_stories_togglePinnedToTop
- type TL_stories_updateAlbum
- type TL_storyAlbum
- type TL_storyFwdHeader
- type TL_storyItem
- type TL_storyItemDeleted
- type TL_storyItemSkipped
- type TL_storyReaction
- type TL_storyReactionPublicForward
- type TL_storyReactionPublicRepost
- type TL_storyView
- type TL_storyViewPublicForward
- type TL_storyViewPublicRepost
- type TL_storyViews
- type TL_suggestedPost
- type TL_textAnchor
- type TL_textBold
- type TL_textConcat
- type TL_textEmail
- type TL_textEmpty
- type TL_textFixed
- type TL_textImage
- type TL_textItalic
- type TL_textMarked
- type TL_textPhone
- type TL_textPlain
- type TL_textStrike
- type TL_textSubscript
- type TL_textSuperscript
- type TL_textURL
- type TL_textUnderline
- type TL_textWithEntities
- type TL_theme
- type TL_themeSettings
- type TL_timezone
- type TL_tlsBlockDomain
- type TL_tlsBlockE
- type TL_tlsBlockGrease
- type TL_tlsBlockM
- type TL_tlsBlockPadding
- type TL_tlsBlockPermutation
- type TL_tlsBlockPublicKey
- type TL_tlsBlockRandom
- type TL_tlsBlockScope
- type TL_tlsBlockString
- type TL_tlsBlockZero
- type TL_tlsClientHello
- type TL_todoCompletion
- type TL_todoItem
- type TL_todoList
- type TL_topPeer
- type TL_topPeerCategoryBotsApp
- type TL_topPeerCategoryBotsInline
- type TL_topPeerCategoryBotsPM
- type TL_topPeerCategoryChannels
- type TL_topPeerCategoryCorrespondents
- type TL_topPeerCategoryForwardChats
- type TL_topPeerCategoryForwardUsers
- type TL_topPeerCategoryGroups
- type TL_topPeerCategoryPeers
- type TL_topPeerCategoryPhoneCalls
- type TL_true
- type TL_updateAttachMenuBots
- type TL_updateAutoSaveSettings
- type TL_updateBotBusinessConnect
- type TL_updateBotCallbackQuery
- type TL_updateBotChatBoost
- type TL_updateBotChatInviteRequester
- type TL_updateBotCommands
- type TL_updateBotDeleteBusinessMessage
- type TL_updateBotEditBusinessMessage
- type TL_updateBotInlineQuery
- type TL_updateBotInlineSend
- type TL_updateBotMenuButton
- type TL_updateBotMessageReaction
- type TL_updateBotMessageReactions
- type TL_updateBotNewBusinessMessage
- type TL_updateBotPrecheckoutQuery
- type TL_updateBotPurchasedPaidMedia
- type TL_updateBotShippingQuery
- type TL_updateBotStopped
- type TL_updateBotWebhookJSON
- type TL_updateBotWebhookJSONQuery
- type TL_updateBusinessBotCallbackQuery
- type TL_updateChannel
- type TL_updateChannelAvailableMessages
- type TL_updateChannelMessageForwards
- type TL_updateChannelMessageViews
- type TL_updateChannelParticipant
- type TL_updateChannelReadMessagesContents
- type TL_updateChannelTooLong
- type TL_updateChannelUserTyping
- type TL_updateChannelViewForumAsMessages
- type TL_updateChannelWebPage
- type TL_updateChat
- type TL_updateChatDefaultBannedRights
- type TL_updateChatParticipant
- type TL_updateChatParticipantAdd
- type TL_updateChatParticipantAdmin
- type TL_updateChatParticipantDelete
- type TL_updateChatParticipants
- type TL_updateChatUserTyping
- type TL_updateConfig
- type TL_updateContactsReset
- type TL_updateDCOptions
- type TL_updateDeleteChannelMessages
- type TL_updateDeleteGroupCallMessages
- type TL_updateDeleteMessages
- type TL_updateDeleteQuickReply
- type TL_updateDeleteQuickReplyMessages
- type TL_updateDeleteScheduledMessages
- type TL_updateDialogFilter
- type TL_updateDialogFilterOrder
- type TL_updateDialogFilters
- type TL_updateDialogPinned
- type TL_updateDialogUnreadMark
- type TL_updateDraftMessage
- type TL_updateEditChannelMessage
- type TL_updateEditMessage
- type TL_updateEncryptedChatTyping
- type TL_updateEncryptedMessagesRead
- type TL_updateEncryption
- type TL_updateFavedStickers
- type TL_updateFolderPeers
- type TL_updateGeoLiveViewed
- type TL_updateGroupCall
- type TL_updateGroupCallChainBlocks
- type TL_updateGroupCallConnection
- type TL_updateGroupCallEncryptedMessage
- type TL_updateGroupCallMessage
- type TL_updateGroupCallParticipants
- type TL_updateInlineBotCallbackQuery
- type TL_updateLangPack
- type TL_updateLangPackTooLong
- type TL_updateLoginToken
- type TL_updateMessageExtendedMedia
- type TL_updateMessageID
- type TL_updateMessagePoll
- type TL_updateMessagePollVote
- type TL_updateMessageReactions
- type TL_updateMonoForumNoPaidException
- type TL_updateMoveStickerSetToTop
- type TL_updateNewAuthorization
- type TL_updateNewChannelMessage
- type TL_updateNewEncryptedMessage
- type TL_updateNewMessage
- type TL_updateNewQuickReply
- type TL_updateNewScheduledMessage
- type TL_updateNewStickerSet
- type TL_updateNewStoryReaction
- type TL_updateNotifySettings
- type TL_updatePTSChanged
- type TL_updatePaidReactionPrivacy
- type TL_updatePeerBlocked
- type TL_updatePeerHistoryTTL
- type TL_updatePeerLocated
- type TL_updatePeerSettings
- type TL_updatePeerWallpaper
- type TL_updatePendingJoinRequests
- type TL_updatePhoneCall
- type TL_updatePhoneCallSignalingData
- type TL_updatePinnedChannelMessages
- type TL_updatePinnedDialogs
- type TL_updatePinnedForumTopic
- type TL_updatePinnedForumTopics
- type TL_updatePinnedMessages
- type TL_updatePinnedSavedDialogs
- type TL_updatePrivacy
- type TL_updateQuickReplies
- type TL_updateQuickReplyMessage
- type TL_updateReadChannelDiscussionInbox
- type TL_updateReadChannelDiscussionOutbox
- type TL_updateReadChannelInbox
- type TL_updateReadChannelOutbox
- type TL_updateReadFeaturedEmojiStickers
- type TL_updateReadFeaturedStickers
- type TL_updateReadHistoryInbox
- type TL_updateReadHistoryOutbox
- type TL_updateReadMessagesContents
- type TL_updateReadMonoForumInbox
- type TL_updateReadMonoForumOutbox
- type TL_updateReadStories
- type TL_updateRecentEmojiStatuses
- type TL_updateRecentReactions
- type TL_updateRecentStickers
- type TL_updateSMSJob
- type TL_updateSavedDialogPinned
- type TL_updateSavedGIFs
- type TL_updateSavedReactionTags
- type TL_updateSavedRingtones
- type TL_updateSentPhoneCode
- type TL_updateSentStoryReaction
- type TL_updateServiceNotification
- type TL_updateShort
- type TL_updateShortChatMessage
- type TL_updateShortMessage
- type TL_updateShortSentMessage
- type TL_updateStarGiftAuctionState
- type TL_updateStarGiftAuctionUserState
- type TL_updateStarsBalance
- type TL_updateStarsRevenueStatus
- type TL_updateStickerSets
- type TL_updateStickerSetsOrder
- type TL_updateStoriesStealthMode
- type TL_updateStory
- type TL_updateStoryID
- type TL_updateTheme
- type TL_updateTranscribedAudio
- type TL_updateUser
- type TL_updateUserEmojiStatus
- type TL_updateUserName
- type TL_updateUserPhone
- type TL_updateUserStatus
- type TL_updateUserTyping
- type TL_updateWebPage
- type TL_updateWebViewResultSent
- type TL_updates
- type TL_updatesCombined
- type TL_updatesTooLong
- type TL_updates_channelDifference
- type TL_updates_channelDifferenceEmpty
- type TL_updates_channelDifferenceTooLong
- type TL_updates_difference
- type TL_updates_differenceEmpty
- type TL_updates_differenceSlice
- type TL_updates_differenceTooLong
- type TL_updates_getChannelDifference
- type TL_updates_getDifference
- type TL_updates_getState
- type TL_updates_state
- type TL_upload_cdnFile
- type TL_upload_cdnFileReuploadNeeded
- type TL_upload_file
- type TL_upload_fileCDNRedirect
- type TL_upload_getCDNFile
- type TL_upload_getCDNFileHashes
- type TL_upload_getFile
- type TL_upload_getFileHashes
- type TL_upload_getWebFile
- type TL_upload_reuploadCDNFile
- type TL_upload_saveBigFilePart
- type TL_upload_saveFilePart
- type TL_upload_webFile
- type TL_urlAuthResultAccepted
- type TL_urlAuthResultDefault
- type TL_urlAuthResultRequest
- type TL_user
- type TL_userEmpty
- type TL_userFull
- type TL_userProfilePhoto
- type TL_userProfilePhotoEmpty
- type TL_userStatusEmpty
- type TL_userStatusLastMonth
- type TL_userStatusLastWeek
- type TL_userStatusOffline
- type TL_userStatusOnline
- type TL_userStatusRecently
- type TL_username
- type TL_users_getFullUser
- type TL_users_getRequirementsToContact
- type TL_users_getSavedMusic
- type TL_users_getSavedMusicByID
- type TL_users_getUsers
- type TL_users_savedMusic
- type TL_users_savedMusicNotModified
- type TL_users_setSecureValueErrors
- type TL_users_suggestBirthday
- type TL_users_userFull
- type TL_users_users
- type TL_users_usersSlice
- type TL_videoSize
- type TL_videoSizeEmojiMarkup
- type TL_videoSizeStickerMarkup
- type TL_wallPaper
- type TL_wallPaperNoFile
- type TL_wallPaperSettings
- type TL_webAuthorization
- type TL_webDocument
- type TL_webDocumentNoProxy
- type TL_webPage
- type TL_webPageAttributeStarGiftAuction
- type TL_webPageAttributeStarGiftCollection
- type TL_webPageAttributeStickerSet
- type TL_webPageAttributeStory
- type TL_webPageAttributeTheme
- type TL_webPageAttributeUniqueStarGift
- type TL_webPageEmpty
- type TL_webPageNotModified
- type TL_webPagePending
- type TL_webViewMessageSent
- type TL_webViewResultURL
- type UnexpectedTypeError
- type VectorInt
- type VectorLong
- type VectorObject
Constants ¶
const ( CRC_vector = 0x1cb5c415 CRC_rpc_result = 0xf35c6d01 CRC_msg_container = 0x73f1f8dc CRC_gzip_packed = 0x3072cfa1 )
const ( TL_ErrSeeOther = int32(303) TL_ErrBadRequest = int32(400) TL_ErrForbidden = int32(403) TL_ErrNotFound = int32(404) TL_ErrFlood = int32(420) TL_ErrInterbal = int32(500) )
const ( TL_Layer = 220 CRC_resPQ = 0x05162463 CRC_pqInnerData = 0x83c95aec CRC_pqInnerDataDC = 0xa9f55f95 CRC_pqInnerDataTemp = 0x3c6a84d4 CRC_pqInnerDataTempDC = 0x56fddf88 CRC_bindAuthKeyInner = 0x75a3f765 CRC_serverDHParamsFail = 0x79cb045d CRC_serverDHParamsOK = 0xd0e8075c CRC_serverDHInnerData = 0xb5890dba CRC_clientDHInnerData = 0x6643b654 CRC_dhGenOK = 0x3bcbf734 CRC_dhGenRetry = 0x46dc1fb9 CRC_dhGenFail = 0xa69dae02 CRC_destroyAuthKeyOK = 0xf660e1d4 CRC_destroyAuthKeyNone = 0x0a9f2259 CRC_destroyAuthKeyFail = 0xea109b13 CRC_reqPQ = 0x60469778 CRC_reqPQMulti = 0xbe7e8ef1 CRC_reqDHParams = 0xd712e4be CRC_setClientDHParams = 0xf5045f1f CRC_destroyAuthKey = 0xd1435160 CRC_msgsACK = 0x62d6b459 CRC_badMsgNotification = 0xa7eff811 CRC_badServerSalt = 0xedab447b CRC_msgsStateReq = 0xda69fb52 CRC_msgsStateInfo = 0x04deb57d CRC_msgsAllInfo = 0x8cc0d131 CRC_msgDetailedInfo = 0x276d3ec6 CRC_msgNewDetailedInfo = 0x809db6df CRC_msgResendReq = 0x7d861a08 CRC_rpcError = 0x2144ca19 CRC_rpcAnswerUnknown = 0x5e2ad36e CRC_rpcAnswerDroppedRunning = 0xcd78e586 CRC_rpcAnswerDropped = 0xa43ad8b7 CRC_futureSalt = 0x0949d9dc CRC_futureSalts = 0xae500895 CRC_pong = 0x347773c5 CRC_destroySessionOK = 0xe22045fc CRC_destroySessionNone = 0x62d350c9 CRC_newSessionCreated = 0x9ec20908 CRC_httpWait = 0x9299359f CRC_ipPort = 0xd433ad73 CRC_ipPortSecret = 0x37982646 CRC_accessPointRule = 0x4679b65f CRC_help_configSimple = 0x5a592a6c CRC_tlsClientHello = 0x6c52c484 CRC_tlsBlockString = 0x4218a164 CRC_tlsBlockRandom = 0x4d4dc41e CRC_tlsBlockZero = 0x09333afb CRC_tlsBlockDomain = 0x10e8636f CRC_tlsBlockGrease = 0xe675a1c1 CRC_tlsBlockPublicKey = 0x9eb95b5c CRC_tlsBlockScope = 0xe725d44f CRC_tlsBlockPermutation = 0xd51f148e CRC_tlsBlockM = 0x9de0538b CRC_tlsBlockE = 0x9bec2575 CRC_tlsBlockPadding = 0xa4357218 CRC_rpcDropAnswer = 0x58e4a740 CRC_getFutureSalts = 0xb921bd04 CRC_ping = 0x7abe77ec CRC_pingDelayDisconnect = 0xf3427b8c CRC_destroySession = 0xe7512126 CRC_boolFalse = 0xbc799737 CRC_boolTrue = 0x997275b5 CRC_true = 0x3fedd339 CRC_error = 0xc4b9f9bb CRC_null = 0x56730bcc CRC_inputPeerEmpty = 0x7f3b18ea CRC_inputPeerSelf = 0x7da07ec9 CRC_inputPeerChat = 0x35a95cb9 CRC_inputPeerUser = 0xdde8a54c CRC_inputPeerChannel = 0x27bcbbfc CRC_inputPeerUserFromMessage = 0xa87b0a1c CRC_inputPeerChannelFromMessage = 0xbd2a0840 CRC_inputUserEmpty = 0xb98886cf CRC_inputUserSelf = 0xf7c1b13f CRC_inputUser = 0xf21158c6 CRC_inputUserFromMessage = 0x1da448e2 CRC_inputPhoneContact = 0x6a1dc4be CRC_inputFile = 0xf52ff27f CRC_inputFileBig = 0xfa4f0bb5 CRC_inputFileStoryDocument = 0x62dc8b48 CRC_inputMediaEmpty = 0x9664f57f CRC_inputMediaUploadedPhoto = 0x1e287d04 CRC_inputMediaPhoto = 0xb3ba0635 CRC_inputMediaGeoPoint = 0xf9c44144 CRC_inputMediaContact = 0xf8ab7dfb CRC_inputMediaUploadedDocument = 0x037c9330 CRC_inputMediaDocument = 0xa8763ab5 CRC_inputMediaVenue = 0xc13d1c11 CRC_inputMediaPhotoExternal = 0xe5bbfe1a CRC_inputMediaDocumentExternal = 0x779600f9 CRC_inputMediaGame = 0xd33f43f3 CRC_inputMediaInvoice = 0x405fef0d CRC_inputMediaGeoLive = 0x971fa843 CRC_inputMediaPoll = 0x0f94e5f1 CRC_inputMediaDice = 0xe66fbf7b CRC_inputMediaStory = 0x89fdd778 CRC_inputMediaWebPage = 0xc21b8849 CRC_inputMediaPaidMedia = 0xc4103386 CRC_inputMediaTodo = 0x9fc55fde CRC_inputChatPhotoEmpty = 0x1ca48f57 CRC_inputChatUploadedPhoto = 0xbdcdaec0 CRC_inputChatPhoto = 0x8953ad37 CRC_inputGeoPointEmpty = 0xe4c123d6 CRC_inputGeoPoint = 0x48222faf CRC_inputPhotoEmpty = 0x1cd7bf0d CRC_inputPhoto = 0x3bb3b94a CRC_inputFileLocation = 0xdfdaabe1 CRC_inputEncryptedFileLocation = 0xf5235d55 CRC_inputDocumentFileLocation = 0xbad07584 CRC_inputSecureFileLocation = 0xcbc7ee28 CRC_inputTakeoutFileLocation = 0x29be5899 CRC_inputPhotoFileLocation = 0x40181ffe CRC_inputPhotoLegacyFileLocation = 0xd83466f3 CRC_inputPeerPhotoFileLocation = 0x37257e99 CRC_inputStickerSetThumb = 0x9d84f3db CRC_inputGroupCallStream = 0x0598a92a CRC_peerUser = 0x59511722 CRC_peerChat = 0x36c6019a CRC_peerChannel = 0xa2a5371e CRC_storage_fileUnknown = 0xaa963b05 CRC_storage_filePartial = 0x40bc6f52 CRC_storage_fileJPEG = 0x007efe0e CRC_storage_fileGIF = 0xcae1aadf CRC_storage_filePNG = 0x0a4f63c0 CRC_storage_filePDF = 0xae1e508d CRC_storage_fileMP3 = 0x528a0677 CRC_storage_fileMOV = 0x4b09ebbc CRC_storage_fileMP4 = 0xb3cea0e4 CRC_storage_fileWEBP = 0x1081464c CRC_userEmpty = 0xd3bc4b7a CRC_user = 0x31774388 CRC_userProfilePhotoEmpty = 0x4f11bae1 CRC_userProfilePhoto = 0x82d1f706 CRC_userStatusEmpty = 0x09d05049 CRC_userStatusOnline = 0xedb93949 CRC_userStatusOffline = 0x008c703f CRC_userStatusRecently = 0x7b197dc8 CRC_userStatusLastWeek = 0x541a1d1a CRC_userStatusLastMonth = 0x65899777 CRC_chatEmpty = 0x29562865 CRC_chat = 0x41cbf256 CRC_chatForbidden = 0x6592a1a7 CRC_channel = 0x1c32b11c CRC_channelForbidden = 0x17d493d5 CRC_chatFull = 0x2633421b CRC_channelFull = 0xe4e0b29d CRC_chatParticipant = 0xc02d4007 CRC_chatParticipantCreator = 0xe46bcee4 CRC_chatParticipantAdmin = 0xa0933f5b CRC_chatParticipantsForbidden = 0x8763d3e1 CRC_chatParticipants = 0x3cbc93f8 CRC_chatPhotoEmpty = 0x37c1011c CRC_chatPhoto = 0x1c6e1c11 CRC_messageEmpty = 0x90a6ca84 CRC_message = 0xb92f76cf CRC_messageService = 0x7a800e0a CRC_messageMediaEmpty = 0x3ded6320 CRC_messageMediaPhoto = 0x695150d7 CRC_messageMediaGeo = 0x56e0d474 CRC_messageMediaContact = 0x70322949 CRC_messageMediaUnsupported = 0x9f84f49e CRC_messageMediaDocument = 0x52d8ccd9 CRC_messageMediaWebPage = 0xddf10c3b CRC_messageMediaVenue = 0x2ec0533f CRC_messageMediaGame = 0xfdb19008 CRC_messageMediaInvoice = 0xf6a548d3 CRC_messageMediaGeoLive = 0xb940c666 CRC_messageMediaPoll = 0x4bd6e798 CRC_messageMediaDice = 0x3f7ee58b CRC_messageMediaStory = 0x68cb6283 CRC_messageMediaGiveaway = 0xaa073beb CRC_messageMediaGiveawayResults = 0xceaa3ea1 CRC_messageMediaPaidMedia = 0xa8852491 CRC_messageMediaToDo = 0x8a53b014 CRC_messageMediaVideoStream = 0xca5cab89 CRC_messageActionEmpty = 0xb6aef7b0 CRC_messageActionChatCreate = 0xbd47cbad CRC_messageActionChatEditTitle = 0xb5a1ce5a CRC_messageActionChatEditPhoto = 0x7fcb13a8 CRC_messageActionChatDeletePhoto = 0x95e3fbef CRC_messageActionChatAddUser = 0x15cefd00 CRC_messageActionChatDeleteUser = 0xa43f30cc CRC_messageActionChatJoinedByLink = 0x031224c3 CRC_messageActionChannelCreate = 0x95d2ac92 CRC_messageActionChatMigrateTo = 0xe1037f92 CRC_messageActionChannelMigrateFrom = 0xea3948e9 CRC_messageActionPINMessage = 0x94bd38ed CRC_messageActionHistoryClear = 0x9fbab604 CRC_messageActionGameScore = 0x92a72876 CRC_messageActionPaymentSentMe = 0xffa00ccc CRC_messageActionPaymentSent = 0xc624b16e CRC_messageActionPhoneCall = 0x80e11a7f CRC_messageActionScreenshotTaken = 0x4792929b CRC_messageActionCustomAction = 0xfae69f56 CRC_messageActionBotAllowed = 0xc516d679 CRC_messageActionSecureValuesSentMe = 0x1b287353 CRC_messageActionSecureValuesSent = 0xd95c6154 CRC_messageActionContactSignUp = 0xf3f25f76 CRC_messageActionGeoProximityReached = 0x98e0d697 CRC_messageActionGroupCall = 0x7a0d7f42 CRC_messageActionInviteToGroupCall = 0x502f92f7 CRC_messageActionSetMessagesTTL = 0x3c134d7b CRC_messageActionGroupCallScheduled = 0xb3a07661 CRC_messageActionSetChatTheme = 0xb91bbd3a CRC_messageActionChatJoinedByRequest = 0xebbca3cb CRC_messageActionWebViewDataSentMe = 0x47dd8079 CRC_messageActionWebViewDataSent = 0xb4c38cb5 CRC_messageActionGiftPremium = 0x48e91302 CRC_messageActionTopicCreate = 0x0d999256 CRC_messageActionTopicEdit = 0xc0944820 CRC_messageActionSuggestProfilePhoto = 0x57de635e CRC_messageActionRequestedPeer = 0x31518e9b CRC_messageActionSetChatWallPaper = 0x5060a3f4 CRC_messageActionGiftCode = 0x31c48347 CRC_messageActionGiveawayLaunch = 0xa80f51e4 CRC_messageActionGiveawayResults = 0x87e2f155 CRC_messageActionBoostApply = 0xcc02aa6d CRC_messageActionRequestedPeerSentMe = 0x93b31848 CRC_messageActionPaymentRefunded = 0x41b3e202 CRC_messageActionGiftStars = 0x45d5b021 CRC_messageActionPrizeStars = 0xb00c47a2 CRC_messageActionStarGift = 0xea2c31d3 CRC_messageActionStarGiftUnique = 0x95728543 CRC_messageActionPaidMessagesRefunded = 0xac1f1fcd CRC_messageActionPaidMessagesPrice = 0x84b88578 CRC_messageActionConferenceCall = 0x2ffe2f7a CRC_messageActionTodoCompletions = 0xcc7c5c89 CRC_messageActionTodoAppendTasks = 0xc7edbc83 CRC_messageActionSuggestedPostApproval = 0xee7a1596 CRC_messageActionSuggestedPostSuccess = 0x95ddcf69 CRC_messageActionSuggestedPostRefund = 0x69f916f8 CRC_messageActionGiftTon = 0xa8a3c699 CRC_messageActionSuggestBirthday = 0x2c8f2a25 CRC_messageActionStarGiftPurchaseOffer = 0x774278d4 CRC_messageActionStarGiftPurchaseOfferDeclined = 0x73ada76b CRC_dialog = 0xd58a08c6 CRC_dialogFolder = 0x71bd134c CRC_photoEmpty = 0x2331b22d CRC_photo = 0xfb197a65 CRC_photoSizeEmpty = 0x0e17e23c CRC_photoSize = 0x75c78e60 CRC_photoCachedSize = 0x021e1ad6 CRC_photoStrippedSize = 0xe0b0bc2e CRC_photoSizeProgressive = 0xfa3efb95 CRC_photoPathSize = 0xd8214d41 CRC_geoPointEmpty = 0x1117dd5f CRC_geoPoint = 0xb2a2f663 CRC_auth_sentCode = 0x5e002502 CRC_auth_sentCodeSuccess = 0x2390fe44 CRC_auth_sentCodePaymentRequired = 0xe0955a3c CRC_auth_exportedAuthorization = 0xb434e2b8 CRC_inputNotifyPeer = 0xb8bc5b0c CRC_inputNotifyUsers = 0x193b4417 CRC_inputNotifyChats = 0x4a95e84e CRC_inputNotifyBroadcasts = 0xb1db7c7e CRC_inputNotifyForumTopic = 0x5c467992 CRC_inputPeerNotifySettings = 0xcacb6ae2 CRC_peerNotifySettings = 0x99622c0c CRC_peerSettings = 0xf47741f7 CRC_wallPaper = 0xa437c3ed CRC_wallPaperNoFile = 0xe0804116 CRC_inputReportReasonSpam = 0x58dbcab8 CRC_inputReportReasonViolence = 0x1e22c78d CRC_inputReportReasonPornography = 0x2e59d922 CRC_inputReportReasonChildAbuse = 0xadf44ee3 CRC_inputReportReasonOther = 0xc1e4a2b1 CRC_inputReportReasonCopyright = 0x9b89f93a CRC_inputReportReasonGeoIrrelevant = 0xdbd4feed CRC_inputReportReasonFake = 0xf5ddd6e7 CRC_inputReportReasonIllegalDrugs = 0x0a8eb2be CRC_inputReportReasonPersonalDetails = 0x9ec7863d CRC_userFull = 0xa02bc13e CRC_contact = 0x145ade0b CRC_importedContact = 0xc13e3c50 CRC_contactStatus = 0x16d9703b CRC_contacts_contactsNotModified = 0xb74ba9d2 CRC_contacts_contacts = 0xeae87e42 CRC_contacts_importedContacts = 0x77d01c3b CRC_contacts_blocked = 0x0ade1591 CRC_contacts_blockedSlice = 0xe1664194 CRC_messages_dialogs = 0x15ba6c40 CRC_messages_dialogsSlice = 0x71e094f3 CRC_messages_dialogsNotModified = 0xf0e3e596 CRC_messages_messages = 0x1d73e7ea CRC_messages_messagesSlice = 0x5f206716 CRC_messages_channelMessages = 0xc776ba4e CRC_messages_messagesNotModified = 0x74535f21 CRC_messages_chats = 0x64ff9fd5 CRC_messages_chatsSlice = 0x9cd81144 CRC_messages_chatFull = 0xe5d7d19c CRC_messages_affectedHistory = 0xb45c69d1 CRC_inputMessagesFilterEmpty = 0x57e2f66c CRC_inputMessagesFilterPhotos = 0x9609a51c CRC_inputMessagesFilterVideo = 0x9fc00e65 CRC_inputMessagesFilterPhotoVideo = 0x56e9f0e4 CRC_inputMessagesFilterDocument = 0x9eddf188 CRC_inputMessagesFilterURL = 0x7ef0dd87 CRC_inputMessagesFilterGIF = 0xffc86587 CRC_inputMessagesFilterVoice = 0x50f5c392 CRC_inputMessagesFilterMusic = 0x3751b49e CRC_inputMessagesFilterChatPhotos = 0x3a20ecb8 CRC_inputMessagesFilterPhoneCalls = 0x80c99768 CRC_inputMessagesFilterRoundVoice = 0x7a7c17a4 CRC_inputMessagesFilterRoundVideo = 0xb549da53 CRC_inputMessagesFilterMyMentions = 0xc1f8e69a CRC_inputMessagesFilterGeo = 0xe7026d0d CRC_inputMessagesFilterContacts = 0xe062db83 CRC_inputMessagesFilterPinned = 0x1bb00451 CRC_updateNewMessage = 0x1f2b0afd CRC_updateMessageID = 0x4e90bfd6 CRC_updateDeleteMessages = 0xa20db0e5 CRC_updateUserTyping = 0x2a17bf5c CRC_updateChatUserTyping = 0x83487af0 CRC_updateChatParticipants = 0x07761198 CRC_updateUserStatus = 0xe5bdf8de CRC_updateUserName = 0xa7848924 CRC_updateNewAuthorization = 0x8951abef CRC_updateNewEncryptedMessage = 0x12bcbd9a CRC_updateEncryptedChatTyping = 0x1710f156 CRC_updateEncryption = 0xb4a2e88d CRC_updateEncryptedMessagesRead = 0x38fe25b7 CRC_updateChatParticipantAdd = 0x3dda5451 CRC_updateChatParticipantDelete = 0xe32f3d77 CRC_updateDCOptions = 0x8e5e9873 CRC_updateNotifySettings = 0xbec268ef CRC_updateServiceNotification = 0xebe46819 CRC_updatePrivacy = 0xee3b272a CRC_updateUserPhone = 0x05492a13 CRC_updateReadHistoryInbox = 0x9e84bc99 CRC_updateReadHistoryOutbox = 0x2f2f21bf CRC_updateWebPage = 0x7f891213 CRC_updateReadMessagesContents = 0xf8227181 CRC_updateChannelTooLong = 0x108d941f CRC_updateChannel = 0x635b4c09 CRC_updateNewChannelMessage = 0x62ba04d9 CRC_updateReadChannelInbox = 0x922e6e10 CRC_updateDeleteChannelMessages = 0xc32d5b12 CRC_updateChannelMessageViews = 0xf226ac08 CRC_updateChatParticipantAdmin = 0xd7ca61a2 CRC_updateNewStickerSet = 0x688a30aa CRC_updateStickerSetsOrder = 0x0bb2d201 CRC_updateStickerSets = 0x31c24808 CRC_updateSavedGIFs = 0x9375341e CRC_updateBotInlineQuery = 0x496f379c CRC_updateBotInlineSend = 0x12f12a07 CRC_updateEditChannelMessage = 0x1b3f4df7 CRC_updateBotCallbackQuery = 0xb9cfc48d CRC_updateEditMessage = 0xe40370a3 CRC_updateInlineBotCallbackQuery = 0x691e9052 CRC_updateReadChannelOutbox = 0xb75f99a9 CRC_updateDraftMessage = 0xedfc111e CRC_updateReadFeaturedStickers = 0x571d2742 CRC_updateRecentStickers = 0x9a422c20 CRC_updateConfig = 0xa229dd06 CRC_updatePTSChanged = 0x3354678f CRC_updateChannelWebPage = 0x2f2ba99f CRC_updateDialogPinned = 0x6e6fe51c CRC_updatePinnedDialogs = 0xfa0f3ca2 CRC_updateBotWebhookJSON = 0x8317c0c3 CRC_updateBotWebhookJSONQuery = 0x9b9240a6 CRC_updateBotShippingQuery = 0xb5aefd7d CRC_updateBotPrecheckoutQuery = 0x8caa9a96 CRC_updatePhoneCall = 0xab0f6b1e CRC_updateLangPackTooLong = 0x46560264 CRC_updateLangPack = 0x56022f4d CRC_updateFavedStickers = 0xe511996d CRC_updateChannelReadMessagesContents = 0x25f324f7 CRC_updateContactsReset = 0x7084a7be CRC_updateChannelAvailableMessages = 0xb23fc698 CRC_updateDialogUnreadMark = 0xb658f23e CRC_updateMessagePoll = 0xaca1657b CRC_updateChatDefaultBannedRights = 0x54c01850 CRC_updateFolderPeers = 0x19360dc0 CRC_updatePeerSettings = 0x6a7e7366 CRC_updatePeerLocated = 0xb4afcfb0 CRC_updateNewScheduledMessage = 0x39a51dfb CRC_updateDeleteScheduledMessages = 0xf2a71983 CRC_updateTheme = 0x8216fba3 CRC_updateGeoLiveViewed = 0x871fb939 CRC_updateLoginToken = 0x564fe691 CRC_updateMessagePollVote = 0x24f40e77 CRC_updateDialogFilter = 0x26ffde7d CRC_updateDialogFilterOrder = 0xa5d72105 CRC_updateDialogFilters = 0x3504914f CRC_updatePhoneCallSignalingData = 0x2661bf09 CRC_updateChannelMessageForwards = 0xd29a27f4 CRC_updateReadChannelDiscussionInbox = 0xd6b19546 CRC_updateReadChannelDiscussionOutbox = 0x695c9e7c CRC_updatePeerBlocked = 0xebe07752 CRC_updateChannelUserTyping = 0x8c88c923 CRC_updatePinnedMessages = 0xed85eab5 CRC_updatePinnedChannelMessages = 0x5bb98608 CRC_updateChat = 0xf89a6a4e CRC_updateGroupCallParticipants = 0xf2ebdb4e CRC_updateGroupCall = 0x9d2216e0 CRC_updatePeerHistoryTTL = 0xbb9bb9a5 CRC_updateChatParticipant = 0xd087663a CRC_updateChannelParticipant = 0x985d3abb CRC_updateBotStopped = 0xc4870a49 CRC_updateGroupCallConnection = 0x0b783982 CRC_updateBotCommands = 0x4d712f2e CRC_updatePendingJoinRequests = 0x7063c3db CRC_updateBotChatInviteRequester = 0x11dfa986 CRC_updateMessageReactions = 0x1e297bfa CRC_updateAttachMenuBots = 0x17b7a20b CRC_updateWebViewResultSent = 0x1592b79d CRC_updateBotMenuButton = 0x14b85813 CRC_updateSavedRingtones = 0x74d8be99 CRC_updateTranscribedAudio = 0x0084cd5a CRC_updateReadFeaturedEmojiStickers = 0xfb4c496c CRC_updateUserEmojiStatus = 0x28373599 CRC_updateRecentEmojiStatuses = 0x30f443db CRC_updateRecentReactions = 0x6f7863f4 CRC_updateMoveStickerSetToTop = 0x86fccf85 CRC_updateMessageExtendedMedia = 0xd5a41724 CRC_updateUser = 0x20529438 CRC_updateAutoSaveSettings = 0xec05b097 CRC_updateStory = 0x75b3b798 CRC_updateReadStories = 0xf74e932b CRC_updateStoryID = 0x1bf335b9 CRC_updateStoriesStealthMode = 0x2c084dc1 CRC_updateSentStoryReaction = 0x7d627683 CRC_updateBotChatBoost = 0x904dd49c CRC_updateChannelViewForumAsMessages = 0x07b68920 CRC_updatePeerWallpaper = 0xae3f101d CRC_updateBotMessageReaction = 0xac21d3ce CRC_updateBotMessageReactions = 0x09cb7759 CRC_updateSavedDialogPinned = 0xaeaf9e74 CRC_updatePinnedSavedDialogs = 0x686c85a6 CRC_updateSavedReactionTags = 0x39c67432 CRC_updateSMSJob = 0xf16269d4 CRC_updateQuickReplies = 0xf9470ab2 CRC_updateNewQuickReply = 0xf53da717 CRC_updateDeleteQuickReply = 0x53e6f1ec CRC_updateQuickReplyMessage = 0x3e050d0f CRC_updateDeleteQuickReplyMessages = 0x566fe7cd CRC_updateBotBusinessConnect = 0x8ae5c97a CRC_updateBotNewBusinessMessage = 0x9ddb347c CRC_updateBotEditBusinessMessage = 0x07df587c CRC_updateBotDeleteBusinessMessage = 0xa02a982e CRC_updateNewStoryReaction = 0x1824e40b CRC_updateStarsBalance = 0x4e80a379 CRC_updateBusinessBotCallbackQuery = 0x1ea2fda7 CRC_updateStarsRevenueStatus = 0xa584b019 CRC_updateBotPurchasedPaidMedia = 0x283bd312 CRC_updatePaidReactionPrivacy = 0x8b725fce CRC_updateSentPhoneCode = 0x504aa18f CRC_updateGroupCallChainBlocks = 0xa477288f CRC_updateReadMonoForumInbox = 0x77b0e372 CRC_updateReadMonoForumOutbox = 0xa4a79376 CRC_updateMonoForumNoPaidException = 0x9f812b08 CRC_updateGroupCallMessage = 0xd8326f0d CRC_updateGroupCallEncryptedMessage = 0xc957a766 CRC_updatePinnedForumTopic = 0x683b2c52 CRC_updatePinnedForumTopics = 0xdef143d0 CRC_updateDeleteGroupCallMessages = 0x3e85e92c CRC_updateStarGiftAuctionState = 0x48e246c2 CRC_updateStarGiftAuctionUserState = 0xdc58f31e CRC_updates_state = 0xa56c2a3e CRC_updates_differenceEmpty = 0x5d75a138 CRC_updates_difference = 0x00f49ca0 CRC_updates_differenceSlice = 0xa8fb1981 CRC_updates_differenceTooLong = 0x4afe8f6d CRC_updatesTooLong = 0xe317af7e CRC_updateShortMessage = 0x313bc7f8 CRC_updateShortChatMessage = 0x4d6deea5 CRC_updateShort = 0x78d4dec1 CRC_updatesCombined = 0x725b04c3 CRC_updates = 0x74ae4240 CRC_updateShortSentMessage = 0x9015e101 CRC_photos_photos = 0x8dca6aa5 CRC_photos_photosSlice = 0x15051f54 CRC_photos_photo = 0x20212ca8 CRC_upload_file = 0x096a18d5 CRC_upload_fileCDNRedirect = 0xf18cda44 CRC_dcOption = 0x18b7a10d CRC_config = 0xcc1a241e CRC_nearestDC = 0x8e1a1775 CRC_help_appUpdate = 0xccbbce30 CRC_help_noAppUpdate = 0xc45a6536 CRC_help_inviteText = 0x18cb9f78 CRC_encryptedChatEmpty = 0xab7ec0a0 CRC_encryptedChatWaiting = 0x66b25953 CRC_encryptedChatRequested = 0x48f1d94c CRC_encryptedChat = 0x61f0d4c7 CRC_encryptedChatDiscarded = 0x1e1c7c45 CRC_inputEncryptedChat = 0xf141b5e1 CRC_encryptedFileEmpty = 0xc21f497e CRC_encryptedFile = 0xa8008cd8 CRC_inputEncryptedFileEmpty = 0x1837c364 CRC_inputEncryptedFileUploaded = 0x64bd0306 CRC_inputEncryptedFile = 0x5a17b5e5 CRC_inputEncryptedFileBigUploaded = 0x2dc173c8 CRC_encryptedMessage = 0xed18c118 CRC_encryptedMessageService = 0x23734b06 CRC_messages_dhConfigNotModified = 0xc0e24635 CRC_messages_dhConfig = 0x2c221edd CRC_messages_sentEncryptedMessage = 0x560f8935 CRC_messages_sentEncryptedFile = 0x9493ff32 CRC_inputDocumentEmpty = 0x72f0eaae CRC_inputDocument = 0x1abfb575 CRC_documentEmpty = 0x36f8c871 CRC_document = 0x8fd4c4d8 CRC_help_support = 0x17c6b5f6 CRC_notifyPeer = 0x9fd40bd8 CRC_notifyUsers = 0xb4c83b4c CRC_notifyChats = 0xc007cec3 CRC_notifyBroadcasts = 0xd612e8ef CRC_notifyForumTopic = 0x226e6308 CRC_sendMessageTypingAction = 0x16bf744e CRC_sendMessageCancelAction = 0xfd5ec8f5 CRC_sendMessageRecordVideoAction = 0xa187d66f CRC_sendMessageUploadVideoAction = 0xe9763aec CRC_sendMessageRecordAudioAction = 0xd52f73f7 CRC_sendMessageUploadAudioAction = 0xf351d7ab CRC_sendMessageUploadPhotoAction = 0xd1d34a26 CRC_sendMessageUploadDocumentAction = 0xaa0cd9e4 CRC_sendMessageGeoLocationAction = 0x176f8ba1 CRC_sendMessageChooseContactAction = 0x628cbc6f CRC_sendMessageGamePlayAction = 0xdd6a8f48 CRC_sendMessageRecordRoundAction = 0x88f27fbc CRC_sendMessageUploadRoundAction = 0x243e1c66 CRC_speakingInGroupCallAction = 0xd92c2285 CRC_sendMessageHistoryImportAction = 0xdbda9246 CRC_sendMessageChooseStickerAction = 0xb05ac6b1 CRC_sendMessageEmojiInteraction = 0x25972bcb CRC_sendMessageEmojiInteractionSeen = 0xb665902e CRC_sendMessageTextDraftAction = 0x376d975c CRC_contacts_found = 0xb3134d9d CRC_inputPrivacyKeyStatusTimestamp = 0x4f96cb18 CRC_inputPrivacyKeyChatInvite = 0xbdfb0426 CRC_inputPrivacyKeyPhoneCall = 0xfabadc5f CRC_inputPrivacyKeyPhoneP2P = 0xdb9e70d2 CRC_inputPrivacyKeyForwards = 0xa4dd4c08 CRC_inputPrivacyKeyProfilePhoto = 0x5719bacc CRC_inputPrivacyKeyPhoneNumber = 0x0352dafa CRC_inputPrivacyKeyAddedByPhone = 0xd1219bdd CRC_inputPrivacyKeyVoiceMessages = 0xaee69d68 CRC_inputPrivacyKeyAbout = 0x3823cc40 CRC_inputPrivacyKeyBirthday = 0xd65a11cc CRC_inputPrivacyKeyStarGiftsAutoSave = 0xe1732341 CRC_inputPrivacyKeyNoPaidMessages = 0xbdc597b4 CRC_inputPrivacyKeySavedMusic = 0x4dbe9226 CRC_privacyKeyStatusTimestamp = 0xbc2eab30 CRC_privacyKeyChatInvite = 0x500e6dfa CRC_privacyKeyPhoneCall = 0x3d662b7b CRC_privacyKeyPhoneP2P = 0x39491cc8 CRC_privacyKeyForwards = 0x69ec56a3 CRC_privacyKeyProfilePhoto = 0x96151fed CRC_privacyKeyPhoneNumber = 0xd19ae46d CRC_privacyKeyAddedByPhone = 0x42ffd42b CRC_privacyKeyVoiceMessages = 0x0697f414 CRC_privacyKeyAbout = 0xa486b761 CRC_privacyKeyBirthday = 0x2000a518 CRC_privacyKeyStarGiftsAutoSave = 0x2ca4fdf8 CRC_privacyKeyNoPaidMessages = 0x17d348d2 CRC_privacyKeySavedMusic = 0xff7a571b CRC_inputPrivacyValueAllowContacts = 0x0d09e07b CRC_inputPrivacyValueAllowAll = 0x184b35ce CRC_inputPrivacyValueAllowUsers = 0x131cc67f CRC_inputPrivacyValueDisallowContacts = 0x0ba52007 CRC_inputPrivacyValueDisallowAll = 0xd66b66c9 CRC_inputPrivacyValueDisallowUsers = 0x90110467 CRC_inputPrivacyValueAllowChatParticipants = 0x840649cf CRC_inputPrivacyValueDisallowChatParticipants = 0xe94f0f86 CRC_inputPrivacyValueAllowCloseFriends = 0x2f453e49 CRC_inputPrivacyValueAllowPremium = 0x77cdc9f1 CRC_inputPrivacyValueAllowBots = 0x5a4fcce5 CRC_inputPrivacyValueDisallowBots = 0xc4e57915 CRC_privacyValueAllowContacts = 0xfffe1bac CRC_privacyValueAllowAll = 0x65427b82 CRC_privacyValueAllowUsers = 0xb8905fb2 CRC_privacyValueDisallowContacts = 0xf888fa1a CRC_privacyValueDisallowAll = 0x8b73e763 CRC_privacyValueDisallowUsers = 0xe4621141 CRC_privacyValueAllowChatParticipants = 0x6b134e8e CRC_privacyValueDisallowChatParticipants = 0x41c87565 CRC_privacyValueAllowCloseFriends = 0xf7e8d89b CRC_privacyValueAllowPremium = 0xece9814b CRC_privacyValueAllowBots = 0x21461b5d CRC_privacyValueDisallowBots = 0xf6a5f82f CRC_account_privacyRules = 0x50a04e45 CRC_accountDaysTTL = 0xb8d0afdf CRC_documentAttributeImageSize = 0x6c37c15c CRC_documentAttributeAnimated = 0x11b58939 CRC_documentAttributeSticker = 0x6319d612 CRC_documentAttributeVideo = 0x43c57c48 CRC_documentAttributeAudio = 0x9852f9c6 CRC_documentAttributeFilename = 0x15590068 CRC_documentAttributeHasStickers = 0x9801d2f7 CRC_documentAttributeCustomEmoji = 0xfd149899 CRC_messages_stickersNotModified = 0xf1749a22 CRC_messages_stickers = 0x30a6ec7e CRC_stickerPack = 0x12b299d4 CRC_messages_allStickersNotModified = 0xe86602c3 CRC_messages_allStickers = 0xcdbbcebb CRC_messages_affectedMessages = 0x84d19185 CRC_webPageEmpty = 0x211a1788 CRC_webPagePending = 0xb0d13e47 CRC_webPage = 0xe89c45b2 CRC_webPageNotModified = 0x7311ca11 CRC_account_password = 0x957b50fb CRC_account_passwordSettings = 0x9a5c33e5 CRC_account_passwordInputSettings = 0xc23727c9 CRC_auth_passwordRecovery = 0x137948a5 CRC_receivedNotifyMessage = 0xa384b779 CRC_chatInviteExported = 0xa22cbd96 CRC_chatInvitePublicJoinRequests = 0xed107ab7 CRC_chatInviteAlready = 0x5a686d7c CRC_chatInvite = 0x5c9d3702 CRC_chatInvitePeek = 0x61695cb0 CRC_inputStickerSetEmpty = 0xffb62b95 CRC_inputStickerSetID = 0x9de7a269 CRC_inputStickerSetShortName = 0x861cc8a0 CRC_inputStickerSetAnimatedEmoji = 0x028703c8 CRC_inputStickerSetDice = 0xe67f520e CRC_inputStickerSetAnimatedEmojiAnimations = 0x0cde3739 CRC_inputStickerSetPremiumGifts = 0xc88b3b02 CRC_inputStickerSetEmojiGenericAnimations = 0x04c4d4ce CRC_inputStickerSetEmojiDefaultStatuses = 0x29d0f5ee CRC_inputStickerSetEmojiDefaultTopicIcons = 0x44c1f8e9 CRC_inputStickerSetEmojiChannelDefaultStatuses = 0x49748553 CRC_inputStickerSetTonGifts = 0x1cf671a0 CRC_stickerSet = 0x2dd14edc CRC_messages_stickerSet = 0x6e153f16 CRC_messages_stickerSetNotModified = 0xd3f924eb CRC_botCommand = 0xc27ac8c7 CRC_botInfo = 0x4d8a0299 CRC_keyboardButton = 0xa2fa4880 CRC_keyboardButtonURL = 0x258aff05 CRC_keyboardButtonCallback = 0x35bbdb6b CRC_keyboardButtonRequestPhone = 0xb16a6c29 CRC_keyboardButtonRequestGeoLocation = 0xfc796b3f CRC_keyboardButtonSwitchInline = 0x93b9fbb5 CRC_keyboardButtonGame = 0x50f41ccf CRC_keyboardButtonBuy = 0xafd93fbb CRC_keyboardButtonURLAuth = 0x10b78d29 CRC_inputKeyboardButtonURLAuth = 0xd02e7fd4 CRC_keyboardButtonRequestPoll = 0xbbc7515d CRC_inputKeyboardButtonUserProfile = 0xe988037b CRC_keyboardButtonUserProfile = 0x308660c1 CRC_keyboardButtonWebView = 0x13767230 CRC_keyboardButtonSimpleWebView = 0xa0c0505c CRC_keyboardButtonRequestPeer = 0x53d7bfd8 CRC_inputKeyboardButtonRequestPeer = 0xc9662d05 CRC_keyboardButtonCopy = 0x75d2698e CRC_keyboardButtonRow = 0x77608b83 CRC_replyKeyboardHide = 0xa03e5b85 CRC_replyKeyboardForceReply = 0x86b40b08 CRC_replyKeyboardMarkup = 0x85dd99d1 CRC_replyInlineMarkup = 0x48a30254 CRC_messageEntityUnknown = 0xbb92ba95 CRC_messageEntityMention = 0xfa04579d CRC_messageEntityHashtag = 0x6f635b0d CRC_messageEntityBotCommand = 0x6cef8ac7 CRC_messageEntityURL = 0x6ed02538 CRC_messageEntityEmail = 0x64e475c2 CRC_messageEntityBold = 0xbd610bc9 CRC_messageEntityItalic = 0x826f8b60 CRC_messageEntityCode = 0x28a20571 CRC_messageEntityPre = 0x73924be0 CRC_messageEntityTextURL = 0x76a6d327 CRC_messageEntityMentionName = 0xdc7b1140 CRC_inputMessageEntityMentionName = 0x208e68c9 CRC_messageEntityPhone = 0x9b69e34b CRC_messageEntityCashtag = 0x4c4e743f CRC_messageEntityUnderline = 0x9c4e7e8b CRC_messageEntityStrike = 0xbf0693d4 CRC_messageEntityBankCard = 0x761e6af4 CRC_messageEntitySpoiler = 0x32ca960f CRC_messageEntityCustomEmoji = 0xc8cf05f8 CRC_messageEntityBlockquote = 0xf1ccaaac CRC_inputChannelEmpty = 0xee8c1e86 CRC_inputChannel = 0xf35aec28 CRC_inputChannelFromMessage = 0x5b934f9d CRC_contacts_resolvedPeer = 0x7f077ad9 CRC_messageRange = 0x0ae30253 CRC_updates_channelDifferenceEmpty = 0x3e11affb CRC_updates_channelDifferenceTooLong = 0xa4bcc6fe CRC_updates_channelDifference = 0x2064674e CRC_channelMessagesFilterEmpty = 0x94d42ee7 CRC_channelMessagesFilter = 0xcd77d957 CRC_channelParticipant = 0xcb397619 CRC_channelParticipantSelf = 0x4f607bef CRC_channelParticipantCreator = 0x2fe601d3 CRC_channelParticipantAdmin = 0x34c3bb53 CRC_channelParticipantBanned = 0x6df8014e CRC_channelParticipantLeft = 0x1b03f006 CRC_channelParticipantsRecent = 0xde3f3c79 CRC_channelParticipantsAdmins = 0xb4608969 CRC_channelParticipantsKicked = 0xa3b54985 CRC_channelParticipantsBots = 0xb0d1865b CRC_channelParticipantsBanned = 0x1427a5e1 CRC_channelParticipantsSearch = 0x0656ac4b CRC_channelParticipantsContacts = 0xbb6ae88d CRC_channelParticipantsMentions = 0xe04b5ceb CRC_channels_channelParticipants = 0x9ab0feaf CRC_channels_channelParticipantsNotModified = 0xf0173fe9 CRC_channels_channelParticipant = 0xdfb80317 CRC_help_termsOfService = 0x780a0310 CRC_messages_savedGIFsNotModified = 0xe8025ca2 CRC_messages_savedGIFs = 0x84a02a0d CRC_inputBotInlineMessageMediaAuto = 0x3380c786 CRC_inputBotInlineMessageText = 0x3dcd7a87 CRC_inputBotInlineMessageMediaGeo = 0x96929a85 CRC_inputBotInlineMessageMediaVenue = 0x417bbf11 CRC_inputBotInlineMessageMediaContact = 0xa6edbffd CRC_inputBotInlineMessageGame = 0x4b425864 CRC_inputBotInlineMessageMediaInvoice = 0xd7e78225 CRC_inputBotInlineMessageMediaWebPage = 0xbddcc510 CRC_inputBotInlineResult = 0x88bf9319 CRC_inputBotInlineResultPhoto = 0xa8d864a7 CRC_inputBotInlineResultDocument = 0xfff8fdc4 CRC_inputBotInlineResultGame = 0x4fa417f2 CRC_botInlineMessageMediaAuto = 0x764cf810 CRC_botInlineMessageText = 0x8c7f65e2 CRC_botInlineMessageMediaGeo = 0x051846fd CRC_botInlineMessageMediaVenue = 0x8a86659c CRC_botInlineMessageMediaContact = 0x18d1cdc2 CRC_botInlineMessageMediaInvoice = 0x354a9b09 CRC_botInlineMessageMediaWebPage = 0x809ad9a6 CRC_botInlineResult = 0x11965f3a CRC_botInlineMediaResult = 0x17db940b CRC_messages_botResults = 0xe021f2f6 CRC_exportedMessageLink = 0x5dab1af4 CRC_messageFwdHeader = 0x4e4df4bb CRC_auth_codeTypeSMS = 0x72a3158c CRC_auth_codeTypeCall = 0x741cd3e3 CRC_auth_codeTypeFlashCall = 0x226ccefb CRC_auth_codeTypeMissedCall = 0xd61ad6ee CRC_auth_codeTypeFragmentSMS = 0x06ed998c CRC_auth_sentCodeTypeApp = 0x3dbb5986 CRC_auth_sentCodeTypeSMS = 0xc000bba2 CRC_auth_sentCodeTypeCall = 0x5353e5a7 CRC_auth_sentCodeTypeFlashCall = 0xab03c6d9 CRC_auth_sentCodeTypeMissedCall = 0x82006484 CRC_auth_sentCodeTypeEmailCode = 0xf450f59b CRC_auth_sentCodeTypeSetUpEmailRequired = 0xa5491dea CRC_auth_sentCodeTypeFragmentSMS = 0xd9565c39 CRC_auth_sentCodeTypeFirebaseSMS = 0x009fd736 CRC_auth_sentCodeTypeSMSWord = 0xa416ac81 CRC_auth_sentCodeTypeSMSPhrase = 0xb37794af CRC_messages_botCallbackAnswer = 0x36585ea4 CRC_messages_messageEditData = 0x26b5dde6 CRC_inputBotInlineMessageID = 0x890c3d89 CRC_inputBotInlineMessageID64 = 0xb6d915d7 CRC_inlineBotSwitchPM = 0x3c20629f CRC_messages_peerDialogs = 0x3371c354 CRC_topPeer = 0xedcdc05b CRC_topPeerCategoryBotsPM = 0xab661b5b CRC_topPeerCategoryBotsInline = 0x148677e2 CRC_topPeerCategoryCorrespondents = 0x0637b7ed CRC_topPeerCategoryGroups = 0xbd17a14a CRC_topPeerCategoryChannels = 0x161d9628 CRC_topPeerCategoryPhoneCalls = 0x1e76a78c CRC_topPeerCategoryForwardUsers = 0xa8406ca9 CRC_topPeerCategoryForwardChats = 0xfbeec0f0 CRC_topPeerCategoryBotsApp = 0xfd9e7bec CRC_topPeerCategoryPeers = 0xfb834291 CRC_contacts_topPeersNotModified = 0xde266ef5 CRC_contacts_topPeers = 0x70b772a8 CRC_contacts_topPeersDisabled = 0xb52c939d CRC_draftMessageEmpty = 0x1b0c841a CRC_draftMessage = 0x96eaa5eb CRC_messages_featuredStickersNotModified = 0xc6dc0c66 CRC_messages_featuredStickers = 0xbe382906 CRC_messages_recentStickersNotModified = 0x0b17f890 CRC_messages_recentStickers = 0x88d37c56 CRC_messages_archivedStickers = 0x4fcba9c8 CRC_messages_stickerSetInstallResultSuccess = 0x38641628 CRC_messages_stickerSetInstallResultArchive = 0x35e410a8 CRC_stickerSetCovered = 0x6410a5d2 CRC_stickerSetMultiCovered = 0x3407e51b CRC_stickerSetFullCovered = 0x40d13c0e CRC_stickerSetNoCovered = 0x77b15d1c CRC_maskCoords = 0xaed6dbb2 CRC_inputStickeredMediaPhoto = 0x4a992157 CRC_inputStickeredMediaDocument = 0x0438865b CRC_game = 0xbdf9653b CRC_inputGameID = 0x032c3e77 CRC_inputGameShortName = 0xc331e80a CRC_highScore = 0x73a379eb CRC_messages_highScores = 0x9a3bfd99 CRC_textEmpty = 0xdc3d824f CRC_textPlain = 0x744694e0 CRC_textBold = 0x6724abc4 CRC_textItalic = 0xd912a59c CRC_textUnderline = 0xc12622c4 CRC_textStrike = 0x9bf8bb95 CRC_textFixed = 0x6c3f19b9 CRC_textURL = 0x3c2884c1 CRC_textEmail = 0xde5a0dd6 CRC_textConcat = 0x7e6260d7 CRC_textSubscript = 0xed6a8504 CRC_textSuperscript = 0xc7fb5e01 CRC_textMarked = 0x034b8621 CRC_textPhone = 0x1ccb966a CRC_textImage = 0x081ccf4f CRC_textAnchor = 0x35553762 CRC_pageBlockUnsupported = 0x13567e8a CRC_pageBlockTitle = 0x70abc3fd CRC_pageBlockSubtitle = 0x8ffa9a1f CRC_pageBlockAuthorDate = 0xbaafe5e0 CRC_pageBlockHeader = 0xbfd064ec CRC_pageBlockSubheader = 0xf12bb6e1 CRC_pageBlockParagraph = 0x467a0766 CRC_pageBlockPreformatted = 0xc070d93e CRC_pageBlockDivider = 0xdb20b188 CRC_pageBlockAnchor = 0xce0d37b0 CRC_pageBlockList = 0xe4e88011 CRC_pageBlockBlockquote = 0x263d7c26 CRC_pageBlockPullquote = 0x4f4456d3 CRC_pageBlockPhoto = 0x1759c560 CRC_pageBlockVideo = 0x7c8fe7b6 CRC_pageBlockCover = 0x39f23300 CRC_pageBlockEmbed = 0xa8718dc5 CRC_pageBlockEmbedPost = 0xf259a80b CRC_pageBlockCollage = 0x65a0fa4d CRC_pageBlockSlideshow = 0x031f9590 CRC_pageBlockChannel = 0xef1751b5 CRC_pageBlockAudio = 0x804361ea CRC_pageBlockKicker = 0x1e148390 CRC_pageBlockTable = 0xbf4dea82 CRC_pageBlockOrderedList = 0x9a8ae1e1 CRC_pageBlockDetails = 0x76768bed CRC_pageBlockRelatedArticles = 0x16115a96 CRC_pageBlockMap = 0xa44f3ef6 CRC_phoneCallDiscardReasonMissed = 0x85e42301 CRC_phoneCallDiscardReasonDisconnect = 0xe095c1a0 CRC_phoneCallDiscardReasonHangup = 0x57adc690 CRC_phoneCallDiscardReasonBusy = 0xfaf7e8c9 CRC_phoneCallDiscardReasonMigrateConferenceCall = 0x9fbbf1f7 CRC_dataJSON = 0x7d748d04 CRC_labeledPrice = 0xcb296bf8 CRC_invoice = 0x049ee584 CRC_paymentCharge = 0xea02c27e CRC_postAddress = 0x1e8caaeb CRC_paymentRequestedInfo = 0x909c3f94 CRC_paymentSavedCredentialsCard = 0xcdc27a1f CRC_webDocument = 0x1c570ed1 CRC_webDocumentNoProxy = 0xf9c8bcc6 CRC_inputWebDocument = 0x9bed434d CRC_inputWebFileLocation = 0xc239d686 CRC_inputWebFileGeoPointLocation = 0x9f2221c9 CRC_inputWebFileAudioAlbumThumbLocation = 0xf46fe924 CRC_upload_webFile = 0x21e753bc CRC_payments_paymentForm = 0xa0058751 CRC_payments_paymentFormStars = 0x7bf6b15c CRC_payments_paymentFormStarGift = 0xb425cfe1 CRC_payments_validatedRequestedInfo = 0xd1451883 CRC_payments_paymentResult = 0x4e5f810d CRC_payments_paymentVerificationNeeded = 0xd8411139 CRC_payments_paymentReceipt = 0x70c4fe03 CRC_payments_paymentReceiptStars = 0xdabbf83a CRC_payments_savedInfo = 0xfb8fe43c CRC_inputPaymentCredentialsSaved = 0xc10eb2cf CRC_inputPaymentCredentials = 0x3417d728 CRC_inputPaymentCredentialsApplePay = 0x0aa1c39f CRC_inputPaymentCredentialsGooglePay = 0x8ac32801 CRC_account_tmpPassword = 0xdb64fd34 CRC_shippingOption = 0xb6213cdf CRC_inputStickerSetItem = 0x32da9e9c CRC_inputPhoneCall = 0x1e36fded CRC_phoneCallEmpty = 0x5366c915 CRC_phoneCallWaiting = 0xc5226f17 CRC_phoneCallRequested = 0x14b0ed0c CRC_phoneCallAccepted = 0x3660c311 CRC_phoneCall = 0x30535af5 CRC_phoneCallDiscarded = 0x50ca4de1 CRC_phoneConnection = 0x9cc123c7 CRC_phoneConnectionWebrtc = 0x635fe375 CRC_phoneCallProtocol = 0xfc878fc8 CRC_phone_phoneCall = 0xec82e140 CRC_upload_cdnFileReuploadNeeded = 0xeea8e46e CRC_upload_cdnFile = 0xa99fca4f CRC_cdnPublicKey = 0xc982eaba CRC_cdnConfig = 0x5725e40a CRC_langPackString = 0xcad181f6 CRC_langPackStringPluralized = 0x6c47ac9f CRC_langPackStringDeleted = 0x2979eeb2 CRC_langPackDifference = 0xf385c1f6 CRC_langPackLanguage = 0xeeca5ce3 CRC_channelAdminLogEventActionChangeTitle = 0xe6dfb825 CRC_channelAdminLogEventActionChangeAbout = 0x55188a2e CRC_channelAdminLogEventActionChangeUsername = 0x6a4afc38 CRC_channelAdminLogEventActionChangePhoto = 0x434bd2af CRC_channelAdminLogEventActionToggleInvites = 0x1b7907ae CRC_channelAdminLogEventActionToggleSignatures = 0x26ae0971 CRC_channelAdminLogEventActionUpdatePinned = 0xe9e82c18 CRC_channelAdminLogEventActionEditMessage = 0x709b2405 CRC_channelAdminLogEventActionDeleteMessage = 0x42e047bb CRC_channelAdminLogEventActionParticipantJoin = 0x183040d3 CRC_channelAdminLogEventActionParticipantLeave = 0xf89777f2 CRC_channelAdminLogEventActionParticipantInvite = 0xe31c34d8 CRC_channelAdminLogEventActionParticipantToggleBan = 0xe6d83d7e CRC_channelAdminLogEventActionParticipantToggleAdmin = 0xd5676710 CRC_channelAdminLogEventActionChangeStickerSet = 0xb1c3caa7 CRC_channelAdminLogEventActionTogglePreHistoryHidden = 0x5f5c95f1 CRC_channelAdminLogEventActionDefaultBannedRights = 0x2df5fc0a CRC_channelAdminLogEventActionStopPoll = 0x8f079643 CRC_channelAdminLogEventActionChangeLinkedChat = 0x050c7ac8 CRC_channelAdminLogEventActionChangeLocation = 0x0e6b76ae CRC_channelAdminLogEventActionToggleSlowMode = 0x53909779 CRC_channelAdminLogEventActionStartGroupCall = 0x23209745 CRC_channelAdminLogEventActionDiscardGroupCall = 0xdb9f9140 CRC_channelAdminLogEventActionParticipantMute = 0xf92424d2 CRC_channelAdminLogEventActionParticipantUnmute = 0xe64429c0 CRC_channelAdminLogEventActionToggleGroupCallSetting = 0x56d6a247 CRC_channelAdminLogEventActionParticipantJoinByInvite = 0xfe9fc158 CRC_channelAdminLogEventActionExportedInviteDelete = 0x5a50fca4 CRC_channelAdminLogEventActionExportedInviteRevoke = 0x410a134e CRC_channelAdminLogEventActionExportedInviteEdit = 0xe90ebb59 CRC_channelAdminLogEventActionParticipantVolume = 0x3e7f6847 CRC_channelAdminLogEventActionChangeHistoryTTL = 0x6e941a38 CRC_channelAdminLogEventActionParticipantJoinByRequest = 0xafb6144a CRC_channelAdminLogEventActionToggleNoForwards = 0xcb2ac766 CRC_channelAdminLogEventActionSendMessage = 0x278f2868 CRC_channelAdminLogEventActionChangeAvailableReactions = 0xbe4e0ef8 CRC_channelAdminLogEventActionChangeUsernames = 0xf04fb3a9 CRC_channelAdminLogEventActionToggleForum = 0x02cc6383 CRC_channelAdminLogEventActionCreateTopic = 0x58707d28 CRC_channelAdminLogEventActionEditTopic = 0xf06fe208 CRC_channelAdminLogEventActionDeleteTopic = 0xae168909 CRC_channelAdminLogEventActionPINTopic = 0x5d8d353b CRC_channelAdminLogEventActionToggleAntiSpam = 0x64f36dfc CRC_channelAdminLogEventActionChangePeerColor = 0x5796e780 CRC_channelAdminLogEventActionChangeProfilePeerColor = 0x5e477b25 CRC_channelAdminLogEventActionChangeWallpaper = 0x31bb5d52 CRC_channelAdminLogEventActionChangeEmojiStatus = 0x3ea9feb1 CRC_channelAdminLogEventActionChangeEmojiStickerSet = 0x46d840ab CRC_channelAdminLogEventActionToggleSignatureProfiles = 0x60a79c79 CRC_channelAdminLogEventActionParticipantSubExtend = 0x64642db3 CRC_channelAdminLogEventActionToggleAutotranslation = 0xc517f77e CRC_channelAdminLogEvent = 0x1fad68cd CRC_channels_adminLogResults = 0xed8af74d CRC_channelAdminLogEventsFilter = 0xea107ae4 CRC_popularContact = 0x5ce14175 CRC_messages_favedStickersNotModified = 0x9e8fa6d3 CRC_messages_favedStickers = 0x2cb51097 CRC_recentMeURLUnknown = 0x46e1d13d CRC_recentMeURLUser = 0xb92c09e2 CRC_recentMeURLChat = 0xb2da71d2 CRC_recentMeURLChatInvite = 0xeb49081d CRC_recentMeURLStickerSet = 0xbc0a57dc CRC_help_recentMeURLs = 0x0e0310d7 CRC_inputSingleMedia = 0x1cc6e91f CRC_webAuthorization = 0xa6f8f452 CRC_account_webAuthorizations = 0xed56c9fc CRC_inputMessageID = 0xa676a322 CRC_inputMessageReplyTo = 0xbad88395 CRC_inputMessagePinned = 0x86872538 CRC_inputMessageCallbackQuery = 0xacfa1a7e CRC_inputDialogPeer = 0xfcaafeb7 CRC_inputDialogPeerFolder = 0x64600527 CRC_dialogPeer = 0xe56dbf05 CRC_dialogPeerFolder = 0x514519e2 CRC_messages_foundStickerSetsNotModified = 0x0d54b65d CRC_messages_foundStickerSets = 0x8af09dd2 CRC_fileHash = 0xf39b035c CRC_inputClientProxy = 0x75588b3f CRC_help_termsOfServiceUpdateEmpty = 0xe3309f7f CRC_help_termsOfServiceUpdate = 0x28ecf961 CRC_inputSecureFileUploaded = 0x3334b0f0 CRC_inputSecureFile = 0x5367e5be CRC_secureFileEmpty = 0x64199744 CRC_secureFile = 0x7d09c27e CRC_secureData = 0x8aeabec3 CRC_securePlainPhone = 0x7d6099dd CRC_securePlainEmail = 0x21ec5a5f CRC_secureValueTypePersonalDetails = 0x9d2a81e3 CRC_secureValueTypePassport = 0x3dac6a00 CRC_secureValueTypeDriverLicense = 0x06e425c4 CRC_secureValueTypeIdentityCard = 0xa0d0744b CRC_secureValueTypeInternalPassport = 0x99a48f23 CRC_secureValueTypeAddress = 0xcbe31e26 CRC_secureValueTypeUtilityBill = 0xfc36954e CRC_secureValueTypeBankStatement = 0x89137c0d CRC_secureValueTypeRentalAgreement = 0x8b883488 CRC_secureValueTypePassportRegistration = 0x99e3806a CRC_secureValueTypeTemporaryRegistration = 0xea02ec33 CRC_secureValueTypePhone = 0xb320aadb CRC_secureValueTypeEmail = 0x8e3ca7ee CRC_secureValue = 0x187fa0ca CRC_inputSecureValue = 0xdb21d0a7 CRC_secureValueHash = 0xed1ecdb0 CRC_secureValueErrorData = 0xe8a40bd9 CRC_secureValueErrorFrontSide = 0x00be3dfa CRC_secureValueErrorReverseSide = 0x868a2aa5 CRC_secureValueErrorSelfie = 0xe537ced6 CRC_secureValueErrorFile = 0x7a700873 CRC_secureValueErrorFiles = 0x666220e9 CRC_secureValueError = 0x869d758f CRC_secureValueErrorTranslationFile = 0xa1144770 CRC_secureValueErrorTranslationFiles = 0x34636dd8 CRC_secureCredentialsEncrypted = 0x33f0ea47 CRC_account_sentEmailCode = 0x811f854f CRC_help_deepLinkInfoEmpty = 0x66afa166 CRC_help_deepLinkInfo = 0x6a4ee832 CRC_savedPhoneContact = 0x1142bd56 CRC_account_takeout = 0x4dba4501 CRC_passwordKDFAlgoUnknown = 0xd45ab096 CRC_passwordKDFAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow = 0x3a912d4a CRC_securePasswordKDFAlgoUnknown = 0x004a8537 CRC_securePasswordKDFAlgoPBKDF2HMACSHA512iter100000 = 0xbbf2dda0 CRC_securePasswordKDFAlgoSHA512 = 0x86471d92 CRC_secureSecretSettings = 0x1527bcac CRC_inputCheckPasswordEmpty = 0x9880f658 CRC_inputCheckPasswordSRP = 0xd27ff082 CRC_secureRequiredType = 0x829d99da CRC_secureRequiredTypeOneOf = 0x027477b4 CRC_help_passportConfigNotModified = 0xbfb9f457 CRC_help_passportConfig = 0xa098d6af CRC_inputAppEvent = 0x1d1b1245 CRC_jsonObjectValue = 0xc0de1bd9 CRC_jsonNull = 0x3f6d7b68 CRC_jsonBool = 0xc7345e6a CRC_jsonNumber = 0x2be0dfa4 CRC_jsonString = 0xb71e767a CRC_jsonArray = 0xf7444763 CRC_jsonObject = 0x99c1d49d CRC_pageTableCell = 0x34566b6a CRC_pageTableRow = 0xe0c0c5e5 CRC_pageCaption = 0x6f747657 CRC_pageListItemText = 0xb92fb6cd CRC_pageListItemBlocks = 0x25e073fc CRC_pageListOrderedItemText = 0x5e068047 CRC_pageListOrderedItemBlocks = 0x98dd8936 CRC_pageRelatedArticle = 0xb390dc08 CRC_page = 0x98657f0d CRC_help_supportName = 0x8c05f1c9 CRC_help_userInfoEmpty = 0xf3ae2eed CRC_help_userInfo = 0x01eb3758 CRC_pollAnswer = 0xff16e2ca CRC_poll = 0x58747131 CRC_pollAnswerVoters = 0x3b6ddad2 CRC_pollResults = 0x7adf2420 CRC_chatOnlines = 0xf041e250 CRC_statsURL = 0x47a971e0 CRC_chatAdminRights = 0x5fb224d5 CRC_chatBannedRights = 0x9f120418 CRC_inputWallPaper = 0xe630b979 CRC_inputWallPaperSlug = 0x72091c80 CRC_inputWallPaperNoFile = 0x967a462e CRC_account_wallPapersNotModified = 0x1c199183 CRC_account_wallPapers = 0xcdc3858c CRC_codeSettings = 0xad253d78 CRC_wallPaperSettings = 0x372efcd0 CRC_autoDownloadSettings = 0xbaa57628 CRC_account_autoDownloadSettings = 0x63cacf26 CRC_emojiKeyword = 0xd5b3b9f9 CRC_emojiKeywordDeleted = 0x236df622 CRC_emojiKeywordsDifference = 0x5cc761bd CRC_emojiURL = 0xa575739d CRC_emojiLanguage = 0xb3fb5361 CRC_folder = 0xff544e65 CRC_inputFolderPeer = 0xfbd2c296 CRC_folderPeer = 0xe9baa668 CRC_messages_searchCounter = 0xe844ebff CRC_urlAuthResultRequest = 0x92d33a0e CRC_urlAuthResultAccepted = 0x8f8c0e4e CRC_urlAuthResultDefault = 0xa9d6db1f CRC_channelLocationEmpty = 0xbfb5ad8b CRC_channelLocation = 0x209b82db CRC_peerLocated = 0xca461b5d CRC_peerSelfLocated = 0xf8ec284b CRC_restrictionReason = 0xd072acb4 CRC_inputTheme = 0x3c5693e9 CRC_inputThemeSlug = 0xf5890df1 CRC_theme = 0xa00e67d6 CRC_account_themesNotModified = 0xf41eb622 CRC_account_themes = 0x9a3d8c6d CRC_auth_loginToken = 0x629f1980 CRC_auth_loginTokenMigrateTo = 0x068e9916 CRC_auth_loginTokenSuccess = 0x390d5c5e CRC_account_contentSettings = 0x57e28221 CRC_messages_inactiveChats = 0xa927fec5 CRC_baseThemeClassic = 0xc3a12462 CRC_baseThemeDay = 0xfbd81688 CRC_baseThemeNight = 0xb7b31ea8 CRC_baseThemeTinted = 0x6d5f77ee CRC_baseThemeArctic = 0x5b11125a CRC_inputThemeSettings = 0x8fde504f CRC_themeSettings = 0xfa58b6d4 CRC_webPageAttributeTheme = 0x54b56617 CRC_webPageAttributeStory = 0x2e94c3e7 CRC_webPageAttributeStickerSet = 0x50cc03d3 CRC_webPageAttributeUniqueStarGift = 0xcf6f6db8 CRC_webPageAttributeStarGiftCollection = 0x31cad303 CRC_webPageAttributeStarGiftAuction = 0x01c641c2 CRC_messages_votesList = 0x4899484e CRC_bankCardOpenURL = 0xf568028a CRC_payments_bankCardData = 0x3e24e573 CRC_dialogFilter = 0xaa472651 CRC_dialogFilterDefault = 0x363293ae CRC_dialogFilterChatlist = 0x96537bd7 CRC_dialogFilterSuggested = 0x77744d4a CRC_statsDateRangeDays = 0xb637edaf CRC_statsAbsValueAndPrev = 0xcb43acde CRC_statsPercentValue = 0xcbce2fe0 CRC_statsGraphAsync = 0x4a27eb2d CRC_statsGraphError = 0xbedc9822 CRC_statsGraph = 0x8ea464b6 CRC_stats_broadcastStats = 0x396ca5fc CRC_help_promoDataEmpty = 0x98f6ac75 CRC_help_promoData = 0x08a4d87a CRC_videoSize = 0xde33b094 CRC_videoSizeEmojiMarkup = 0xf85c413c CRC_videoSizeStickerMarkup = 0x0da082fe CRC_statsGroupTopPoster = 0x9d04af9b CRC_statsGroupTopAdmin = 0xd7584c87 CRC_statsGroupTopInviter = 0x535f779d CRC_stats_megagroupStats = 0xef7ff916 CRC_globalPrivacySettings = 0xfe41b34f CRC_help_countryCode = 0x4203c5ef CRC_help_country = 0xc3878e23 CRC_help_countriesListNotModified = 0x93cc1f32 CRC_help_countriesList = 0x87d0759e CRC_messageViews = 0x455b853d CRC_messages_messageViews = 0xb6c4f543 CRC_messages_discussionMessage = 0xa6341782 CRC_messageReplyHeader = 0x6917560b CRC_messageReplyStoryHeader = 0x0e5af939 CRC_messageReplies = 0x83d60fc2 CRC_peerBlocked = 0xe8fd8014 CRC_stats_messageStats = 0x7fe91c14 CRC_groupCallDiscarded = 0x7780bcb4 CRC_groupCall = 0xefb2b617 CRC_inputGroupCall = 0xd8aa840f CRC_inputGroupCallSlug = 0xfe06823f CRC_inputGroupCallInviteMessage = 0x8c10603f CRC_groupCallParticipant = 0x2a3dc7ac CRC_phone_groupCall = 0x9e727aad CRC_phone_groupParticipants = 0xf47751b6 CRC_inlineQueryPeerTypeSameBotPM = 0x3081ed9d CRC_inlineQueryPeerTypePM = 0x833c0fac CRC_inlineQueryPeerTypeChat = 0xd766c50a CRC_inlineQueryPeerTypeMegagroup = 0x5ec4be43 CRC_inlineQueryPeerTypeBroadcast = 0x6334ee9a CRC_inlineQueryPeerTypeBotPM = 0x0e3b2d0c CRC_messages_historyImport = 0x1662af0b CRC_messages_historyImportParsed = 0x5e0fb7b9 CRC_messages_affectedFoundMessages = 0xef8d3e6c CRC_chatInviteImporter = 0x8c5adfd9 CRC_messages_exportedChatInvites = 0xbdc62dcc CRC_messages_exportedChatInvite = 0x1871be50 CRC_messages_exportedChatInviteReplaced = 0x222600ef CRC_messages_chatInviteImporters = 0x81b6b00a CRC_chatAdminWithInvites = 0xf2ecef23 CRC_messages_chatAdminsWithInvites = 0xb69b72d7 CRC_messages_checkedHistoryImportPeer = 0xa24de717 CRC_phone_joinAsPeers = 0xafe5623f CRC_phone_exportedGroupCallInvite = 0x204bd158 CRC_groupCallParticipantVideoSourceGroup = 0xdcb118b7 CRC_groupCallParticipantVideo = 0x67753ac8 CRC_stickers_suggestedShortName = 0x85fea03f CRC_botCommandScopeDefault = 0x2f6cb2ab CRC_botCommandScopeUsers = 0x3c4f04d8 CRC_botCommandScopeChats = 0x6fe1a881 CRC_botCommandScopeChatAdmins = 0xb9aa606a CRC_botCommandScopePeer = 0xdb9d897d CRC_botCommandScopePeerAdmins = 0x3fd863d1 CRC_botCommandScopePeerUser = 0x0a1321f3 CRC_account_resetPasswordFailedWait = 0xe3779861 CRC_account_resetPasswordRequestedWait = 0xe9effc7d CRC_account_resetPasswordOK = 0xe926d63e CRC_chatTheme = 0xc3dffc04 CRC_chatThemeUniqueGift = 0x3458f9c8 CRC_account_chatThemesNotModified = 0xe011e1c4 CRC_account_chatThemes = 0xbe098173 CRC_sponsoredMessage = 0x7dbf8673 CRC_messages_sponsoredMessages = 0xffda656d CRC_messages_sponsoredMessagesEmpty = 0x1839490f CRC_searchResultsCalendarPeriod = 0xc9b0539f CRC_messages_searchResultsCalendar = 0x147ee23c CRC_searchResultPosition = 0x7f648b67 CRC_messages_searchResultsPositions = 0x53b22baf CRC_channels_sendAsPeers = 0xf496b0c6 CRC_users_userFull = 0x3b6d152e CRC_messages_peerSettings = 0x6880b94d CRC_auth_loggedOut = 0xc3a2835f CRC_reactionCount = 0xa3d1cb80 CRC_messageReactions = 0x0a339f0b CRC_messages_messageReactionsList = 0x31bd492d CRC_availableReaction = 0xc077ec01 CRC_messages_availableReactionsNotModified = 0x9f071957 CRC_messages_availableReactions = 0x768e3aad CRC_messagePeerReaction = 0x8c79b63c CRC_groupCallStreamChannel = 0x80eb48af CRC_phone_groupCallStreamChannels = 0xd0e482b2 CRC_phone_groupCallStreamRTMPURL = 0x2dbf3432 CRC_attachMenuBotIconColor = 0x4576f3f0 CRC_attachMenuBotIcon = 0xb2a7386b CRC_attachMenuBot = 0xd90d8dfe CRC_attachMenuBotsNotModified = 0xf1d88a5c CRC_attachMenuBots = 0x3c4301c0 CRC_attachMenuBotsBot = 0x93bf667f CRC_webViewResultURL = 0x4d22ff98 CRC_webViewMessageSent = 0x0c94511c CRC_botMenuButtonDefault = 0x7533a588 CRC_botMenuButtonCommands = 0x4258c205 CRC_botMenuButton = 0xc7b57ce6 CRC_account_savedRingtonesNotModified = 0xfbf6e8b1 CRC_account_savedRingtones = 0xc1e92cc5 CRC_notificationSoundDefault = 0x97e8bebe CRC_notificationSoundNone = 0x6f0c34df CRC_notificationSoundLocal = 0x830b9ae4 CRC_notificationSoundRingtone = 0xff6c8049 CRC_account_savedRingtone = 0xb7263f6d CRC_account_savedRingtoneConverted = 0x1f307eb7 CRC_attachMenuPeerTypeSameBotPM = 0x7d6be90e CRC_attachMenuPeerTypeBotPM = 0xc32bfa1a CRC_attachMenuPeerTypePM = 0xf146d31f CRC_attachMenuPeerTypeChat = 0x0509113f CRC_attachMenuPeerTypeBroadcast = 0x7bfbdefc CRC_inputInvoiceMessage = 0xc5b56859 CRC_inputInvoiceSlug = 0xc326caef CRC_inputInvoicePremiumGiftCode = 0x98986c0d CRC_inputInvoiceStars = 0x65f00ce3 CRC_inputInvoiceChatInviteSubscription = 0x34e793f1 CRC_inputInvoiceStarGift = 0xe8625e92 CRC_inputInvoiceStarGiftUpgrade = 0x4d818d5d CRC_inputInvoiceStarGiftTransfer = 0x4a5f5bd9 CRC_inputInvoicePremiumGiftStars = 0xdabab2ef CRC_inputInvoiceBusinessBotTransferStars = 0xf4997e42 CRC_inputInvoiceStarGiftResale = 0xc39f5324 CRC_inputInvoiceStarGiftPrepaidUpgrade = 0x9a0b48b8 CRC_inputInvoicePremiumAuthCode = 0x3e77f614 CRC_inputInvoiceStarGiftDropOriginalDetails = 0x0923d8d1 CRC_inputInvoiceStarGiftAuctionBid = 0x1ecafa10 CRC_payments_exportedInvoice = 0xaed0cbd9 CRC_messages_transcribedAudio = 0xcfb9d957 CRC_inputStorePaymentPremiumSubscription = 0xa6751e66 CRC_inputStorePaymentGiftPremium = 0x616f7fe8 CRC_inputStorePaymentPremiumGiftCode = 0xfb790393 CRC_inputStorePaymentPremiumGiveaway = 0x160544ca CRC_inputStorePaymentStarsTopup = 0xf9a2a6cb CRC_inputStorePaymentStarsGift = 0x1d741ef7 CRC_inputStorePaymentStarsGiveaway = 0x751f08fa CRC_inputStorePaymentAuthCode = 0x9bb2636d CRC_paymentFormMethod = 0x88f8f21b CRC_emojiStatusEmpty = 0x2de11aae CRC_emojiStatus = 0xe7ff068a CRC_emojiStatusCollectible = 0x7184603b CRC_inputEmojiStatusCollectible = 0x07141dbf CRC_account_emojiStatusesNotModified = 0xd08ce645 CRC_account_emojiStatuses = 0x90c467d1 CRC_reactionEmpty = 0x79f5d419 CRC_reactionEmoji = 0x1b2286b8 CRC_reactionCustomEmoji = 0x8935fc73 CRC_reactionPaid = 0x523da4eb CRC_chatReactionsNone = 0xeafc32bc CRC_chatReactionsAll = 0x52928bca CRC_chatReactionsSome = 0x661d4037 CRC_messages_reactionsNotModified = 0xb06fdbdf CRC_messages_reactions = 0xeafdf716 CRC_emailVerifyPurposeLoginSetup = 0x4345be73 CRC_emailVerifyPurposeLoginChange = 0x527d22eb CRC_emailVerifyPurposePassport = 0xbbf51685 CRC_emailVerificationCode = 0x922e55a9 CRC_emailVerificationGoogle = 0xdb909ec2 CRC_emailVerificationApple = 0x96d074fd CRC_account_emailVerified = 0x2b96cd1b CRC_account_emailVerifiedLogin = 0xe1bb0d61 CRC_sendAsPeer = 0xb81c7034 CRC_messageExtendedMediaPreview = 0xad628cc8 CRC_messageExtendedMedia = 0xee479c64 CRC_stickerKeyword = 0xfcfeb29c CRC_username = 0xb4073647 CRC_forumTopicDeleted = 0x023f109b CRC_forumTopic = 0xcdff0eca CRC_messages_forumTopics = 0x367617d3 CRC_defaultHistoryTTL = 0x43b46b20 CRC_exportedContactToken = 0x41bf109b CRC_requestPeerTypeUser = 0x5f3b8a00 CRC_requestPeerTypeChat = 0xc9f06e1b CRC_requestPeerTypeBroadcast = 0x339bef6c CRC_emojiListNotModified = 0x481eadfa CRC_emojiList = 0x7a1e11d1 CRC_emojiGroup = 0x7a9abda9 CRC_emojiGroupGreeting = 0x80d26cc7 CRC_emojiGroupPremium = 0x093bcf34 CRC_messages_emojiGroupsNotModified = 0x6fb4ad87 CRC_messages_emojiGroups = 0x881fb94b CRC_textWithEntities = 0x751f3146 CRC_messages_translateResult = 0x33db32f8 CRC_autoSaveSettings = 0xc84834ce CRC_autoSaveException = 0x81602d47 CRC_account_autoSaveSettings = 0x4c3e069d CRC_help_appConfigNotModified = 0x7cde641d CRC_help_appConfig = 0xdd18782e CRC_inputBotAppID = 0xa920bd7a CRC_inputBotAppShortName = 0x908c0407 CRC_botAppNotModified = 0x5da674b7 CRC_botApp = 0x95fcd1d6 CRC_messages_botApp = 0xeb50adf5 CRC_inlineBotWebView = 0xb57295d5 CRC_readParticipantDate = 0x4a4ff172 CRC_inputChatlistDialogFilter = 0xf3e0da33 CRC_exportedChatlistInvite = 0x0c5181ac CRC_chatlists_exportedChatlistInvite = 0x10e6e3a6 CRC_chatlists_exportedInvites = 0x10ab6dc7 CRC_chatlists_chatlistInviteAlready = 0xfa87f659 CRC_chatlists_chatlistInvite = 0xf10ece2f CRC_chatlists_chatlistUpdates = 0x93bd878d CRC_bots_botInfo = 0xe8a775b0 CRC_messagePeerVote = 0xb6cc2d5c CRC_messagePeerVoteInputOption = 0x74cda504 CRC_messagePeerVoteMultiple = 0x4628f6e6 CRC_storyViews = 0x8d595cd6 CRC_storyItemDeleted = 0x51e6ee4f CRC_storyItemSkipped = 0xffadc913 CRC_storyItem = 0xedf164f1 CRC_stories_allStoriesNotModified = 0x1158fe3e CRC_stories_allStories = 0x6efc5e81 CRC_stories_stories = 0x63c3dd0a CRC_storyView = 0xb0bdeac5 CRC_storyViewPublicForward = 0x9083670b CRC_storyViewPublicRepost = 0xbd74cf49 CRC_stories_storyViewsList = 0x59d78fc5 CRC_stories_storyViews = 0xde9eed1d CRC_inputReplyToMessage = 0x869fbe10 CRC_inputReplyToStory = 0x5881323a CRC_inputReplyToMonoForum = 0x69d66c45 CRC_exportedStoryLink = 0x3fc9053b CRC_storiesStealthMode = 0x712e27fd CRC_mediaAreaCoordinates = 0xcfc9e002 CRC_mediaAreaVenue = 0xbe82db9c CRC_inputMediaAreaVenue = 0xb282217f CRC_mediaAreaGeoPoint = 0xcad5452d CRC_mediaAreaSuggestedReaction = 0x14455871 CRC_mediaAreaChannelPost = 0x770416af CRC_inputMediaAreaChannelPost = 0x2271f2bf CRC_mediaAreaURL = 0x37381085 CRC_mediaAreaWeather = 0x49a6549c CRC_mediaAreaStarGift = 0x5787686d CRC_peerStories = 0x9a35e999 CRC_stories_peerStories = 0xcae68768 CRC_messages_webPage = 0xfd5e12bd CRC_payments_checkedGiftCode = 0xeb983f8f CRC_payments_giveawayInfo = 0x4367daa0 CRC_payments_giveawayInfoResults = 0xe175e66f CRC_prepaidGiveaway = 0xb2539d54 CRC_prepaidStarsGiveaway = 0x9a9d77e0 CRC_boost = 0x4b3e14d6 CRC_myBoost = 0xc448415c CRC_storyFwdHeader = 0xb826e150 CRC_postInteractionCountersMessage = 0xe7058e7f CRC_postInteractionCountersStory = 0x8a480e27 CRC_stats_storyStats = 0x50cd067c CRC_publicForwardMessage = 0x01f2bf4a CRC_publicForwardStory = 0xedf3add0 CRC_stats_publicForwards = 0x93037e20 CRC_peerColor = 0xb54b5acf CRC_peerColorCollectible = 0xb9c0639a CRC_inputPeerColorCollectible = 0xb8ea86a9 CRC_help_peerColorSet = 0x26219a58 CRC_help_peerColorProfileSet = 0x767d61eb CRC_help_peerColorOption = 0xadec6ebe CRC_help_peerColorsNotModified = 0x2ba1f5ce CRC_help_peerColors = 0x00f8ed08 CRC_storyReaction = 0x6090d6d5 CRC_storyReactionPublicForward = 0xbbab2643 CRC_storyReactionPublicRepost = 0xcfcd0f13 CRC_stories_storyReactionsList = 0xaa5f789c CRC_savedDialog = 0xbd87cb6c CRC_monoForumDialog = 0x64407ea7 CRC_messages_savedDialogs = 0xf83ae221 CRC_messages_savedDialogsSlice = 0x44ba9dd9 CRC_messages_savedDialogsNotModified = 0xc01f6fe8 CRC_savedReactionTag = 0xcb6ff828 CRC_messages_savedReactionTagsNotModified = 0x889b59ef CRC_messages_savedReactionTags = 0x3259950a CRC_outboxReadDate = 0x3bb842ac CRC_smsjobs_eligibleToJoin = 0xdc8b44cf CRC_smsjobs_status = 0x2aee9191 CRC_smsJob = 0xe6a1eeb8 CRC_businessWeeklyOpen = 0x120b1ab9 CRC_businessWorkHours = 0x8c92b098 CRC_businessLocation = 0xac5c1af7 CRC_inputBusinessRecipients = 0x6f8b32aa CRC_businessRecipients = 0x21108ff7 CRC_businessAwayMessageScheduleAlways = 0xc9b9e2b9 CRC_businessAwayMessageScheduleOutsideWorkHours = 0xc3f2f501 CRC_businessAwayMessageScheduleCustom = 0xcc4d9ecc CRC_inputBusinessGreetingMessage = 0x0194cb3b CRC_businessGreetingMessage = 0xe519abab CRC_inputBusinessAwayMessage = 0x832175e0 CRC_businessAwayMessage = 0xef156a5c CRC_timezone = 0xff9289f5 CRC_help_timezonesListNotModified = 0x970708cc CRC_help_timezonesList = 0x7b74ed71 CRC_quickReply = 0x0697102b CRC_inputQuickReplyShortcut = 0x24596d41 CRC_inputQuickReplyShortcutID = 0x01190cf1 CRC_messages_quickReplies = 0xc68d6695 CRC_messages_quickRepliesNotModified = 0x5f91eb5b CRC_connectedBot = 0xcd64636c CRC_account_connectedBots = 0x17d7f87b CRC_messages_dialogFilters = 0x2ad93719 CRC_birthday = 0x6c8e1e06 CRC_botBusinessConnection = 0x8f34b2f5 CRC_inputBusinessIntro = 0x09c469cd CRC_businessIntro = 0x5a0a066d CRC_messages_myStickers = 0xfaff629d CRC_inputCollectibleUsername = 0xe39460a9 CRC_inputCollectiblePhone = 0xa2e214a4 CRC_fragment_collectibleInfo = 0x6ebdff91 CRC_inputBusinessBotRecipients = 0xc4e5921e CRC_businessBotRecipients = 0xb88cf373 CRC_contactBirthday = 0x1d998733 CRC_contacts_contactBirthdays = 0x114ff30d CRC_missingInvitee = 0x628c9224 CRC_messages_invitedUsers = 0x7f5defa6 CRC_inputBusinessChatLink = 0x11679fa7 CRC_businessChatLink = 0xb4ae666f CRC_account_businessChatLinks = 0xec43a2d1 CRC_account_resolvedBusinessChatLinks = 0x9a23af21 CRC_requestedPeerUser = 0xd62ff46a CRC_requestedPeerChat = 0x7307544f CRC_requestedPeerChannel = 0x8ba403e4 CRC_sponsoredMessageReportOption = 0x430d3150 CRC_channels_sponsoredMessageReportResultChooseOption = 0x846f9e42 CRC_channels_sponsoredMessageReportResultAdsHidden = 0x3e3bcf2f CRC_channels_sponsoredMessageReportResultReported = 0xad798849 CRC_reactionNotificationsFromContacts = 0xbac3a61a CRC_reactionNotificationsFromAll = 0x4b9e22a0 CRC_reactionsNotifySettings = 0x56e34970 CRC_availableEffect = 0x93c3e27e CRC_messages_availableEffectsNotModified = 0xd1ed9a5b CRC_messages_availableEffects = 0xbddb616e CRC_factCheck = 0xb89bfccf CRC_starsTransactionPeerUnsupported = 0x95f2bfe4 CRC_starsTransactionPeerAppStore = 0xb457b375 CRC_starsTransactionPeerPlayMarket = 0x7b560a0b CRC_starsTransactionPeerPremiumBot = 0x250dbaf8 CRC_starsTransactionPeerFragment = 0xe92fd902 CRC_starsTransactionPeer = 0xd80da15d CRC_starsTransactionPeerAds = 0x60682812 CRC_starsTransactionPeerAPI = 0xf9677aad CRC_starsTopupOption = 0x0bd915c0 CRC_starsTransaction = 0x13659eb0 CRC_payments_starsStatus = 0x6c9ce8ed CRC_foundStory = 0xe87acbc0 CRC_stories_foundStories = 0xe2de7737 CRC_geoPointAddress = 0xde4c5d93 CRC_starsRevenueStatus = 0xfebe5491 CRC_payments_starsRevenueStats = 0x6c207376 CRC_payments_starsRevenueWithdrawalURL = 0x1dab80b7 CRC_payments_starsRevenueAdsAccountURL = 0x394e7f21 CRC_inputStarsTransaction = 0x206ae6d1 CRC_starsGiftOption = 0x5e0589f1 CRC_bots_popularAppBots = 0x1991b13b CRC_botPreviewMedia = 0x23e91ba3 CRC_bots_previewInfo = 0x0ca71d64 CRC_starsSubscriptionPricing = 0x05416d58 CRC_starsSubscription = 0x2e6eab1a CRC_messageReactor = 0x4ba3a95a CRC_starsGiveawayOption = 0x94ce852a CRC_starsGiveawayWinnersOption = 0x54236209 CRC_starGift = 0x313a9547 CRC_starGiftUnique = 0x569d64c9 CRC_payments_starGiftsNotModified = 0xa388a368 CRC_payments_starGifts = 0x2ed82995 CRC_messageReportOption = 0x7903e3d9 CRC_reportResultChooseOption = 0xf0e4e0b6 CRC_reportResultAddComment = 0x6f09ac31 CRC_reportResultReported = 0x8db33c4b CRC_messages_botPreparedInlineMessage = 0x8ecf0511 CRC_messages_preparedInlineMessage = 0xff57708d CRC_botAppSettings = 0xc99b1950 CRC_starRefProgram = 0xdd0c66f2 CRC_connectedBotStarRef = 0x19a13f71 CRC_payments_connectedStarRefBots = 0x98d5ea1d CRC_payments_suggestedStarRefBots = 0xb4d5d859 CRC_starsAmount = 0xbbb6b4a3 CRC_starsTonAmount = 0x74aee3e0 CRC_messages_foundStickersNotModified = 0x6010c534 CRC_messages_foundStickers = 0x82c9e290 CRC_botVerifierSettings = 0xb0cd6617 CRC_botVerification = 0xf93cd45c CRC_starGiftAttributeModel = 0x39d99013 CRC_starGiftAttributePattern = 0x13acff19 CRC_starGiftAttributeBackdrop = 0xd93d859c CRC_starGiftAttributeOriginalDetails = 0xe0bff26c CRC_payments_starGiftUpgradePreview = 0x3de1dfed CRC_users_users = 0x62d706b8 CRC_users_usersSlice = 0x315a4974 CRC_payments_uniqueStarGift = 0x416c56e8 CRC_messages_webPagePreview = 0x8c9a88ac CRC_savedStarGift = 0xead6805e CRC_payments_savedStarGifts = 0x95f389b1 CRC_inputSavedStarGiftUser = 0x69279795 CRC_inputSavedStarGiftChat = 0xf101aa7f CRC_inputSavedStarGiftSlug = 0x2085c238 CRC_payments_starGiftWithdrawalURL = 0x84aa3a9c CRC_paidReactionPrivacyDefault = 0x206ad49e CRC_paidReactionPrivacyAnonymous = 0x1f0c1ad9 CRC_paidReactionPrivacyPeer = 0xdc6cfcf0 CRC_account_paidMessagesRevenue = 0x1e109708 CRC_requirementToContactEmpty = 0x050a9839 CRC_requirementToContactPremium = 0xe581e4e9 CRC_requirementToContactPaidMessages = 0xb4f67e93 CRC_businessBotRights = 0xa0624cf7 CRC_disallowedGiftsSettings = 0x71f276c4 CRC_sponsoredPeer = 0xc69708d3 CRC_contacts_sponsoredPeersEmpty = 0xea32b4b1 CRC_contacts_sponsoredPeers = 0xeb032884 CRC_starGiftAttributeIDModel = 0x48aaae3c CRC_starGiftAttributeIDPattern = 0x4a162433 CRC_starGiftAttributeIDBackdrop = 0x1f01c757 CRC_starGiftAttributeCounter = 0x2eb1b658 CRC_payments_resaleStarGifts = 0x947a12df CRC_stories_canSendStoryCount = 0xc387c04e CRC_pendingSuggestion = 0xe7e82e12 CRC_todoItem = 0xcba9a52f CRC_todoList = 0x49b92a26 CRC_todoCompletion = 0x221bb5e4 CRC_suggestedPost = 0x0e8e37e5 CRC_starsRating = 0x1b0e4f07 CRC_starGiftCollection = 0x9d6b13b0 CRC_payments_starGiftCollectionsNotModified = 0xa0ba4f17 CRC_payments_starGiftCollections = 0x8a2932f3 CRC_storyAlbum = 0x9325705a CRC_stories_albumsNotModified = 0x564edaeb CRC_stories_albums = 0xc3987a3a CRC_searchPostsFlood = 0x3e0b5b6a CRC_payments_uniqueStarGiftValueInfo = 0x512fe446 CRC_profileTabPosts = 0xb98cd696 CRC_profileTabGifts = 0x4d4bd46a CRC_profileTabMedia = 0x72c64955 CRC_profileTabFiles = 0xab339c00 CRC_profileTabMusic = 0x9f27d26e CRC_profileTabVoice = 0xe477092e CRC_profileTabLinks = 0xd3656499 CRC_profileTabGIFs = 0xa2c0f695 CRC_users_savedMusicNotModified = 0xe3878aa4 CRC_users_savedMusic = 0x34a2f297 CRC_account_savedMusicIDsNotModified = 0x4fc81d6e CRC_account_savedMusicIDs = 0x998d6636 CRC_payments_checkCanSendGiftResultOK = 0x374fa7ad CRC_payments_checkCanSendGiftResultFail = 0xd5e58274 CRC_inputChatThemeEmpty = 0x83268483 CRC_inputChatTheme = 0xc93de95c CRC_inputChatThemeUniqueGift = 0x87e5dfe4 CRC_starGiftUpgradePrice = 0x99ea331d CRC_groupCallMessage = 0x1a8afc7e CRC_groupCallDonor = 0xee430c85 CRC_phone_groupCallStars = 0x9d1dbd26 CRC_recentStory = 0x711d692d CRC_auctionBidLevel = 0x310240cc CRC_starGiftAuctionStateNotModified = 0xfe333952 CRC_starGiftAuctionState = 0x771a4e66 CRC_starGiftAuctionStateFinished = 0x972dabbf CRC_starGiftAuctionUserState = 0x2eeed1c4 CRC_payments_starGiftAuctionState = 0x6b39f4ec CRC_starGiftAuctionAcquiredGift = 0x42b00348 CRC_payments_starGiftAuctionAcquiredGifts = 0x7d5bd1f0 CRC_starGiftActiveAuctionState = 0xd31bc45d CRC_payments_starGiftActiveAuctionsNotModified = 0xdb33dad0 CRC_payments_starGiftActiveAuctions = 0xaef6abbc CRC_inputStarGiftAuction = 0x02e16c98 CRC_inputStarGiftAuctionSlug = 0x7ab58308 CRC_passkey = 0x98613ebf CRC_account_passkeys = 0xf8e0aa1c CRC_account_passkeyRegistrationOptions = 0xe16b5ce1 CRC_auth_passkeyLoginOptions = 0xe2037789 CRC_inputPasskeyResponseRegister = 0x3e63935c CRC_inputPasskeyResponseLogin = 0xc31fc14a CRC_inputPasskeyCredentialPublicKey = 0x3c27b78f CRC_starGiftBackground = 0xaff56398 CRC_starGiftAuctionRound = 0x3aae0528 CRC_starGiftAuctionRoundExtendable = 0x0aa021e5 CRC_payments_starGiftUpgradeAttributes = 0x46c6e36f CRC_invokeAfterMsg = 0xcb9f372d CRC_invokeAfterMsgs = 0x3dc4b4f0 CRC_initConnection = 0xc1cd5ea9 CRC_invokeWithLayer = 0xda9b0d0d CRC_invokeWithoutUpdates = 0xbf9459b7 CRC_invokeWithMessagesRange = 0x365275f2 CRC_invokeWithTakeout = 0xaca9fd2e CRC_invokeWithBusinessConnection = 0xdd289f8e CRC_invokeWithGooglePlayIntegrity = 0x1df92984 CRC_invokeWithApnsSecret = 0x0dae54f8 CRC_invokeWithReCaptcha = 0xadbb0f94 CRC_auth_sendCode = 0xa677244f CRC_auth_signUp = 0xaac7b717 CRC_auth_signIn = 0x8d52a951 CRC_auth_logOut = 0x3e72ba19 CRC_auth_resetAuthorizations = 0x9fab0d1a CRC_auth_exportAuthorization = 0xe5bfffcd CRC_auth_importAuthorization = 0xa57a7dad CRC_auth_bindTempAuthKey = 0xcdd42a05 CRC_auth_importBotAuthorization = 0x67a3ff2c CRC_auth_checkPassword = 0xd18b4d16 CRC_auth_requestPasswordRecovery = 0xd897bc66 CRC_auth_recoverPassword = 0x37096c70 CRC_auth_resendCode = 0xcae47523 CRC_auth_cancelCode = 0x1f040578 CRC_auth_dropTempAuthKeys = 0x8e48a188 CRC_auth_exportLoginToken = 0xb7e085fe CRC_auth_importLoginToken = 0x95ac5ce4 CRC_auth_acceptLoginToken = 0xe894ad4d CRC_auth_checkRecoveryPassword = 0x0d36bf79 CRC_auth_importWebTokenAuthorization = 0x2db873a9 CRC_auth_requestFirebaseSMS = 0x8e39261e CRC_auth_resetLoginEmail = 0x7e960193 CRC_auth_reportMissingCode = 0xcb9deff6 CRC_auth_checkPaidAuth = 0x56e59f9c CRC_auth_initPasskeyLogin = 0x518ad0b7 CRC_auth_finishPasskeyLogin = 0x9857ad07 CRC_account_registerDevice = 0xec86017a CRC_account_unregisterDevice = 0x6a0d3206 CRC_account_updateNotifySettings = 0x84be5b93 CRC_account_getNotifySettings = 0x12b3ad31 CRC_account_resetNotifySettings = 0xdb7e1747 CRC_account_updateProfile = 0x78515775 CRC_account_updateStatus = 0x6628562c CRC_account_getWallPapers = 0x07967d36 CRC_account_reportPeer = 0xc5ba3d86 CRC_account_checkUsername = 0x2714d86c CRC_account_updateUsername = 0x3e0bdd7c CRC_account_getPrivacy = 0xdadbc950 CRC_account_setPrivacy = 0xc9f81ce8 CRC_account_deleteAccount = 0xa2c0cf74 CRC_account_getAccountTTL = 0x08fc711d CRC_account_setAccountTTL = 0x2442485e CRC_account_sendChangePhoneCode = 0x82574ae5 CRC_account_changePhone = 0x70c32edb CRC_account_updateDeviceLocked = 0x38df3532 CRC_account_getAuthorizations = 0xe320c158 CRC_account_resetAuthorization = 0xdf77f3bc CRC_account_getPassword = 0x548a30f5 CRC_account_getPasswordSettings = 0x9cd4eaf9 CRC_account_updatePasswordSettings = 0xa59b102f CRC_account_sendConfirmPhoneCode = 0x1b3faa88 CRC_account_confirmPhone = 0x5f2178c3 CRC_account_getTmpPassword = 0x449e0b51 CRC_account_getWebAuthorizations = 0x182e6d6f CRC_account_resetWebAuthorization = 0x2d01b9ef CRC_account_resetWebAuthorizations = 0x682d2594 CRC_account_getAllSecureValues = 0xb288bc7d CRC_account_getSecureValue = 0x73665bc2 CRC_account_saveSecureValue = 0x899fe31d CRC_account_deleteSecureValue = 0xb880bc4b CRC_account_getAuthorizationForm = 0xa929597a CRC_account_acceptAuthorization = 0xf3ed4c73 CRC_account_sendVerifyPhoneCode = 0xa5a356f9 CRC_account_verifyPhone = 0x4dd3a7f6 CRC_account_sendVerifyEmailCode = 0x98e037bb CRC_account_verifyEmail = 0x032da4cf CRC_account_initTakeoutSession = 0x8ef3eab0 CRC_account_finishTakeoutSession = 0x1d2652ee CRC_account_confirmPasswordEmail = 0x8fdf1920 CRC_account_resendPasswordEmail = 0x7a7f2a15 CRC_account_cancelPasswordEmail = 0xc1cbd5b6 CRC_account_getContactSignUpNotification = 0x9f07c728 CRC_account_setContactSignUpNotification = 0xcff43f61 CRC_account_getNotifyExceptions = 0x53577479 CRC_account_getWallPaper = 0xfc8ddbea CRC_account_uploadWallPaper = 0xe39a8f03 CRC_account_saveWallPaper = 0x6c5a5b37 CRC_account_installWallPaper = 0xfeed5769 CRC_account_resetWallPapers = 0xbb3b9804 CRC_account_getAutoDownloadSettings = 0x56da0b3f CRC_account_saveAutoDownloadSettings = 0x76f36233 CRC_account_uploadTheme = 0x1c3db333 CRC_account_createTheme = 0x652e4400 CRC_account_updateTheme = 0x2bf40ccc CRC_account_saveTheme = 0xf257106c CRC_account_installTheme = 0xc727bb3b CRC_account_getTheme = 0x3a5869ec CRC_account_getThemes = 0x7206e458 CRC_account_setContentSettings = 0xb574b16b CRC_account_getContentSettings = 0x8b9b4dae CRC_account_getMultiWallPapers = 0x65ad71dc CRC_account_getGlobalPrivacySettings = 0xeb2b4cf6 CRC_account_setGlobalPrivacySettings = 0x1edaaac2 CRC_account_reportProfilePhoto = 0xfa8cc6f5 CRC_account_resetPassword = 0x9308ce1b CRC_account_declinePasswordReset = 0x4c9409f6 CRC_account_getChatThemes = 0xd638de89 CRC_account_setAuthorizationTTL = 0xbf899aa0 CRC_account_changeAuthorizationSettings = 0x40f48462 CRC_account_getSavedRingtones = 0xe1902288 CRC_account_saveRingtone = 0x3dea5b03 CRC_account_uploadRingtone = 0x831a83a2 CRC_account_updateEmojiStatus = 0xfbd3de6b CRC_account_getDefaultEmojiStatuses = 0xd6753386 CRC_account_getRecentEmojiStatuses = 0x0f578105 CRC_account_clearRecentEmojiStatuses = 0x18201aae CRC_account_reorderUsernames = 0xef500eab CRC_account_toggleUsername = 0x58d6b376 CRC_account_getDefaultProfilePhotoEmojis = 0xe2750328 CRC_account_getDefaultGroupPhotoEmojis = 0x915860ae CRC_account_getAutoSaveSettings = 0xadcbbcda CRC_account_saveAutoSaveSettings = 0xd69b8361 CRC_account_deleteAutoSaveExceptions = 0x53bc0020 CRC_account_invalidateSignInCodes = 0xca8ae8ba CRC_account_updateColor = 0x684d214e CRC_account_getDefaultBackgroundEmojis = 0xa60ab9ce CRC_account_getChannelDefaultEmojiStatuses = 0x7727a7d5 CRC_account_getChannelRestrictedStatusEmojis = 0x35a9e0d5 CRC_account_updateBusinessWorkHours = 0x4b00e066 CRC_account_updateBusinessLocation = 0x9e6b131a CRC_account_updateBusinessGreetingMessage = 0x66cdafc4 CRC_account_updateBusinessAwayMessage = 0xa26a7fa5 CRC_account_updateConnectedBot = 0x66a08c7e CRC_account_getConnectedBots = 0x4ea4c80f CRC_account_getBotBusinessConnection = 0x76a86270 CRC_account_updateBusinessIntro = 0xa614d034 CRC_account_toggleConnectedBotPaused = 0x646e1097 CRC_account_disablePeerConnectedBot = 0x5e437ed9 CRC_account_updateBirthday = 0xcc6e0c11 CRC_account_createBusinessChatLink = 0x8851e68e CRC_account_editBusinessChatLink = 0x8c3410af CRC_account_deleteBusinessChatLink = 0x60073674 CRC_account_getBusinessChatLinks = 0x6f70dde1 CRC_account_resolveBusinessChatLink = 0x5492e5ee CRC_account_updatePersonalChannel = 0xd94305e0 CRC_account_toggleSponsoredMessages = 0xb9d9a38d CRC_account_getReactionsNotifySettings = 0x06dd654c CRC_account_setReactionsNotifySettings = 0x316ce548 CRC_account_getCollectibleEmojiStatuses = 0x2e7b4543 CRC_account_getPaidMessagesRevenue = 0x19ba4a67 CRC_account_toggleNoPaidMessagesException = 0xfe2eda76 CRC_account_setMainProfileTab = 0x5dee78b0 CRC_account_saveMusic = 0xb26732a9 CRC_account_getSavedMusicIDs = 0xe09d5faf CRC_account_getUniqueGiftChatThemes = 0xe42ce9c9 CRC_account_initPasskeyRegistration = 0x429547e8 CRC_account_registerPasskey = 0x55b41fd6 CRC_account_getPasskeys = 0xea1f0c52 CRC_account_deletePasskey = 0xf5b5563f CRC_users_getUsers = 0x0d91a548 CRC_users_getFullUser = 0xb60f5918 CRC_users_setSecureValueErrors = 0x90c894b5 CRC_users_getRequirementsToContact = 0xd89a83a3 CRC_users_getSavedMusic = 0x788d7fe3 CRC_users_getSavedMusicByID = 0x7573a4e9 CRC_users_suggestBirthday = 0xfc533372 CRC_contacts_getContactIDs = 0x7adc669d CRC_contacts_getStatuses = 0xc4a353ee CRC_contacts_getContacts = 0x5dd69e12 CRC_contacts_importContacts = 0x2c800be5 CRC_contacts_deleteContacts = 0x096a0e00 CRC_contacts_deleteByPhones = 0x1013fd9e CRC_contacts_block = 0x2e2e8734 CRC_contacts_unblock = 0xb550d328 CRC_contacts_getBlocked = 0x9a868f80 CRC_contacts_search = 0x11f812d8 CRC_contacts_resolveUsername = 0x725afbbc CRC_contacts_getTopPeers = 0x973478b6 CRC_contacts_resetTopPeerRating = 0x1ae373ac CRC_contacts_resetSaved = 0x879537f1 CRC_contacts_getSaved = 0x82f1e39f CRC_contacts_toggleTopPeers = 0x8514bdda CRC_contacts_addContact = 0xd9ba2e54 CRC_contacts_acceptContact = 0xf831a20f CRC_contacts_getLocated = 0xd348bc44 CRC_contacts_blockFromReplies = 0x29a8962c CRC_contacts_resolvePhone = 0x8af94344 CRC_contacts_exportContactToken = 0xf8654027 CRC_contacts_importContactToken = 0x13005788 CRC_contacts_editCloseFriends = 0xba6705f0 CRC_contacts_setBlocked = 0x94c65c76 CRC_contacts_getBirthdays = 0xdaeda864 CRC_contacts_getSponsoredPeers = 0xb6c8c393 CRC_contacts_updateContactNote = 0x139f63fb CRC_messages_getMessages = 0x63c66506 CRC_messages_getDialogs = 0xa0f4cb4f CRC_messages_getHistory = 0x4423e6c5 CRC_messages_search = 0x29ee847a CRC_messages_readHistory = 0x0e306d3a CRC_messages_deleteHistory = 0xb08f922a CRC_messages_deleteMessages = 0xe58e95d2 CRC_messages_receivedMessages = 0x05a954c0 CRC_messages_setTyping = 0x58943ee2 CRC_messages_sendMessage = 0x545cd15a CRC_messages_sendMedia = 0x0330e77f CRC_messages_forwardMessages = 0x13704a7c CRC_messages_reportSpam = 0xcf1592db CRC_messages_getPeerSettings = 0xefd9a6a2 CRC_messages_report = 0xfc78af9b CRC_messages_getChats = 0x49e9528f CRC_messages_getFullChat = 0xaeb00b34 CRC_messages_editChatTitle = 0x73783ffd CRC_messages_editChatPhoto = 0x35ddd674 CRC_messages_addChatUser = 0xcbc6d107 CRC_messages_deleteChatUser = 0xa2185cab CRC_messages_createChat = 0x92ceddd4 CRC_messages_getDHConfig = 0x26cf8950 CRC_messages_requestEncryption = 0xf64daf43 CRC_messages_acceptEncryption = 0x3dbc0415 CRC_messages_discardEncryption = 0xf393aea0 CRC_messages_setEncryptedTyping = 0x791451ed CRC_messages_readEncryptedHistory = 0x7f4b690a CRC_messages_sendEncrypted = 0x44fa7a15 CRC_messages_sendEncryptedFile = 0x5559481d CRC_messages_sendEncryptedService = 0x32d439a4 CRC_messages_receivedQueue = 0x55a5bb66 CRC_messages_reportEncryptedSpam = 0x4b0c8c0f CRC_messages_readMessageContents = 0x36a73f77 CRC_messages_getStickers = 0xd5a5d3a1 CRC_messages_getAllStickers = 0xb8a0a1a8 CRC_messages_getWebPagePreview = 0x570d6f6f CRC_messages_exportChatInvite = 0xa455de90 CRC_messages_checkChatInvite = 0x3eadb1bb CRC_messages_importChatInvite = 0x6c50051c CRC_messages_getStickerSet = 0xc8a0ec74 CRC_messages_installStickerSet = 0xc78fe460 CRC_messages_uninstallStickerSet = 0xf96e55de CRC_messages_startBot = 0xe6df7378 CRC_messages_getMessagesViews = 0x5784d3e1 CRC_messages_editChatAdmin = 0xa85bd1c2 CRC_messages_migrateChat = 0xa2875319 CRC_messages_searchGlobal = 0x4bc6589a CRC_messages_reorderStickerSets = 0x78337739 CRC_messages_getDocumentByHash = 0xb1f2061f CRC_messages_getSavedGIFs = 0x5cf09635 CRC_messages_saveGIF = 0x327a30cb CRC_messages_getInlineBotResults = 0x514e999d CRC_messages_setInlineBotResults = 0xbb12a419 CRC_messages_sendInlineBotResult = 0xc0cf7646 CRC_messages_getMessageEditData = 0xfda68d36 CRC_messages_editMessage = 0x51e842e1 CRC_messages_editInlineBotMessage = 0x83557dba CRC_messages_getBotCallbackAnswer = 0x9342ca07 CRC_messages_setBotCallbackAnswer = 0xd58f130a CRC_messages_getPeerDialogs = 0xe470bcfd CRC_messages_saveDraft = 0x54ae308e CRC_messages_getAllDrafts = 0x6a3f8d65 CRC_messages_getFeaturedStickers = 0x64780b14 CRC_messages_readFeaturedStickers = 0x5b118126 CRC_messages_getRecentStickers = 0x9da9403b CRC_messages_saveRecentSticker = 0x392718f8 CRC_messages_clearRecentStickers = 0x8999602d CRC_messages_getArchivedStickers = 0x57f17692 CRC_messages_getMaskStickers = 0x640f82b8 CRC_messages_getAttachedStickers = 0xcc5b67cc CRC_messages_setGameScore = 0x8ef8ecc0 CRC_messages_setInlineGameScore = 0x15ad9f64 CRC_messages_getGameHighScores = 0xe822649d CRC_messages_getInlineGameHighScores = 0x0f635e1b CRC_messages_getCommonChats = 0xe40ca104 CRC_messages_getWebPage = 0x8d9692a3 CRC_messages_toggleDialogPIN = 0xa731e257 CRC_messages_reorderPinnedDialogs = 0x3b1adf37 CRC_messages_getPinnedDialogs = 0xd6b94df2 CRC_messages_setBotShippingResults = 0xe5f672fa CRC_messages_setBotPrecheckoutResults = 0x09c2dd95 CRC_messages_uploadMedia = 0x14967978 CRC_messages_sendScreenshotNotification = 0xa1405817 CRC_messages_getFavedStickers = 0x04f1aaa9 CRC_messages_faveSticker = 0xb9ffc55b CRC_messages_getUnreadMentions = 0xf107e790 CRC_messages_readMentions = 0x36e5bf4d CRC_messages_getRecentLocations = 0x702a40e0 CRC_messages_sendMultiMedia = 0x1bf89d74 CRC_messages_uploadEncryptedFile = 0x5057c497 CRC_messages_searchStickerSets = 0x35705b8a CRC_messages_getSplitRanges = 0x1cff7e08 CRC_messages_markDialogUnread = 0x8c5006f8 CRC_messages_getDialogUnreadMarks = 0x21202222 CRC_messages_clearAllDrafts = 0x7e58ee9c CRC_messages_updatePinnedMessage = 0xd2aaf7ec CRC_messages_sendVote = 0x10ea6184 CRC_messages_getPollResults = 0x73bb643b CRC_messages_getOnlines = 0x6e2be050 CRC_messages_editChatAbout = 0xdef60797 CRC_messages_editChatDefaultBannedRights = 0xa5866b41 CRC_messages_getEmojiKeywords = 0x35a0e062 CRC_messages_getEmojiKeywordsDifference = 0x1508b6af CRC_messages_getEmojiKeywordsLanguages = 0x4e9963b2 CRC_messages_getEmojiURL = 0xd5b10c26 CRC_messages_getSearchCounters = 0x1bbcf300 CRC_messages_requestURLAuth = 0x198fb446 CRC_messages_acceptURLAuth = 0xb12c7125 CRC_messages_hidePeerSettingsBar = 0x4facb138 CRC_messages_getScheduledHistory = 0xf516760b CRC_messages_getScheduledMessages = 0xbdbb0464 CRC_messages_sendScheduledMessages = 0xbd38850a CRC_messages_deleteScheduledMessages = 0x59ae2b16 CRC_messages_getPollVotes = 0xb86e380e CRC_messages_toggleStickerSets = 0xb5052fea CRC_messages_getDialogFilters = 0xefd48c89 CRC_messages_getSuggestedDialogFilters = 0xa29cd42c CRC_messages_updateDialogFilter = 0x1ad4a04a CRC_messages_updateDialogFiltersOrder = 0xc563c1e4 CRC_messages_getOldFeaturedStickers = 0x7ed094a1 CRC_messages_getReplies = 0x22ddd30c CRC_messages_getDiscussionMessage = 0x446972fd CRC_messages_readDiscussion = 0xf731a9f4 CRC_messages_unpinAllMessages = 0x062dd747 CRC_messages_deleteChat = 0x5bd0ee50 CRC_messages_deletePhoneCallHistory = 0xf9cbe409 CRC_messages_checkHistoryImport = 0x43fe19f3 CRC_messages_initHistoryImport = 0x34090c3b CRC_messages_uploadImportedMedia = 0x2a862092 CRC_messages_startHistoryImport = 0xb43df344 CRC_messages_getExportedChatInvites = 0xa2b5a3f6 CRC_messages_getExportedChatInvite = 0x73746f5c CRC_messages_editExportedChatInvite = 0xbdca2f75 CRC_messages_deleteRevokedExportedChatInvites = 0x56987bd5 CRC_messages_deleteExportedChatInvite = 0xd464a42b CRC_messages_getAdminsWithInvites = 0x3920e6ef CRC_messages_getChatInviteImporters = 0xdf04dd4e CRC_messages_setHistoryTTL = 0xb80e5fe4 CRC_messages_checkHistoryImportPeer = 0x5dc60f03 CRC_messages_setChatTheme = 0x081202c9 CRC_messages_getMessageReadParticipants = 0x31c1c44f CRC_messages_getSearchResultsCalendar = 0x6aa3f6bd CRC_messages_getSearchResultsPositions = 0x9c7f2f10 CRC_messages_hideChatJoinRequest = 0x7fe7e815 CRC_messages_hideAllChatJoinRequests = 0xe085f4ea CRC_messages_toggleNoForwards = 0xb11eafa2 CRC_messages_saveDefaultSendAs = 0xccfddf96 CRC_messages_sendReaction = 0xd30d78d4 CRC_messages_getMessagesReactions = 0x8bba90e6 CRC_messages_getMessageReactionsList = 0x461b3f48 CRC_messages_setChatAvailableReactions = 0x864b2581 CRC_messages_getAvailableReactions = 0x18dea0ac CRC_messages_setDefaultReaction = 0x4f47a016 CRC_messages_translateText = 0x63183030 CRC_messages_getUnreadReactions = 0xbd7f90ac CRC_messages_readReactions = 0x9ec44f93 CRC_messages_searchSentMedia = 0x107e31a0 CRC_messages_getAttachMenuBots = 0x16fcc2cb CRC_messages_getAttachMenuBot = 0x77216192 CRC_messages_toggleBotInAttachMenu = 0x69f59d69 CRC_messages_requestWebView = 0x269dc2c1 CRC_messages_prolongWebView = 0xb0d81a83 CRC_messages_requestSimpleWebView = 0x413a3e73 CRC_messages_sendWebViewResultMessage = 0x0a4314f5 CRC_messages_sendWebViewData = 0xdc0242c8 CRC_messages_transcribeAudio = 0x269e9a49 CRC_messages_rateTranscribedAudio = 0x7f1d072f CRC_messages_getCustomEmojiDocuments = 0xd9ab0f54 CRC_messages_getEmojiStickers = 0xfbfca18f CRC_messages_getFeaturedEmojiStickers = 0x0ecf6736 CRC_messages_reportReaction = 0x3f64c076 CRC_messages_getTopReactions = 0xbb8125ba CRC_messages_getRecentReactions = 0x39461db2 CRC_messages_clearRecentReactions = 0x9dfeefb4 CRC_messages_getExtendedMedia = 0x84f80814 CRC_messages_setDefaultHistoryTTL = 0x9eb51445 CRC_messages_getDefaultHistoryTTL = 0x658b7188 CRC_messages_sendBotRequestedPeer = 0x91b2d060 CRC_messages_getEmojiGroups = 0x7488ce5b CRC_messages_getEmojiStatusGroups = 0x2ecd56cd CRC_messages_getEmojiProfilePhotoGroups = 0x21a548f3 CRC_messages_searchCustomEmoji = 0x2c11c0d7 CRC_messages_togglePeerTranslations = 0xe47cb579 CRC_messages_getBotApp = 0x34fdc5c3 CRC_messages_requestAppWebView = 0x53618bce CRC_messages_setChatWallPaper = 0x8ffacae1 CRC_messages_searchEmojiStickerSets = 0x92b4494c CRC_messages_getSavedDialogs = 0x1e91fc99 CRC_messages_getSavedHistory = 0x998ab009 CRC_messages_deleteSavedHistory = 0x4dc5085f CRC_messages_getPinnedSavedDialogs = 0xd63d94e0 CRC_messages_toggleSavedDialogPIN = 0xac81bbde CRC_messages_reorderPinnedSavedDialogs = 0x8b716587 CRC_messages_getSavedReactionTags = 0x3637e05b CRC_messages_updateSavedReactionTag = 0x60297dec CRC_messages_getDefaultTagReactions = 0xbdf93428 CRC_messages_getOutboxReadDate = 0x8c4bfe5d CRC_messages_getQuickReplies = 0xd483f2a8 CRC_messages_reorderQuickReplies = 0x60331907 CRC_messages_checkQuickReplyShortcut = 0xf1d0fbd3 CRC_messages_editQuickReplyShortcut = 0x5c003cef CRC_messages_deleteQuickReplyShortcut = 0x3cc04740 CRC_messages_getQuickReplyMessages = 0x94a495c3 CRC_messages_sendQuickReplyMessages = 0x6c750de1 CRC_messages_deleteQuickReplyMessages = 0xe105e910 CRC_messages_toggleDialogFilterTags = 0xfd2dda49 CRC_messages_getMyStickers = 0xd0b5e1fc CRC_messages_getEmojiStickerGroups = 0x1dd840f5 CRC_messages_getAvailableEffects = 0xdea20a39 CRC_messages_editFactCheck = 0x0589ee75 CRC_messages_deleteFactCheck = 0xd1da940c CRC_messages_getFactCheck = 0xb9cdc5ee CRC_messages_requestMainWebView = 0xc9e01e7b CRC_messages_sendPaidReaction = 0x58bbcb50 CRC_messages_togglePaidReactionPrivacy = 0x435885b5 CRC_messages_getPaidReactionPrivacy = 0x472455aa CRC_messages_viewSponsoredMessage = 0x269e3643 CRC_messages_clickSponsoredMessage = 0x8235057e CRC_messages_reportSponsoredMessage = 0x12cbf0c4 CRC_messages_getSponsoredMessages = 0x3d6ce850 CRC_messages_savePreparedInlineMessage = 0xf21f7f2f CRC_messages_getPreparedInlineMessage = 0x857ebdb8 CRC_messages_searchStickers = 0x29b1c66a CRC_messages_reportMessagesDelivery = 0x5a6d7395 CRC_messages_getSavedDialogsByID = 0x6f6f9c96 CRC_messages_readSavedHistory = 0xba4a3b5b CRC_messages_toggleTodoCompleted = 0xd3e03124 CRC_messages_appendTodoList = 0x21a61057 CRC_messages_toggleSuggestedPostApproval = 0x8107455c CRC_messages_getForumTopics = 0x3ba47bff CRC_messages_getForumTopicsByID = 0xaf0a4a08 CRC_messages_editForumTopic = 0xcecc1134 CRC_messages_updatePinnedForumTopic = 0x175df251 CRC_messages_reorderPinnedForumTopics = 0x0e7841f0 CRC_messages_createForumTopic = 0x2f98c3d5 CRC_messages_deleteTopicHistory = 0xd2816f10 CRC_updates_getState = 0xedd4882a CRC_updates_getDifference = 0x19c2f763 CRC_updates_getChannelDifference = 0x03173d78 CRC_photos_updateProfilePhoto = 0x09e82039 CRC_photos_uploadProfilePhoto = 0x0388a3b5 CRC_photos_deletePhotos = 0x87cf7f2f CRC_photos_getUserPhotos = 0x91cd32a8 CRC_photos_uploadContactProfilePhoto = 0xe14c4a71 CRC_upload_saveFilePart = 0xb304a621 CRC_upload_getFile = 0xbe5335be CRC_upload_saveBigFilePart = 0xde7b673d CRC_upload_getWebFile = 0x24e6818d CRC_upload_getCDNFile = 0x395f69da CRC_upload_reuploadCDNFile = 0x9b2754a8 CRC_upload_getCDNFileHashes = 0x91dc3f31 CRC_upload_getFileHashes = 0x9156982a CRC_help_getConfig = 0xc4f9186b CRC_help_getNearestDC = 0x1fb33026 CRC_help_getAppUpdate = 0x522d5a7d CRC_help_getInviteText = 0x4d392343 CRC_help_getSupport = 0x9cdf08cd CRC_help_setBotUpdatesStatus = 0xec22cfcd CRC_help_getCDNConfig = 0x52029342 CRC_help_getRecentMeURLs = 0x3dc0f114 CRC_help_getTermsOfServiceUpdate = 0x2ca51fd1 CRC_help_acceptTermsOfService = 0xee72f79a CRC_help_getDeepLinkInfo = 0x3fedc75f CRC_help_getAppConfig = 0x61e3f854 CRC_help_saveAppLog = 0x6f02f748 CRC_help_getPassportConfig = 0xc661ad08 CRC_help_getSupportName = 0xd360e72c CRC_help_getUserInfo = 0x038a08d3 CRC_help_editUserInfo = 0x66b91b70 CRC_help_getPromoData = 0xc0977421 CRC_help_hidePromoData = 0x1e251c95 CRC_help_dismissSuggestion = 0xf50dbaa1 CRC_help_getCountriesList = 0x735787a8 CRC_help_getPremiumPromo = 0xb81b93d4 CRC_help_getPeerColors = 0xda80f42f CRC_help_getPeerProfileColors = 0xabcfa9fd CRC_help_getTimezonesList = 0x49b30240 CRC_channels_readHistory = 0xcc104937 CRC_channels_deleteMessages = 0x84c1fd4e CRC_channels_reportSpam = 0xf44a8315 CRC_channels_getMessages = 0xad8c9a23 CRC_channels_getParticipants = 0x77ced9d0 CRC_channels_getParticipant = 0xa0ab6cc6 CRC_channels_getChannels = 0x0a7f6bbb CRC_channels_getFullChannel = 0x08736a09 CRC_channels_createChannel = 0x91006707 CRC_channels_editAdmin = 0xd33c8902 CRC_channels_editTitle = 0x566decd0 CRC_channels_editPhoto = 0xf12e57c9 CRC_channels_checkUsername = 0x10e6bd2c CRC_channels_updateUsername = 0x3514b3de CRC_channels_joinChannel = 0x24b524c5 CRC_channels_leaveChannel = 0xf836aa95 CRC_channels_inviteToChannel = 0xc9e33d54 CRC_channels_deleteChannel = 0xc0111fe3 CRC_channels_exportMessageLink = 0xe63fadeb CRC_channels_toggleSignatures = 0x418d549c CRC_channels_getAdminedPublicChannels = 0xf8b036af CRC_channels_editBanned = 0x96e6cd81 CRC_channels_getAdminLog = 0x33ddf480 CRC_channels_setStickers = 0xea8ca4f9 CRC_channels_readMessageContents = 0xeab5dc38 CRC_channels_deleteHistory = 0x9baa9647 CRC_channels_togglePreHistoryHidden = 0xeabbb94c CRC_channels_getLeftChannels = 0x8341ecc0 CRC_channels_getGroupsForDiscussion = 0xf5dad378 CRC_channels_setDiscussionGroup = 0x40582bb2 CRC_channels_editCreator = 0x8f38cd1f CRC_channels_editLocation = 0x58e63f6d CRC_channels_toggleSlowMode = 0xedd49ef0 CRC_channels_getInactiveChannels = 0x11e831ee CRC_channels_convertToGigagroup = 0x0b290c69 CRC_channels_getSendAs = 0xe785a43f CRC_channels_deleteParticipantHistory = 0x367544db CRC_channels_toggleJoinToSend = 0xe4cb9580 CRC_channels_toggleJoinRequest = 0x4c2985b6 CRC_channels_reorderUsernames = 0xb45ced1d CRC_channels_toggleUsername = 0x50f24105 CRC_channels_deactivateAllUsernames = 0x0a245dd3 CRC_channels_toggleForum = 0x3ff75734 CRC_channels_toggleAntiSpam = 0x68f3e4eb CRC_channels_reportAntiSpamFalsePositive = 0xa850a693 CRC_channels_toggleParticipantsHidden = 0x6a6e7854 CRC_channels_updateColor = 0xd8aa3671 CRC_channels_toggleViewForumAsMessages = 0x9738bb15 CRC_channels_getChannelRecommendations = 0x25a71742 CRC_channels_updateEmojiStatus = 0xf0d3e6a8 CRC_channels_setBoostsToUnblockRestrictions = 0xad399cee CRC_channels_setEmojiStickers = 0x3cd930b7 CRC_channels_restrictSponsoredMessages = 0x9ae91519 CRC_channels_searchPosts = 0xf2c4f24d CRC_channels_updatePaidMessagesPrice = 0x4b12327b CRC_channels_toggleAutotranslation = 0x167fc0a1 CRC_channels_getMessageAuthor = 0xece2a0e6 CRC_channels_checkSearchPostsFlood = 0x22567115 CRC_channels_setMainProfileTab = 0x3583fcb1 CRC_bots_sendCustomRequest = 0xaa2769ed CRC_bots_answerWebhookJSONQuery = 0xe6213f4d CRC_bots_setBotCommands = 0x0517165a CRC_bots_resetBotCommands = 0x3d8de0f9 CRC_bots_getBotCommands = 0xe34c0dd6 CRC_bots_setBotMenuButton = 0x4504d54f CRC_bots_getBotMenuButton = 0x9c60eb28 CRC_bots_setBotBroadcastDefaultAdminRights = 0x788464e1 CRC_bots_setBotGroupDefaultAdminRights = 0x925ec9ea CRC_bots_setBotInfo = 0x10cf3123 CRC_bots_getBotInfo = 0xdcd914fd CRC_bots_reorderUsernames = 0x9709b1c2 CRC_bots_toggleUsername = 0x053ca973 CRC_bots_canSendMessage = 0x1359f4e6 CRC_bots_allowSendMessage = 0xf132e3ef CRC_bots_invokeWebViewCustomMethod = 0x087fc5e7 CRC_bots_getPopularAppBots = 0xc2510192 CRC_bots_addPreviewMedia = 0x17aeb75a CRC_bots_editPreviewMedia = 0x8525606f CRC_bots_deletePreviewMedia = 0x2d0135b3 CRC_bots_reorderPreviewMedias = 0xb627f3aa CRC_bots_getPreviewInfo = 0x423ab3ad CRC_bots_getPreviewMedias = 0xa2a5594d CRC_bots_updateUserEmojiStatus = 0xed9f30c5 CRC_bots_toggleUserEmojiStatusPermission = 0x06de6392 CRC_bots_checkDownloadFileParams = 0x50077589 CRC_bots_getAdminedBots = 0xb0711d83 CRC_bots_updateStarRefProgram = 0x778b5ab3 CRC_bots_setCustomVerification = 0x8b89dfbd CRC_bots_getBotRecommendations = 0xa1b70815 CRC_payments_getPaymentForm = 0x37148dbb CRC_payments_getPaymentReceipt = 0x2478d1cc CRC_payments_validateRequestedInfo = 0xb6c8f12b CRC_payments_sendPaymentForm = 0x2d03522f CRC_payments_getSavedInfo = 0x227d824b CRC_payments_clearSavedInfo = 0xd83d70c1 CRC_payments_getBankCardData = 0x2e79d779 CRC_payments_exportInvoice = 0x0f91b065 CRC_payments_assignAppStoreTransaction = 0x80ed747d CRC_payments_assignPlayMarketTransaction = 0xdffd50d3 CRC_payments_getPremiumGiftCodeOptions = 0x2757ba54 CRC_payments_checkGiftCode = 0x8e51b4c1 CRC_payments_applyGiftCode = 0xf6e26854 CRC_payments_getGiveawayInfo = 0xf4239425 CRC_payments_launchPrepaidGiveaway = 0x5ff58f20 CRC_payments_getStarsTopupOptions = 0xc00ec7d3 CRC_payments_getStarsStatus = 0x4ea9b3bf CRC_payments_getStarsTransactions = 0x69da4557 CRC_payments_sendStarsForm = 0x7998c914 CRC_payments_refundStarsCharge = 0x25ae8f4a CRC_payments_getStarsRevenueStats = 0xd91ffad6 CRC_payments_getStarsRevenueWithdrawalURL = 0x2433dc92 CRC_payments_getStarsRevenueAdsAccountURL = 0xd1d7efc5 CRC_payments_getStarsTransactionsByID = 0x2dca16b8 CRC_payments_getStarsGiftOptions = 0xd3c96bc8 CRC_payments_getStarsSubscriptions = 0x032512c5 CRC_payments_changeStarsSubscription = 0xc7770878 CRC_payments_fulfillStarsSubscription = 0xcc5bebb3 CRC_payments_getStarsGiveawayOptions = 0xbd1efd3e CRC_payments_getStarGifts = 0xc4563590 CRC_payments_saveStarGift = 0x2a2a697c CRC_payments_convertStarGift = 0x74bf076b CRC_payments_botCancelStarsSubscription = 0x6dfa0622 CRC_payments_getConnectedStarRefBots = 0x5869a553 CRC_payments_getConnectedStarRefBot = 0xb7d998f0 CRC_payments_getSuggestedStarRefBots = 0x0d6b48f7 CRC_payments_connectStarRefBot = 0x7ed5348a CRC_payments_editConnectedStarRefBot = 0xe4fca4a3 CRC_payments_getStarGiftUpgradePreview = 0x9c9abcb1 CRC_payments_upgradeStarGift = 0xaed6e4f5 CRC_payments_transferStarGift = 0x7f18176a CRC_payments_getUniqueStarGift = 0xa1974d72 CRC_payments_getSavedStarGifts = 0xa319e569 CRC_payments_getSavedStarGift = 0xb455a106 CRC_payments_getStarGiftWithdrawalURL = 0xd06e93a8 CRC_payments_toggleChatStarGiftNotifications = 0x60eaefa1 CRC_payments_toggleStarGiftsPinnedToTop = 0x1513e7b0 CRC_payments_canPurchaseStore = 0x4fdc5ea7 CRC_payments_getResaleStarGifts = 0x7a5fa236 CRC_payments_updateStarGiftPrice = 0xedbe6ccb CRC_payments_createStarGiftCollection = 0x1f4a0e87 CRC_payments_updateStarGiftCollection = 0x4fddbee7 CRC_payments_reorderStarGiftCollections = 0xc32af4cc CRC_payments_deleteStarGiftCollection = 0xad5648e8 CRC_payments_getStarGiftCollections = 0x981b91dd CRC_payments_getUniqueStarGiftValueInfo = 0x4365af6b CRC_payments_checkCanSendGift = 0xc0c4edc9 CRC_payments_getStarGiftAuctionState = 0x5c9ff4d6 CRC_payments_getStarGiftAuctionAcquiredGifts = 0x6ba2cbec CRC_payments_getStarGiftActiveAuctions = 0xa5d0514d CRC_payments_resolveStarGiftOffer = 0xe9ce781c CRC_payments_sendStarGiftOffer = 0x8fb86b41 CRC_payments_getStarGiftUpgradeAttributes = 0x6d038b58 CRC_stickers_createStickerSet = 0x9021ab67 CRC_stickers_removeStickerFromSet = 0xf7760f51 CRC_stickers_changeStickerPosition = 0xffb6d4ca CRC_stickers_addStickerToSet = 0x8653febe CRC_stickers_setStickerSetThumb = 0xa76a5392 CRC_stickers_checkShortName = 0x284b3639 CRC_stickers_suggestShortName = 0x4dafc503 CRC_stickers_changeSticker = 0xf5537ebc CRC_stickers_renameStickerSet = 0x124b1c00 CRC_stickers_deleteStickerSet = 0x87704394 CRC_stickers_replaceSticker = 0x4696459a CRC_phone_getCallConfig = 0x55451fa9 CRC_phone_requestCall = 0x42ff96ed CRC_phone_acceptCall = 0x3bd2b4a0 CRC_phone_confirmCall = 0x2efe1722 CRC_phone_receivedCall = 0x17d54f61 CRC_phone_discardCall = 0xb2cbc1c0 CRC_phone_setCallRating = 0x59ead627 CRC_phone_saveCallDebug = 0x277add7e CRC_phone_sendSignalingData = 0xff7a9383 CRC_phone_createGroupCall = 0x48cdc6d8 CRC_phone_joinGroupCall = 0x8fb53057 CRC_phone_leaveGroupCall = 0x500377f9 CRC_phone_inviteToGroupCall = 0x7b393160 CRC_phone_discardGroupCall = 0x7a777135 CRC_phone_toggleGroupCallSettings = 0x974392f2 CRC_phone_getGroupCall = 0x041845db CRC_phone_getGroupParticipants = 0xc558d8ab CRC_phone_checkGroupCall = 0xb59cf977 CRC_phone_toggleGroupCallRecord = 0xf128c708 CRC_phone_editGroupCallParticipant = 0xa5273abf CRC_phone_editGroupCallTitle = 0x1ca6ac0a CRC_phone_getGroupCallJoinAs = 0xef7c213a CRC_phone_exportGroupCallInvite = 0xe6aa647f CRC_phone_toggleGroupCallStartSubscription = 0x219c34e6 CRC_phone_startScheduledGroupCall = 0x5680e342 CRC_phone_saveDefaultGroupCallJoinAs = 0x575e1f8c CRC_phone_joinGroupCallPresentation = 0xcbea6bc4 CRC_phone_leaveGroupCallPresentation = 0x1c50d144 CRC_phone_getGroupCallStreamChannels = 0x1ab21940 CRC_phone_getGroupCallStreamRTMPURL = 0x5af4c73a CRC_phone_saveCallLog = 0x41248786 CRC_phone_createConferenceCall = 0x7d0444bb CRC_phone_deleteConferenceCallParticipants = 0x8ca60525 CRC_phone_sendConferenceCallBroadcast = 0xc6701900 CRC_phone_inviteConferenceCallParticipant = 0xbcf22685 CRC_phone_declineConferenceCallInvite = 0x3c479971 CRC_phone_getGroupCallChainBlocks = 0xee9f88a6 CRC_phone_sendGroupCallMessage = 0xb1d11410 CRC_phone_sendGroupCallEncryptedMessage = 0xe5afa56d CRC_phone_deleteGroupCallMessages = 0xf64f54f7 CRC_phone_deleteGroupCallParticipantMessages = 0x1dbfeca0 CRC_phone_getGroupCallStars = 0x6f636302 CRC_phone_saveDefaultSendAs = 0x4167add1 CRC_langpack_getLangPack = 0xf2f2330a CRC_langpack_getStrings = 0xefea3803 CRC_langpack_getDifference = 0xcd984aa5 CRC_langpack_getLanguages = 0x42c6978f CRC_langpack_getLanguage = 0x6a596502 CRC_folders_editPeerFolders = 0x6847d0ab CRC_stats_getBroadcastStats = 0xab42441a CRC_stats_loadAsyncGraph = 0x621d5fa0 CRC_stats_getMegagroupStats = 0xdcdf8607 CRC_stats_getMessagePublicForwards = 0x5f150144 CRC_stats_getMessageStats = 0xb6e0a3f5 CRC_stats_getStoryStats = 0x374fef40 CRC_stats_getStoryPublicForwards = 0xa6437ef6 CRC_chatlists_exportChatlistInvite = 0x8472478e CRC_chatlists_deleteExportedInvite = 0x719c5c5e CRC_chatlists_editExportedInvite = 0x653db63d CRC_chatlists_getExportedInvites = 0xce03da83 CRC_chatlists_checkChatlistInvite = 0x41c10fff CRC_chatlists_joinChatlistInvite = 0xa6b1e39a CRC_chatlists_getChatlistUpdates = 0x89419521 CRC_chatlists_joinChatlistUpdates = 0xe089f8f5 CRC_chatlists_hideChatlistUpdates = 0x66e486fb CRC_chatlists_getLeaveChatlistSuggestions = 0xfdbcd714 CRC_chatlists_leaveChatlist = 0x74fae13a CRC_stories_canSendStory = 0x30eb63f0 CRC_stories_sendStory = 0x737fc2ec CRC_stories_editStory = 0xb583ba46 CRC_stories_deleteStories = 0xae59db5f CRC_stories_togglePinned = 0x9a75a1ef CRC_stories_getAllStories = 0xeeb0d625 CRC_stories_getPinnedStories = 0x5821a5dc CRC_stories_getStoriesArchive = 0xb4352016 CRC_stories_getStoriesByID = 0x5774ca74 CRC_stories_toggleAllStoriesHidden = 0x7c2557c4 CRC_stories_readStories = 0xa556dac8 CRC_stories_incrementStoryViews = 0xb2028afb CRC_stories_getStoryViewsList = 0x7ed23c57 CRC_stories_getStoriesViews = 0x28e16cc8 CRC_stories_exportStoryLink = 0x7b8def20 CRC_stories_report = 0x19d8eb45 CRC_stories_activateStealthMode = 0x57bbd166 CRC_stories_sendReaction = 0x7fd736b2 CRC_stories_getPeerStories = 0x2c4ada50 CRC_stories_getAllReadPeerStories = 0x9b5ae7f9 CRC_stories_getPeerMaxIDs = 0x78499170 CRC_stories_getChatsToSend = 0xa56a8b60 CRC_stories_togglePeerStoriesHidden = 0xbd0415c4 CRC_stories_getStoryReactionsList = 0xb9b2881f CRC_stories_togglePinnedToTop = 0x0b297e9b CRC_stories_searchPosts = 0xd1810907 CRC_stories_createAlbum = 0xa36396e5 CRC_stories_updateAlbum = 0x5e5259b6 CRC_stories_reorderAlbums = 0x8535fbd9 CRC_stories_deleteAlbum = 0x8d3456d0 CRC_stories_getAlbums = 0x25b3eac7 CRC_stories_getAlbumStories = 0xac806d61 CRC_stories_startLive = 0xd069ccde CRC_smsjobs_isEligibleToJoin = 0x0edc39d0 CRC_smsjobs_join = 0xa74ece2d CRC_smsjobs_leave = 0x9898ad73 CRC_smsjobs_updateSettings = 0x093fa0bf CRC_smsjobs_getStatus = 0x10a698e8 CRC_smsjobs_getSMSJob = 0x778d902f CRC_smsjobs_finishJob = 0x4f1ebf24 CRC_fragment_getCollectibleInfo = 0xbe1e85ba )
const ErrorBufStackKey = "mtproto_decode_err_buf_stack"
const FloodPremiumWaitErrPerfix = "FLOOD_PREMIUM_WAIT_"
const FloodWaitErrPerfix = "FLOOD_WAIT_"
const ROUTINES_COUNT = 5
Variables ¶
var ErrNoSessionData = merry.Sentinel("no session data")
Functions ¶
func DecodeBuf_GenericObject ¶ added in v0.166.2
func DecodeBuf_GenericVector ¶ added in v0.166.2
func EncodeBuf_GenericVector ¶ added in v0.166.2
func IsClosedConnErr ¶
func IsErrorType ¶
func IsWrongClientTimeError ¶ added in v0.181.1
https://core.telegram.org/mtproto/service_messages_about_messages#notice-of-ignored-error-message
func UnexpectedTL ¶
func UnwrapWrongRespError ¶ added in v0.181.1
func WrongRespError ¶
Types ¶
type AuthDataProvider ¶
type ColorLogHandler ¶
type ColorLogHandler struct {
SimpleLogHandler
StdLogger *log.Logger
}
ColorLogHandler adds log line colors depending on severity level
func NewColorLogHandler ¶
func NewColorLogHandler() *ColorLogHandler
func (ColorLogHandler) AddLevelColor ¶
func (h ColorLogHandler) AddLevelColor(level LogLevel, text string) string
type DecodeBuf ¶
type DecodeBuf struct {
// contains filtered or unexported fields
}
func NewDecodeBuf ¶
func (*DecodeBuf) ObjectGenerated ¶
func (*DecodeBuf) RemainingLen ¶ added in v0.167.2
func (*DecodeBuf) StringBytes ¶
func (*DecodeBuf) VectorBytes ¶
func (*DecodeBuf) VectorLong ¶
func (*DecodeBuf) VectorString ¶
type EncodeBuf ¶
type EncodeBuf struct {
// contains filtered or unexported fields
}
func NewEncodeBuf ¶
func (*EncodeBuf) StringBytes ¶
func (*EncodeBuf) VectorBytes ¶
func (*EncodeBuf) VectorLong ¶
func (*EncodeBuf) VectorString ¶
type LogHandler ¶
type Logger ¶
type Logger struct {
Hnd LogHandler
}
type MTParams ¶
type MTParams struct {
LogHandler LogHandler
AppID int32
AppHash string
AppConfig *AppConfig
ConnDialer proxy.Dialer
SessStore SessionStore
Session *SessionInfo
TimeOffset time.Duration
}
type MTProto ¶
type MTProto struct {
// contains filtered or unexported fields
}
func NewMTProto ¶
func NewMTProtoExt ¶
func (*MTProto) Auth ¶
func (m *MTProto) Auth(authData AuthDataProvider) error
func (*MTProto) CopySession ¶
func (m *MTProto) CopySession() *SessionInfo
func (*MTProto) Disconnect ¶
func (*MTProto) GetContacts ¶
GetContacts prints account contacts as a table. For demonstration/debuging purposes.
func (*MTProto) InitSessAndConnect ¶
func (*MTProto) InitSession ¶
func (*MTProto) SaveSessionLogged ¶
func (m *MTProto) SaveSessionLogged()
func (*MTProto) SendSyncRetry ¶
func (*MTProto) SetEventsHandler ¶
func (*MTProto) SetReconnectionHandler ¶
type NoopLogHandler ¶
type NoopLogHandler struct{}
type ScanfAuthDataProvider ¶
type ScanfAuthDataProvider struct{}
func (ScanfAuthDataProvider) Code ¶
func (ap ScanfAuthDataProvider) Code() (string, error)
func (ScanfAuthDataProvider) Password ¶
func (ap ScanfAuthDataProvider) Password() (string, error)
func (ScanfAuthDataProvider) PhoneNumber ¶
func (ap ScanfAuthDataProvider) PhoneNumber() (string, error)
type SessFileStore ¶
type SessFileStore struct {
FPath string
}
func (*SessFileStore) Load ¶
func (s *SessFileStore) Load(sess *SessionInfo) error
func (*SessFileStore) Save ¶
func (s *SessFileStore) Save(sess *SessionInfo) (err error)
type SessFileStoreExt ¶
type SessFileStoreExt struct {
SessFileStore
RequirePresent bool // Session file must be already present
IgnoreUnreadable bool // Session file can be unreadable and will be overwritten, if unreadable and writeable
}
func (*SessFileStoreExt) Load ¶
func (s *SessFileStoreExt) Load(sess *SessionInfo) error
type SessNoopStore ¶
type SessNoopStore struct{}
func (*SessNoopStore) Load ¶
func (s *SessNoopStore) Load(sess *SessionInfo) error
func (*SessNoopStore) Save ¶
func (s *SessNoopStore) Save(sess *SessionInfo) error
type SessionInfo ¶
type SessionStore ¶
type SessionStore interface {
Save(*SessionInfo) error
Load(*SessionInfo) error
}
type SimpleLogHandler ¶
type SimpleLogHandler struct{}
func (SimpleLogHandler) AddLevelPrevix ¶
func (h SimpleLogHandler) AddLevelPrevix(level LogLevel, text string) string
func (SimpleLogHandler) Log ¶
func (h SimpleLogHandler) Log(level LogLevel, err error, msg string, args ...interface{})
func (SimpleLogHandler) Message ¶
func (h SimpleLogHandler) Message(isIncoming bool, msg TL, id int64)
func (SimpleLogHandler) StringifyLog ¶
func (h SimpleLogHandler) StringifyLog(level LogLevel, err error, msg string, args ...interface{}) string
func (SimpleLogHandler) StringifyMessage ¶
func (h SimpleLogHandler) StringifyMessage(isIncoming bool, msg TL, id int64) string
func (SimpleLogHandler) TLName ¶
func (h SimpleLogHandler) TLName(obj interface{}) string
type TL_accessPointRule ¶
type TL_accessPointRule struct {
PhonePrefixRules string
DCID int32
IPs []TL // IpPort: TL_ipPort | TL_ipPortSecret
}
Constructs AccessPointRule
type TL_account_acceptAuthorization ¶
type TL_account_acceptAuthorization struct {
BotID int64
Scope string
PublicKey string
ValueHashes []TL_secureValueHash
Credentials TL_secureCredentialsEncrypted
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_authorizationForm ¶
type TL_account_authorizationForm struct {
}
Constructs account.AuthorizationForm
type TL_account_authorizations ¶
type TL_account_authorizations struct {
}
Constructs account.Authorizations
type TL_account_autoDownloadSettings ¶
type TL_account_autoDownloadSettings struct {
Low TL_autoDownloadSettings
Medium TL_autoDownloadSettings
High TL_autoDownloadSettings
}
Constructs account.AutoDownloadSettings
type TL_account_autoSaveSettings ¶
type TL_account_autoSaveSettings struct {
UsersSettings TL_autoSaveSettings
ChatsSettings TL_autoSaveSettings
BroadcastsSettings TL_autoSaveSettings
Exceptions []TL_autoSaveException
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs account.AutoSaveSettings
type TL_account_businessChatLinks ¶ added in v0.181.0
type TL_account_businessChatLinks struct {
Links []TL_businessChatLink
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs account.BusinessChatLinks
type TL_account_cancelPasswordEmail ¶
type TL_account_cancelPasswordEmail struct {
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_changeAuthorizationSettings ¶
type TL_account_changeAuthorizationSettings struct {
Confirmed bool
Hash int64
EncryptedRequestsDisabled *bool // (optional)
CallRequestsDisabled *bool // (optional)
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_changePhone ¶
Returns User: TL_userEmpty | TL_user
type TL_account_chatThemes ¶ added in v0.218.0
type TL_account_chatThemes struct {
Hash int64
Themes []TL // ChatTheme: TL_chatTheme | TL_chatThemeUniqueGift
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
NextOffset *string // (optional)
}
Constructs account.ChatThemes
type TL_account_chatThemesNotModified ¶ added in v0.218.0
type TL_account_chatThemesNotModified struct {
}
Constructs account.ChatThemes
type TL_account_checkUsername ¶
type TL_account_checkUsername struct {
Username string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_clearRecentEmojiStatuses ¶
type TL_account_clearRecentEmojiStatuses struct {
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_confirmPasswordEmail ¶
type TL_account_confirmPasswordEmail struct {
Code string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_confirmPhone ¶
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_connectedBots ¶ added in v0.181.0
type TL_account_connectedBots struct {
ConnectedBots []TL_connectedBot
Users []TL // User: TL_userEmpty | TL_user
}
Constructs account.ConnectedBots
type TL_account_contentSettings ¶
Constructs account.ContentSettings
type TL_account_createBusinessChatLink ¶ added in v0.181.0
type TL_account_createBusinessChatLink struct {
Link TL_inputBusinessChatLink
}
Returns BusinessChatLink: TL_businessChatLink
type TL_account_createTheme ¶
type TL_account_createTheme struct {
Slug string
Title string
Document TL // (optional) InputDocument: TL_inputDocumentEmpty | TL_inputDocument
Settings []TL_inputThemeSettings // (optional)
}
Returns Theme: TL_theme
type TL_account_declinePasswordReset ¶
type TL_account_declinePasswordReset struct {
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_deleteAccount ¶
type TL_account_deleteAccount struct {
Reason string
Password TL // (optional) InputCheckPasswordSRP: TL_inputCheckPasswordEmpty | TL_inputCheckPasswordSRP
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_deleteAutoSaveExceptions ¶
type TL_account_deleteAutoSaveExceptions struct {
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_deleteBusinessChatLink ¶ added in v0.181.0
type TL_account_deleteBusinessChatLink struct {
Slug string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_deletePasskey ¶ added in v0.220.0
type TL_account_deletePasskey struct {
ID string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_deleteSecureValue ¶
type TL_account_deleteSecureValue struct {
Types []TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_disablePeerConnectedBot ¶ added in v0.181.0
type TL_account_disablePeerConnectedBot struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_editBusinessChatLink ¶ added in v0.181.0
type TL_account_editBusinessChatLink struct {
Slug string
Link TL_inputBusinessChatLink
}
Returns BusinessChatLink: TL_businessChatLink
type TL_account_emailVerified ¶
type TL_account_emailVerified struct {
Email string
}
Constructs account.EmailVerified
type TL_account_emailVerifiedLogin ¶
type TL_account_emailVerifiedLogin struct {
Email string
SentCode TL // auth.SentCode: TL_auth_sentCode | TL_auth_sentCodeSuccess | TL_auth_sentCodePaymentRequired
}
Constructs account.EmailVerified
type TL_account_emojiStatuses ¶
type TL_account_emojiStatuses struct {
Hash int64
Statuses []TL // EmojiStatus: TL_emojiStatusEmpty | TL_emojiStatus | TL_emojiStatusCollectible | TL_inputEmojiStatusCollectible
}
Constructs account.EmojiStatuses
type TL_account_emojiStatusesNotModified ¶
type TL_account_emojiStatusesNotModified struct {
}
Constructs account.EmojiStatuses
type TL_account_finishTakeoutSession ¶
type TL_account_finishTakeoutSession struct {
Success bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_getAccountTTL ¶
type TL_account_getAccountTTL struct {
}
Returns AccountDaysTTL: TL_accountDaysTTL
type TL_account_getAllSecureValues ¶
type TL_account_getAllSecureValues struct {
}
Returns Vector<SecureValue>: TL_secureValue
type TL_account_getAuthorizationForm ¶
Returns account.AuthorizationForm: TL_account_authorizationForm
type TL_account_getAuthorizations ¶
type TL_account_getAuthorizations struct {
}
Returns account.Authorizations: TL_account_authorizations
type TL_account_getAutoDownloadSettings ¶
type TL_account_getAutoDownloadSettings struct {
}
Returns account.AutoDownloadSettings: TL_account_autoDownloadSettings
type TL_account_getAutoSaveSettings ¶
type TL_account_getAutoSaveSettings struct {
}
Returns account.AutoSaveSettings: TL_account_autoSaveSettings
type TL_account_getBotBusinessConnection ¶ added in v0.181.0
type TL_account_getBotBusinessConnection struct {
ConnectionID string
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_account_getBusinessChatLinks ¶ added in v0.181.0
type TL_account_getBusinessChatLinks struct {
}
Returns account.BusinessChatLinks: TL_account_businessChatLinks
type TL_account_getChannelDefaultEmojiStatuses ¶ added in v0.181.0
type TL_account_getChannelDefaultEmojiStatuses struct {
Hash int64
}
Returns account.EmojiStatuses: TL_account_emojiStatusesNotModified | TL_account_emojiStatuses
type TL_account_getChannelRestrictedStatusEmojis ¶ added in v0.181.0
type TL_account_getChannelRestrictedStatusEmojis struct {
Hash int64
}
Returns EmojiList: TL_emojiListNotModified | TL_emojiList
type TL_account_getChatThemes ¶
type TL_account_getChatThemes struct {
Hash int64
}
Returns account.Themes: TL_account_themesNotModified | TL_account_themes
type TL_account_getCollectibleEmojiStatuses ¶ added in v0.218.0
type TL_account_getCollectibleEmojiStatuses struct {
Hash int64
}
Returns account.EmojiStatuses: TL_account_emojiStatusesNotModified | TL_account_emojiStatuses
type TL_account_getConnectedBots ¶ added in v0.181.0
type TL_account_getConnectedBots struct {
}
Returns account.ConnectedBots: TL_account_connectedBots
type TL_account_getContactSignUpNotification ¶
type TL_account_getContactSignUpNotification struct {
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_getContentSettings ¶
type TL_account_getContentSettings struct {
}
Returns account.ContentSettings: TL_account_contentSettings
type TL_account_getDefaultBackgroundEmojis ¶ added in v0.166.0
type TL_account_getDefaultBackgroundEmojis struct {
Hash int64
}
Returns EmojiList: TL_emojiListNotModified | TL_emojiList
type TL_account_getDefaultEmojiStatuses ¶
type TL_account_getDefaultEmojiStatuses struct {
Hash int64
}
Returns account.EmojiStatuses: TL_account_emojiStatusesNotModified | TL_account_emojiStatuses
type TL_account_getDefaultGroupPhotoEmojis ¶
type TL_account_getDefaultGroupPhotoEmojis struct {
Hash int64
}
Returns EmojiList: TL_emojiListNotModified | TL_emojiList
type TL_account_getDefaultProfilePhotoEmojis ¶
type TL_account_getDefaultProfilePhotoEmojis struct {
Hash int64
}
Returns EmojiList: TL_emojiListNotModified | TL_emojiList
type TL_account_getGlobalPrivacySettings ¶
type TL_account_getGlobalPrivacySettings struct {
}
Returns GlobalPrivacySettings: TL_globalPrivacySettings
type TL_account_getMultiWallPapers ¶
type TL_account_getMultiWallPapers struct {
Wallpapers []TL // InputWallPaper: TL_inputWallPaper | TL_inputWallPaperSlug | TL_inputWallPaperNoFile
}
Returns Vector<WallPaper>: TL_wallPaper | TL_wallPaperNoFile
type TL_account_getNotifyExceptions ¶
type TL_account_getNotifyExceptions struct {
CompareSound bool
CompareStories bool
Peer TL // (optional) InputNotifyPeer: TL_inputNotifyPeer | TL_inputNotifyUsers | TL_inputNotifyChats | TL_inputNotifyBroadcasts | TL_inputNotifyForumTopic
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_account_getNotifySettings ¶
type TL_account_getNotifySettings struct {
Peer TL // InputNotifyPeer: TL_inputNotifyPeer | TL_inputNotifyUsers | TL_inputNotifyChats | TL_inputNotifyBroadcasts | TL_inputNotifyForumTopic
}
Returns PeerNotifySettings: TL_peerNotifySettings
type TL_account_getPaidMessagesRevenue ¶ added in v0.218.0
type TL_account_getPaidMessagesRevenue struct {
ParentPeer TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns account.PaidMessagesRevenue: TL_account_paidMessagesRevenue
type TL_account_getPasskeys ¶ added in v0.220.0
type TL_account_getPasskeys struct {
}
Returns account.Passkeys: TL_account_passkeys
type TL_account_getPassword ¶
type TL_account_getPassword struct {
}
Returns account.Password: TL_account_password
type TL_account_getPasswordSettings ¶
type TL_account_getPasswordSettings struct {
Password TL // InputCheckPasswordSRP: TL_inputCheckPasswordEmpty | TL_inputCheckPasswordSRP
}
Returns account.PasswordSettings: TL_account_passwordSettings
type TL_account_getPrivacy ¶
type TL_account_getPrivacy struct {
Key TL // InputPrivacyKey: TL_inputPrivacyKeyStatusTimestamp | TL_inputPrivacyKeyChatInvite | TL_inputPrivacyKeyPhoneCall | TL_inputPrivacyKeyPhoneP2P | TL_inputPrivacyKeyForwards | TL_inputPrivacyKeyProfilePhoto | TL_inputPrivacyKeyPhoneNumber | TL_inputPrivacyKeyAddedByPhone | TL_inputPrivacyKeyVoiceMessages | TL_inputPrivacyKeyAbout | TL_inputPrivacyKeyBirthday | TL_inputPrivacyKeyStarGiftsAutoSave | TL_inputPrivacyKeyNoPaidMessages | TL_inputPrivacyKeySavedMusic
}
Returns account.PrivacyRules: TL_account_privacyRules
type TL_account_getReactionsNotifySettings ¶ added in v0.181.0
type TL_account_getReactionsNotifySettings struct {
}
Returns ReactionsNotifySettings: TL_reactionsNotifySettings
type TL_account_getRecentEmojiStatuses ¶
type TL_account_getRecentEmojiStatuses struct {
Hash int64
}
Returns account.EmojiStatuses: TL_account_emojiStatusesNotModified | TL_account_emojiStatuses
type TL_account_getSavedMusicIDs ¶ added in v0.218.0
type TL_account_getSavedMusicIDs struct {
Hash int64
}
Returns account.SavedMusicIds: TL_account_savedMusicIDsNotModified | TL_account_savedMusicIDs
type TL_account_getSavedRingtones ¶
type TL_account_getSavedRingtones struct {
Hash int64
}
Returns account.SavedRingtones: TL_account_savedRingtonesNotModified | TL_account_savedRingtones
type TL_account_getSecureValue ¶
type TL_account_getSecureValue struct {
Types []TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
}
Returns Vector<SecureValue>: TL_secureValue
type TL_account_getTheme ¶
type TL_account_getTheme struct {
Format string
Theme TL // InputTheme: TL_inputTheme | TL_inputThemeSlug
}
Returns Theme: TL_theme
type TL_account_getThemes ¶
Returns account.Themes: TL_account_themesNotModified | TL_account_themes
type TL_account_getTmpPassword ¶
type TL_account_getTmpPassword struct {
Password TL // InputCheckPasswordSRP: TL_inputCheckPasswordEmpty | TL_inputCheckPasswordSRP
Period int32
}
Returns account.TmpPassword: TL_account_tmpPassword
type TL_account_getUniqueGiftChatThemes ¶ added in v0.218.0
Returns account.ChatThemes: TL_account_chatThemesNotModified | TL_account_chatThemes
type TL_account_getWallPaper ¶
type TL_account_getWallPaper struct {
Wallpaper TL // InputWallPaper: TL_inputWallPaper | TL_inputWallPaperSlug | TL_inputWallPaperNoFile
}
Returns WallPaper: TL_wallPaper | TL_wallPaperNoFile
type TL_account_getWallPapers ¶
type TL_account_getWallPapers struct {
Hash int64
}
Returns account.WallPapers: TL_account_wallPapersNotModified | TL_account_wallPapers
type TL_account_getWebAuthorizations ¶
type TL_account_getWebAuthorizations struct {
}
Returns account.WebAuthorizations: TL_account_webAuthorizations
type TL_account_initPasskeyRegistration ¶ added in v0.220.0
type TL_account_initPasskeyRegistration struct {
}
Returns account.PasskeyRegistrationOptions: TL_account_passkeyRegistrationOptions
type TL_account_initTakeoutSession ¶
type TL_account_initTakeoutSession struct {
Contacts bool
MessageUsers bool
MessageChats bool
MessageMegagroups bool
MessageChannels bool
Files bool
FileMaxSize *int64 // (optional)
}
Returns account.Takeout: TL_account_takeout
type TL_account_installTheme ¶
type TL_account_installTheme struct {
Dark bool
Theme TL // (optional) InputTheme: TL_inputTheme | TL_inputThemeSlug
Format *string // (optional)
BaseTheme TL // (optional) BaseTheme: TL_baseThemeClassic | TL_baseThemeDay | TL_baseThemeNight | TL_baseThemeTinted | TL_baseThemeArctic
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_installWallPaper ¶
type TL_account_installWallPaper struct {
Wallpaper TL // InputWallPaper: TL_inputWallPaper | TL_inputWallPaperSlug | TL_inputWallPaperNoFile
Settings TL_wallPaperSettings
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_invalidateSignInCodes ¶ added in v0.166.0
type TL_account_invalidateSignInCodes struct {
Codes []string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_paidMessagesRevenue ¶ added in v0.218.0
type TL_account_paidMessagesRevenue struct {
StarsAmount int64
}
Constructs account.PaidMessagesRevenue
type TL_account_passkeyRegistrationOptions ¶ added in v0.220.0
type TL_account_passkeyRegistrationOptions struct {
Options TL_dataJSON
}
Constructs account.PasskeyRegistrationOptions
type TL_account_passkeys ¶ added in v0.220.0
type TL_account_passkeys struct {
Passkeys []TL_passkey
}
Constructs account.Passkeys
type TL_account_password ¶
type TL_account_password struct {
HasRecovery bool
HasSecureValues bool
HasPassword bool
CurrentAlgo TL // (optional) PasswordKdfAlgo: TL_passwordKDFAlgoUnknown | TL_passwordKDFAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow
SrpB []byte // (optional)
SrpID *int64 // (optional)
Hint *string // (optional)
EmailUnconfirmedPattern *string // (optional)
NewAlgo TL // PasswordKdfAlgo: TL_passwordKDFAlgoUnknown | TL_passwordKDFAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow
NewSecureAlgo TL // SecurePasswordKdfAlgo: TL_securePasswordKDFAlgoUnknown | TL_securePasswordKDFAlgoPBKDF2HMACSHA512iter100000 | TL_securePasswordKDFAlgoSHA512
SecureRandom []byte
PendingResetDate *int32 // (optional)
LoginEmailPattern *string // (optional)
}
Constructs account.Password
type TL_account_passwordInputSettings ¶
type TL_account_passwordInputSettings struct {
NewAlgo TL // (optional) PasswordKdfAlgo: TL_passwordKDFAlgoUnknown | TL_passwordKDFAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow
NewPasswordHash []byte // (optional)
Hint *string // (optional)
Email *string // (optional)
NewSecureSettings *TL_secureSecretSettings // (optional)
}
Constructs account.PasswordInputSettings
type TL_account_passwordSettings ¶
type TL_account_passwordSettings struct {
Email *string // (optional)
SecureSettings *TL_secureSecretSettings // (optional)
}
Constructs account.PasswordSettings
type TL_account_privacyRules ¶
type TL_account_privacyRules struct {
Rules []TL // PrivacyRule: TL_privacyValueAllowContacts | TL_privacyValueAllowAll | TL_privacyValueAllowUsers | TL_privacyValueDisallowContacts | TL_privacyValueDisallowAll | TL_privacyValueDisallowUsers | TL_privacyValueAllowChatParticipants | TL_privacyValueDisallowChatParticipants | TL_privacyValueAllowCloseFriends | TL_privacyValueAllowPremium | TL_privacyValueAllowBots | TL_privacyValueDisallowBots
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs account.PrivacyRules
type TL_account_registerDevice ¶
type TL_account_registerDevice struct {
NoMuted bool
TokenType int32
Token string
AppSandbox bool
Secret []byte
OtherUIDs []int64
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_registerPasskey ¶ added in v0.220.0
type TL_account_registerPasskey struct {
Credential TL_inputPasskeyCredentialPublicKey
}
Returns Passkey: TL_passkey
type TL_account_reorderUsernames ¶
type TL_account_reorderUsernames struct {
Order []string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_reportPeer ¶
type TL_account_reportPeer struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Reason TL // ReportReason: TL_inputReportReasonSpam | TL_inputReportReasonViolence | TL_inputReportReasonPornography | TL_inputReportReasonChildAbuse | TL_inputReportReasonOther | TL_inputReportReasonCopyright | TL_inputReportReasonGeoIrrelevant | TL_inputReportReasonFake | TL_inputReportReasonIllegalDrugs | TL_inputReportReasonPersonalDetails
Message string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_reportProfilePhoto ¶
type TL_account_reportProfilePhoto struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
PhotoID TL // InputPhoto: TL_inputPhotoEmpty | TL_inputPhoto
Reason TL // ReportReason: TL_inputReportReasonSpam | TL_inputReportReasonViolence | TL_inputReportReasonPornography | TL_inputReportReasonChildAbuse | TL_inputReportReasonOther | TL_inputReportReasonCopyright | TL_inputReportReasonGeoIrrelevant | TL_inputReportReasonFake | TL_inputReportReasonIllegalDrugs | TL_inputReportReasonPersonalDetails
Message string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_resendPasswordEmail ¶
type TL_account_resendPasswordEmail struct {
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_resetAuthorization ¶
type TL_account_resetAuthorization struct {
Hash int64
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_resetNotifySettings ¶
type TL_account_resetNotifySettings struct {
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_resetPassword ¶
type TL_account_resetPassword struct {
}
Returns account.ResetPasswordResult: TL_account_resetPasswordFailedWait | TL_account_resetPasswordRequestedWait | TL_account_resetPasswordOK
type TL_account_resetPasswordFailedWait ¶
type TL_account_resetPasswordFailedWait struct {
RetryDate int32
}
Constructs account.ResetPasswordResult
type TL_account_resetPasswordOK ¶ added in v0.166.2
type TL_account_resetPasswordOK struct {
}
Constructs account.ResetPasswordResult
type TL_account_resetPasswordRequestedWait ¶
type TL_account_resetPasswordRequestedWait struct {
UntilDate int32
}
Constructs account.ResetPasswordResult
type TL_account_resetWallPapers ¶
type TL_account_resetWallPapers struct {
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_resetWebAuthorization ¶
type TL_account_resetWebAuthorization struct {
Hash int64
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_resetWebAuthorizations ¶
type TL_account_resetWebAuthorizations struct {
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_resolveBusinessChatLink ¶ added in v0.181.0
type TL_account_resolveBusinessChatLink struct {
Slug string
}
Returns account.ResolvedBusinessChatLinks: TL_account_resolvedBusinessChatLinks
type TL_account_resolvedBusinessChatLinks ¶ added in v0.181.0
type TL_account_resolvedBusinessChatLinks struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Message string
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs account.ResolvedBusinessChatLinks
type TL_account_saveAutoDownloadSettings ¶
type TL_account_saveAutoDownloadSettings struct {
Low bool
High bool
Settings TL_autoDownloadSettings
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_saveAutoSaveSettings ¶
type TL_account_saveAutoSaveSettings struct {
Users bool
Chats bool
Broadcasts bool
Peer TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Settings TL_autoSaveSettings
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_saveMusic ¶ added in v0.218.0
type TL_account_saveMusic struct {
Unsave bool
ID TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
AfterID TL // (optional) InputDocument: TL_inputDocumentEmpty | TL_inputDocument
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_saveRingtone ¶
type TL_account_saveRingtone struct {
ID TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
Unsave bool
}
Returns account.SavedRingtone: TL_account_savedRingtone | TL_account_savedRingtoneConverted
type TL_account_saveSecureValue ¶
type TL_account_saveSecureValue struct {
Value TL_inputSecureValue
SecureSecretID int64
}
Returns SecureValue: TL_secureValue
type TL_account_saveTheme ¶
type TL_account_saveTheme struct {
Theme TL // InputTheme: TL_inputTheme | TL_inputThemeSlug
Unsave bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_saveWallPaper ¶
type TL_account_saveWallPaper struct {
Wallpaper TL // InputWallPaper: TL_inputWallPaper | TL_inputWallPaperSlug | TL_inputWallPaperNoFile
Unsave bool
Settings TL_wallPaperSettings
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_savedMusicIDs ¶ added in v0.218.0
type TL_account_savedMusicIDs struct {
IDs []int64
}
Constructs account.SavedMusicIds
type TL_account_savedMusicIDsNotModified ¶ added in v0.218.0
type TL_account_savedMusicIDsNotModified struct {
}
Constructs account.SavedMusicIds
type TL_account_savedRingtone ¶
type TL_account_savedRingtone struct {
}
Constructs account.SavedRingtone
type TL_account_savedRingtoneConverted ¶
type TL_account_savedRingtoneConverted struct {
Document TL // Document: TL_documentEmpty | TL_document
}
Constructs account.SavedRingtone
type TL_account_savedRingtones ¶
type TL_account_savedRingtones struct {
Hash int64
Ringtones []TL // Document: TL_documentEmpty | TL_document
}
Constructs account.SavedRingtones
type TL_account_savedRingtonesNotModified ¶
type TL_account_savedRingtonesNotModified struct {
}
Constructs account.SavedRingtones
type TL_account_sendChangePhoneCode ¶
type TL_account_sendChangePhoneCode struct {
PhoneNumber string
Settings TL_codeSettings
}
Returns auth.SentCode: TL_auth_sentCode | TL_auth_sentCodeSuccess | TL_auth_sentCodePaymentRequired
type TL_account_sendConfirmPhoneCode ¶
type TL_account_sendConfirmPhoneCode struct {
Hash string
Settings TL_codeSettings
}
Returns auth.SentCode: TL_auth_sentCode | TL_auth_sentCodeSuccess | TL_auth_sentCodePaymentRequired
type TL_account_sendVerifyEmailCode ¶
type TL_account_sendVerifyEmailCode struct {
Purpose TL // EmailVerifyPurpose: TL_emailVerifyPurposeLoginSetup | TL_emailVerifyPurposeLoginChange | TL_emailVerifyPurposePassport
Email string
}
Returns account.SentEmailCode: TL_account_sentEmailCode
type TL_account_sendVerifyPhoneCode ¶
type TL_account_sendVerifyPhoneCode struct {
PhoneNumber string
Settings TL_codeSettings
}
Returns auth.SentCode: TL_auth_sentCode | TL_auth_sentCodeSuccess | TL_auth_sentCodePaymentRequired
type TL_account_sentEmailCode ¶
Constructs account.SentEmailCode
type TL_account_setAccountTTL ¶
type TL_account_setAccountTTL struct {
TTL TL_accountDaysTTL
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_setAuthorizationTTL ¶
type TL_account_setAuthorizationTTL struct {
AuthorizationTTLDays int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_setContactSignUpNotification ¶
type TL_account_setContactSignUpNotification struct {
Silent bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_setContentSettings ¶
type TL_account_setContentSettings struct {
SensitiveEnabled bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_setGlobalPrivacySettings ¶
type TL_account_setGlobalPrivacySettings struct {
Settings TL_globalPrivacySettings
}
Returns GlobalPrivacySettings: TL_globalPrivacySettings
type TL_account_setMainProfileTab ¶ added in v0.218.0
type TL_account_setMainProfileTab struct {
Tab TL // ProfileTab: TL_profileTabPosts | TL_profileTabGifts | TL_profileTabMedia | TL_profileTabFiles | TL_profileTabMusic | TL_profileTabVoice | TL_profileTabLinks | TL_profileTabGIFs
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_setPrivacy ¶
type TL_account_setPrivacy struct {
Key TL // InputPrivacyKey: TL_inputPrivacyKeyStatusTimestamp | TL_inputPrivacyKeyChatInvite | TL_inputPrivacyKeyPhoneCall | TL_inputPrivacyKeyPhoneP2P | TL_inputPrivacyKeyForwards | TL_inputPrivacyKeyProfilePhoto | TL_inputPrivacyKeyPhoneNumber | TL_inputPrivacyKeyAddedByPhone | TL_inputPrivacyKeyVoiceMessages | TL_inputPrivacyKeyAbout | TL_inputPrivacyKeyBirthday | TL_inputPrivacyKeyStarGiftsAutoSave | TL_inputPrivacyKeyNoPaidMessages | TL_inputPrivacyKeySavedMusic
Rules []TL // InputPrivacyRule: TL_inputPrivacyValueAllowContacts | TL_inputPrivacyValueAllowAll | TL_inputPrivacyValueAllowUsers | TL_inputPrivacyValueDisallowContacts | TL_inputPrivacyValueDisallowAll | TL_inputPrivacyValueDisallowUsers | TL_inputPrivacyValueAllowChatParticipants | TL_inputPrivacyValueDisallowChatParticipants | TL_inputPrivacyValueAllowCloseFriends | TL_inputPrivacyValueAllowPremium | TL_inputPrivacyValueAllowBots | TL_inputPrivacyValueDisallowBots
}
Returns account.PrivacyRules: TL_account_privacyRules
type TL_account_setReactionsNotifySettings ¶ added in v0.181.0
type TL_account_setReactionsNotifySettings struct {
Settings TL_reactionsNotifySettings
}
Returns ReactionsNotifySettings: TL_reactionsNotifySettings
type TL_account_themes ¶
Constructs account.Themes
type TL_account_themesNotModified ¶
type TL_account_themesNotModified struct {
}
Constructs account.Themes
type TL_account_tmpPassword ¶
Constructs account.TmpPassword
type TL_account_toggleConnectedBotPaused ¶ added in v0.181.0
type TL_account_toggleConnectedBotPaused struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Paused bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_toggleNoPaidMessagesException ¶ added in v0.218.0
type TL_account_toggleNoPaidMessagesException struct {
RefundCharged bool
RequirePayment bool
ParentPeer TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_toggleSponsoredMessages ¶ added in v0.181.0
type TL_account_toggleSponsoredMessages struct {
Enabled bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_toggleUsername ¶
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_unregisterDevice ¶
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_updateBirthday ¶ added in v0.181.0
type TL_account_updateBirthday struct {
Birthday *TL_birthday // (optional)
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_updateBusinessAwayMessage ¶ added in v0.181.0
type TL_account_updateBusinessAwayMessage struct {
Message *TL_inputBusinessAwayMessage // (optional)
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_updateBusinessGreetingMessage ¶ added in v0.181.0
type TL_account_updateBusinessGreetingMessage struct {
Message *TL_inputBusinessGreetingMessage // (optional)
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_updateBusinessIntro ¶ added in v0.181.0
type TL_account_updateBusinessIntro struct {
Intro *TL_inputBusinessIntro // (optional)
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_updateBusinessLocation ¶ added in v0.181.0
type TL_account_updateBusinessLocation struct {
GeoPoint TL // (optional) InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
Address *string // (optional)
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_updateBusinessWorkHours ¶ added in v0.181.0
type TL_account_updateBusinessWorkHours struct {
BusinessWorkHours *TL_businessWorkHours // (optional)
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_updateColor ¶ added in v0.166.0
type TL_account_updateColor struct {
ForProfile bool
Color TL // (optional) PeerColor: TL_peerColor | TL_peerColorCollectible | TL_inputPeerColorCollectible
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_updateConnectedBot ¶ added in v0.181.0
type TL_account_updateConnectedBot struct {
Deleted bool
Rights *TL_businessBotRights // (optional)
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Recipients TL_inputBusinessBotRecipients
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_account_updateDeviceLocked ¶
type TL_account_updateDeviceLocked struct {
Period int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_updateEmojiStatus ¶
type TL_account_updateEmojiStatus struct {
EmojiStatus TL // EmojiStatus: TL_emojiStatusEmpty | TL_emojiStatus | TL_emojiStatusCollectible | TL_inputEmojiStatusCollectible
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_updateNotifySettings ¶
type TL_account_updateNotifySettings struct {
Peer TL // InputNotifyPeer: TL_inputNotifyPeer | TL_inputNotifyUsers | TL_inputNotifyChats | TL_inputNotifyBroadcasts | TL_inputNotifyForumTopic
Settings TL_inputPeerNotifySettings
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_updatePasswordSettings ¶
type TL_account_updatePasswordSettings struct {
Password TL // InputCheckPasswordSRP: TL_inputCheckPasswordEmpty | TL_inputCheckPasswordSRP
NewSettings TL_account_passwordInputSettings
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_updatePersonalChannel ¶ added in v0.181.0
type TL_account_updatePersonalChannel struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_updateProfile ¶
type TL_account_updateProfile struct {
FirstName *string // (optional)
LastName *string // (optional)
About *string // (optional)
}
Returns User: TL_userEmpty | TL_user
type TL_account_updateStatus ¶
type TL_account_updateStatus struct {
Offline bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_updateTheme ¶
type TL_account_updateTheme struct {
Format string
Theme TL // InputTheme: TL_inputTheme | TL_inputThemeSlug
Slug *string // (optional)
Title *string // (optional)
Document TL // (optional) InputDocument: TL_inputDocumentEmpty | TL_inputDocument
Settings []TL_inputThemeSettings // (optional)
}
Returns Theme: TL_theme
type TL_account_updateUsername ¶
type TL_account_updateUsername struct {
Username string
}
Returns User: TL_userEmpty | TL_user
type TL_account_uploadRingtone ¶
type TL_account_uploadRingtone struct {
File TL // InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
FileName string
MIMEType string
}
Returns Document: TL_documentEmpty | TL_document
type TL_account_uploadTheme ¶
type TL_account_uploadTheme struct {
File TL // InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
Thumb TL // (optional) InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
FileName string
MIMEType string
}
Returns Document: TL_documentEmpty | TL_document
type TL_account_uploadWallPaper ¶
type TL_account_uploadWallPaper struct {
ForChat bool
File TL // InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
MIMEType string
Settings TL_wallPaperSettings
}
Returns WallPaper: TL_wallPaper | TL_wallPaperNoFile
type TL_account_verifyEmail ¶
type TL_account_verifyEmail struct {
Purpose TL // EmailVerifyPurpose: TL_emailVerifyPurposeLoginSetup | TL_emailVerifyPurposeLoginChange | TL_emailVerifyPurposePassport
Verification TL // EmailVerification: TL_emailVerificationCode | TL_emailVerificationGoogle | TL_emailVerificationApple
}
Returns account.EmailVerified: TL_account_emailVerified | TL_account_emailVerifiedLogin
type TL_account_verifyPhone ¶
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_account_wallPapers ¶
type TL_account_wallPapers struct {
Hash int64
Wallpapers []TL // WallPaper: TL_wallPaper | TL_wallPaperNoFile
}
Constructs account.WallPapers
type TL_account_wallPapersNotModified ¶
type TL_account_wallPapersNotModified struct {
}
Constructs account.WallPapers
type TL_account_webAuthorizations ¶
type TL_account_webAuthorizations struct {
Authorizations []TL_webAuthorization
Users []TL // User: TL_userEmpty | TL_user
}
Constructs account.WebAuthorizations
type TL_attachMenuBot ¶
type TL_attachMenuBot struct {
Inactive bool
HasSettings bool
RequestWriteAccess bool
ShowInAttachMenu bool
ShowInSideMenu bool
SideMenuDisclaimerNeeded bool
BotID int64
ShortName string
PeerTypes []TL // (optional) AttachMenuPeerType: TL_attachMenuPeerTypeSameBotPM | TL_attachMenuPeerTypeBotPM | TL_attachMenuPeerTypePM | TL_attachMenuPeerTypeChat | TL_attachMenuPeerTypeBroadcast
Icons []TL_attachMenuBotIcon
}
Constructs AttachMenuBot
type TL_attachMenuBotIcon ¶
type TL_attachMenuBotIcon struct {
Name string
Icon TL // Document: TL_documentEmpty | TL_document
Colors []TL_attachMenuBotIconColor // (optional)
}
Constructs AttachMenuBotIcon
type TL_attachMenuBotIconColor ¶
Constructs AttachMenuBotIconColor
type TL_attachMenuBots ¶
type TL_attachMenuBots struct {
Hash int64
Bots []TL_attachMenuBot
Users []TL // User: TL_userEmpty | TL_user
}
Constructs AttachMenuBots
type TL_attachMenuBotsBot ¶
type TL_attachMenuBotsBot struct {
Bot TL_attachMenuBot
Users []TL // User: TL_userEmpty | TL_user
}
Constructs AttachMenuBotsBot
type TL_attachMenuBotsNotModified ¶
type TL_attachMenuBotsNotModified struct {
}
Constructs AttachMenuBots
type TL_attachMenuPeerTypeBotPM ¶
type TL_attachMenuPeerTypeBotPM struct {
}
Constructs AttachMenuPeerType
type TL_attachMenuPeerTypeBroadcast ¶
type TL_attachMenuPeerTypeBroadcast struct {
}
Constructs AttachMenuPeerType
type TL_attachMenuPeerTypeChat ¶
type TL_attachMenuPeerTypeChat struct {
}
Constructs AttachMenuPeerType
type TL_attachMenuPeerTypePM ¶
type TL_attachMenuPeerTypePM struct {
}
Constructs AttachMenuPeerType
type TL_attachMenuPeerTypeSameBotPM ¶
type TL_attachMenuPeerTypeSameBotPM struct {
}
Constructs AttachMenuPeerType
type TL_auctionBidLevel ¶ added in v0.218.0
Constructs AuctionBidLevel
type TL_auth_acceptLoginToken ¶
type TL_auth_acceptLoginToken struct {
Token []byte
}
Returns Authorization: TL_authorization
type TL_auth_authorizationSignUpRequired ¶
type TL_auth_authorizationSignUpRequired struct {
}
Constructs auth.Authorization
type TL_auth_bindTempAuthKey ¶
type TL_auth_bindTempAuthKey struct {
PermAuthKeyID int64
Nonce int64
ExpiresAt int32
EncryptedMessage []byte
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_auth_cancelCode ¶
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_auth_checkPaidAuth ¶ added in v0.218.0
Returns auth.SentCode: TL_auth_sentCode | TL_auth_sentCodeSuccess | TL_auth_sentCodePaymentRequired
type TL_auth_checkPassword ¶
type TL_auth_checkPassword struct {
Password TL // InputCheckPasswordSRP: TL_inputCheckPasswordEmpty | TL_inputCheckPasswordSRP
}
Returns auth.Authorization: TL_auth_authorization | TL_auth_authorizationSignUpRequired
type TL_auth_checkRecoveryPassword ¶
type TL_auth_checkRecoveryPassword struct {
Code string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_auth_codeTypeFragmentSMS ¶ added in v0.166.2
type TL_auth_codeTypeFragmentSMS struct {
}
Constructs auth.CodeType
type TL_auth_codeTypeMissedCall ¶
type TL_auth_codeTypeMissedCall struct {
}
Constructs auth.CodeType
type TL_auth_codeTypeSMS ¶ added in v0.166.2
type TL_auth_codeTypeSMS struct {
}
Constructs auth.CodeType
type TL_auth_dropTempAuthKeys ¶
type TL_auth_dropTempAuthKeys struct {
ExceptAuthKeys []int64
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_auth_exportAuthorization ¶
type TL_auth_exportAuthorization struct {
DCID int32
}
Returns auth.ExportedAuthorization: TL_auth_exportedAuthorization
type TL_auth_exportLoginToken ¶
Returns auth.LoginToken: TL_auth_loginToken | TL_auth_loginTokenMigrateTo | TL_auth_loginTokenSuccess
type TL_auth_exportedAuthorization ¶
Constructs auth.ExportedAuthorization
type TL_auth_finishPasskeyLogin ¶ added in v0.220.0
type TL_auth_finishPasskeyLogin struct {
Credential TL_inputPasskeyCredentialPublicKey
FromDCID *int32 // (optional)
FromAuthKeyID *int64 // (optional)
}
Returns auth.Authorization: TL_auth_authorization | TL_auth_authorizationSignUpRequired
type TL_auth_importAuthorization ¶
Returns auth.Authorization: TL_auth_authorization | TL_auth_authorizationSignUpRequired
type TL_auth_importBotAuthorization ¶
type TL_auth_importBotAuthorization struct {
Flags int32
APIID int32
APIHash string
BotAuthToken string
}
Returns auth.Authorization: TL_auth_authorization | TL_auth_authorizationSignUpRequired
type TL_auth_importLoginToken ¶
type TL_auth_importLoginToken struct {
Token []byte
}
Returns auth.LoginToken: TL_auth_loginToken | TL_auth_loginTokenMigrateTo | TL_auth_loginTokenSuccess
type TL_auth_importWebTokenAuthorization ¶
Returns auth.Authorization: TL_auth_authorization | TL_auth_authorizationSignUpRequired
type TL_auth_initPasskeyLogin ¶ added in v0.220.0
Returns auth.PasskeyLoginOptions: TL_auth_passkeyLoginOptions
type TL_auth_loggedOut ¶
type TL_auth_loggedOut struct {
FutureAuthToken []byte // (optional)
}
Constructs auth.LoggedOut
type TL_auth_loginToken ¶
Constructs auth.LoginToken
type TL_auth_loginTokenMigrateTo ¶
Constructs auth.LoginToken
type TL_auth_loginTokenSuccess ¶
type TL_auth_loginTokenSuccess struct {
Authorization TL // auth.Authorization: TL_auth_authorization | TL_auth_authorizationSignUpRequired
}
Constructs auth.LoginToken
type TL_auth_passkeyLoginOptions ¶ added in v0.220.0
type TL_auth_passkeyLoginOptions struct {
Options TL_dataJSON
}
Constructs auth.PasskeyLoginOptions
type TL_auth_passwordRecovery ¶
type TL_auth_passwordRecovery struct {
EmailPattern string
}
Constructs auth.PasswordRecovery
type TL_auth_recoverPassword ¶
type TL_auth_recoverPassword struct {
Code string
NewSettings *TL_account_passwordInputSettings // (optional)
}
Returns auth.Authorization: TL_auth_authorization | TL_auth_authorizationSignUpRequired
type TL_auth_reportMissingCode ¶ added in v0.181.0
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_auth_requestFirebaseSMS ¶ added in v0.166.2
type TL_auth_requestFirebaseSMS struct {
PhoneNumber string
PhoneCodeHash string
SafetyNetToken *string // (optional)
PlayIntegrityToken *string // (optional)
IOSPushSecret *string // (optional)
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_auth_requestPasswordRecovery ¶
type TL_auth_requestPasswordRecovery struct {
}
Returns auth.PasswordRecovery: TL_auth_passwordRecovery
type TL_auth_resendCode ¶
type TL_auth_resendCode struct {
PhoneNumber string
PhoneCodeHash string
Reason *string // (optional)
}
Returns auth.SentCode: TL_auth_sentCode | TL_auth_sentCodeSuccess | TL_auth_sentCodePaymentRequired
type TL_auth_resetAuthorizations ¶
type TL_auth_resetAuthorizations struct {
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_auth_resetLoginEmail ¶
Returns auth.SentCode: TL_auth_sentCode | TL_auth_sentCodeSuccess | TL_auth_sentCodePaymentRequired
type TL_auth_sendCode ¶
type TL_auth_sendCode struct {
PhoneNumber string
APIID int32
APIHash string
Settings TL_codeSettings
}
Returns auth.SentCode: TL_auth_sentCode | TL_auth_sentCodeSuccess | TL_auth_sentCodePaymentRequired
type TL_auth_sentCode ¶
type TL_auth_sentCode struct {
Type TL // auth.SentCodeType: TL_auth_sentCodeTypeApp | TL_auth_sentCodeTypeSMS | TL_auth_sentCodeTypeCall | TL_auth_sentCodeTypeFlashCall | TL_auth_sentCodeTypeMissedCall | TL_auth_sentCodeTypeEmailCode | TL_auth_sentCodeTypeSetUpEmailRequired | TL_auth_sentCodeTypeFragmentSMS | TL_auth_sentCodeTypeFirebaseSMS | TL_auth_sentCodeTypeSMSWord | TL_auth_sentCodeTypeSMSPhrase
PhoneCodeHash string
NextType TL // (optional) auth.CodeType: TL_auth_codeTypeSMS | TL_auth_codeTypeCall | TL_auth_codeTypeFlashCall | TL_auth_codeTypeMissedCall | TL_auth_codeTypeFragmentSMS
Timeout *int32 // (optional)
}
Constructs auth.SentCode
type TL_auth_sentCodePaymentRequired ¶ added in v0.218.0
type TL_auth_sentCodePaymentRequired struct {
StoreProduct string
PhoneCodeHash string
SupportEmailAddress string
SupportEmailSubject string
Currency string
Amount int64
}
Constructs auth.SentCode
type TL_auth_sentCodeSuccess ¶
type TL_auth_sentCodeSuccess struct {
Authorization TL // auth.Authorization: TL_auth_authorization | TL_auth_authorizationSignUpRequired
}
Constructs auth.SentCode
type TL_auth_sentCodeTypeApp ¶
type TL_auth_sentCodeTypeApp struct {
Length int32
}
Constructs auth.SentCodeType
type TL_auth_sentCodeTypeCall ¶
type TL_auth_sentCodeTypeCall struct {
Length int32
}
Constructs auth.SentCodeType
type TL_auth_sentCodeTypeEmailCode ¶
type TL_auth_sentCodeTypeEmailCode struct {
AppleSigninAllowed bool
GoogleSigninAllowed bool
EmailPattern string
Length int32
ResetAvailablePeriod *int32 // (optional)
ResetPendingDate *int32 // (optional)
}
Constructs auth.SentCodeType
type TL_auth_sentCodeTypeFirebaseSMS ¶ added in v0.166.2
type TL_auth_sentCodeTypeFirebaseSMS struct {
Nonce []byte // (optional)
PlayIntegrityProjectID *int64 // (optional)
PlayIntegrityNonce []byte // (optional)
Receipt *string // (optional)
PushTimeout *int32 // (optional)
Length int32
}
Constructs auth.SentCodeType
type TL_auth_sentCodeTypeFlashCall ¶
type TL_auth_sentCodeTypeFlashCall struct {
Pattern string
}
Constructs auth.SentCodeType
type TL_auth_sentCodeTypeFragmentSMS ¶ added in v0.166.2
Constructs auth.SentCodeType
type TL_auth_sentCodeTypeMissedCall ¶
Constructs auth.SentCodeType
type TL_auth_sentCodeTypeSMS ¶ added in v0.166.2
type TL_auth_sentCodeTypeSMS struct {
Length int32
}
Constructs auth.SentCodeType
type TL_auth_sentCodeTypeSMSPhrase ¶ added in v0.181.0
type TL_auth_sentCodeTypeSMSPhrase struct {
Beginning *string // (optional)
}
Constructs auth.SentCodeType
type TL_auth_sentCodeTypeSMSWord ¶ added in v0.181.0
type TL_auth_sentCodeTypeSMSWord struct {
Beginning *string // (optional)
}
Constructs auth.SentCodeType
type TL_auth_sentCodeTypeSetUpEmailRequired ¶
type TL_auth_sentCodeTypeSetUpEmailRequired struct {
AppleSigninAllowed bool
GoogleSigninAllowed bool
}
Constructs auth.SentCodeType
type TL_auth_signIn ¶
type TL_auth_signIn struct {
PhoneNumber string
PhoneCodeHash string
PhoneCode *string // (optional)
EmailVerification TL // (optional) EmailVerification: TL_emailVerificationCode | TL_emailVerificationGoogle | TL_emailVerificationApple
}
Returns auth.Authorization: TL_auth_authorization | TL_auth_authorizationSignUpRequired
type TL_auth_signUp ¶
type TL_auth_signUp struct {
NoJoinedNotifications bool
PhoneNumber string
PhoneCodeHash string
FirstName string
LastName string
}
Returns auth.Authorization: TL_auth_authorization | TL_auth_authorizationSignUpRequired
type TL_autoDownloadSettings ¶
type TL_autoDownloadSettings struct {
Disabled bool
VideoPreloadLarge bool
AudioPreloadNext bool
PhonecallsLessData bool
StoriesPreload bool
PhotoSizeMax int32
VideoSizeMax int64
FileSizeMax int64
VideoUploadMaxbitrate int32
SmallQueueActiveOperationsMax int32
LargeQueueActiveOperationsMax int32
}
Constructs AutoDownloadSettings
type TL_autoSaveException ¶
type TL_autoSaveException struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Settings TL_autoSaveSettings
}
Constructs AutoSaveException
type TL_autoSaveSettings ¶
Constructs AutoSaveSettings
type TL_availableEffect ¶ added in v0.181.0
type TL_availableEffect struct {
PremiumRequired bool
ID int64
Emoticon string
StaticIconID *int64 // (optional)
EffectStickerID int64
EffectAnimationID *int64 // (optional)
}
Constructs AvailableEffect
type TL_availableReaction ¶
type TL_availableReaction struct {
Inactive bool
Premium bool
Reaction string
Title string
StaticIcon TL // Document: TL_documentEmpty | TL_document
AppearAnimation TL // Document: TL_documentEmpty | TL_document
SelectAnimation TL // Document: TL_documentEmpty | TL_document
ActivateAnimation TL // Document: TL_documentEmpty | TL_document
EffectAnimation TL // Document: TL_documentEmpty | TL_document
AroundAnimation TL // (optional) Document: TL_documentEmpty | TL_document
CenterIcon TL // (optional) Document: TL_documentEmpty | TL_document
}
Constructs AvailableReaction
type TL_badMsgNotification ¶ added in v0.166.2
Constructs BadMsgNotification
type TL_badServerSalt ¶ added in v0.166.2
type TL_badServerSalt struct {
BadMsgID int64
BadMsgSeqno int32
ErrorCode int32
NewServerSalt int64
}
Constructs BadMsgNotification
type TL_bankCardOpenURL ¶ added in v0.166.2
Constructs BankCardOpenUrl
type TL_bindAuthKeyInner ¶ added in v0.166.2
type TL_bindAuthKeyInner struct {
Nonce int64
TempAuthKeyID int64
PermAuthKeyID int64
TempSessionID int64
ExpiresAt int32
}
Constructs BindAuthKeyInner
type TL_birthday ¶ added in v0.181.0
Constructs Birthday
type TL_boost ¶ added in v0.166.0
type TL_boost struct {
Gift bool
Giveaway bool
Unclaimed bool
ID string
UserID *int64 // (optional)
GiveawayMsgID *int32 // (optional)
Date int32
Expires int32
UsedGiftSlug *string // (optional)
Multiplier *int32 // (optional)
Stars *int64 // (optional)
}
Constructs Boost
type TL_botApp ¶
type TL_botApp struct {
ID int64
AccessHash int64
ShortName string
Title string
Description string
Photo TL // Photo: TL_photoEmpty | TL_photo
Document TL // (optional) Document: TL_documentEmpty | TL_document
Hash int64
}
Constructs BotApp
type TL_botAppSettings ¶ added in v0.195.0
type TL_botAppSettings struct {
PlaceholderPath []byte // (optional)
BackgroundColor *int32 // (optional)
BackgroundDarkColor *int32 // (optional)
HeaderColor *int32 // (optional)
HeaderDarkColor *int32 // (optional)
}
Constructs BotAppSettings
type TL_botBusinessConnection ¶ added in v0.181.0
type TL_botBusinessConnection struct {
Disabled bool
ConnectionID string
UserID int64
DCID int32
Date int32
Rights *TL_businessBotRights // (optional)
}
Constructs BotBusinessConnection
type TL_botCommand ¶
Constructs BotCommand
type TL_botCommandScopeChatAdmins ¶
type TL_botCommandScopeChatAdmins struct {
}
Constructs BotCommandScope
type TL_botCommandScopeDefault ¶
type TL_botCommandScopeDefault struct {
}
Constructs BotCommandScope
type TL_botCommandScopePeer ¶
type TL_botCommandScopePeer struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Constructs BotCommandScope
type TL_botCommandScopePeerAdmins ¶
type TL_botCommandScopePeerAdmins struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Constructs BotCommandScope
type TL_botCommandScopePeerUser ¶
type TL_botCommandScopePeerUser struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Constructs BotCommandScope
type TL_botInfo ¶
type TL_botInfo struct {
HasPreviewMedias bool
UserID *int64 // (optional)
Description *string // (optional)
DescriptionPhoto TL // (optional) Photo: TL_photoEmpty | TL_photo
DescriptionDocument TL // (optional) Document: TL_documentEmpty | TL_document
Commands []TL_botCommand // (optional)
MenuButton TL // (optional) BotMenuButton: TL_botMenuButtonDefault | TL_botMenuButtonCommands | TL_botMenuButton
PrivacyPolicyURL *string // (optional)
AppSettings *TL_botAppSettings // (optional)
VerifierSettings *TL_botVerifierSettings // (optional)
}
Constructs BotInfo
type TL_botInlineMediaResult ¶
type TL_botInlineMediaResult struct {
ID string
Type string
Photo TL // (optional) Photo: TL_photoEmpty | TL_photo
Document TL // (optional) Document: TL_documentEmpty | TL_document
Title *string // (optional)
Description *string // (optional)
SendMessage TL // BotInlineMessage: TL_botInlineMessageMediaAuto | TL_botInlineMessageText | TL_botInlineMessageMediaGeo | TL_botInlineMessageMediaVenue | TL_botInlineMessageMediaContact | TL_botInlineMessageMediaInvoice | TL_botInlineMessageMediaWebPage
}
Constructs BotInlineResult
type TL_botInlineMessageMediaAuto ¶
type TL_botInlineMessageMediaAuto struct {
InvertMedia bool
Message string
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}
Constructs BotInlineMessage
type TL_botInlineMessageMediaContact ¶
type TL_botInlineMessageMediaContact struct {
PhoneNumber string
FirstName string
LastName string
Vcard string
ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}
Constructs BotInlineMessage
type TL_botInlineMessageMediaGeo ¶
type TL_botInlineMessageMediaGeo struct {
Geo TL // GeoPoint: TL_geoPointEmpty | TL_geoPoint
Heading *int32 // (optional)
Period *int32 // (optional)
ProximityNotificationRadius *int32 // (optional)
ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}
Constructs BotInlineMessage
type TL_botInlineMessageMediaInvoice ¶
type TL_botInlineMessageMediaInvoice struct {
ShippingAddressRequested bool
Test bool
Title string
Description string
Photo TL // (optional) WebDocument: TL_webDocument | TL_webDocumentNoProxy
Currency string
TotalAmount int64
ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}
Constructs BotInlineMessage
type TL_botInlineMessageMediaVenue ¶
type TL_botInlineMessageMediaVenue struct {
Geo TL // GeoPoint: TL_geoPointEmpty | TL_geoPoint
Title string
Address string
Provider string
VenueID string
VenueType string
ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}
Constructs BotInlineMessage
type TL_botInlineMessageMediaWebPage ¶ added in v0.166.0
type TL_botInlineMessageMediaWebPage struct {
InvertMedia bool
ForceLargeMedia bool
ForceSmallMedia bool
Manual bool
Safe bool
Message string
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
URL string
ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}
Constructs BotInlineMessage
type TL_botInlineMessageText ¶
type TL_botInlineMessageText struct {
NoWebpage bool
InvertMedia bool
Message string
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}
Constructs BotInlineMessage
type TL_botInlineResult ¶
type TL_botInlineResult struct {
ID string
Type string
Title *string // (optional)
Description *string // (optional)
URL *string // (optional)
Thumb TL // (optional) WebDocument: TL_webDocument | TL_webDocumentNoProxy
Content TL // (optional) WebDocument: TL_webDocument | TL_webDocumentNoProxy
SendMessage TL // BotInlineMessage: TL_botInlineMessageMediaAuto | TL_botInlineMessageText | TL_botInlineMessageMediaGeo | TL_botInlineMessageMediaVenue | TL_botInlineMessageMediaContact | TL_botInlineMessageMediaInvoice | TL_botInlineMessageMediaWebPage
}
Constructs BotInlineResult
type TL_botMenuButton ¶
Constructs BotMenuButton
type TL_botPreviewMedia ¶ added in v0.185.0
type TL_botPreviewMedia struct {
Date int32
Media TL // MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia | TL_messageMediaToDo | TL_messageMediaVideoStream
}
Constructs BotPreviewMedia
type TL_botVerification ¶ added in v0.196.0
Constructs BotVerification
type TL_botVerifierSettings ¶ added in v0.196.0
type TL_botVerifierSettings struct {
CanModifyCustomDescription bool
Icon int64
Company string
CustomDescription *string // (optional)
}
Constructs BotVerifierSettings
type TL_bots_addPreviewMedia ¶ added in v0.185.0
type TL_bots_addPreviewMedia struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
LangCode string
Media TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia | TL_inputMediaTodo
}
Returns BotPreviewMedia: TL_botPreviewMedia
type TL_bots_allowSendMessage ¶ added in v0.166.0
type TL_bots_allowSendMessage struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_bots_answerWebhookJSONQuery ¶
type TL_bots_answerWebhookJSONQuery struct {
QueryID int64
Data TL_dataJSON
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_bots_botInfo ¶
Constructs bots.BotInfo
type TL_bots_canSendMessage ¶ added in v0.166.0
type TL_bots_canSendMessage struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_bots_checkDownloadFileParams ¶ added in v0.195.0
type TL_bots_checkDownloadFileParams struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
FileName string
URL string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_bots_deletePreviewMedia ¶ added in v0.185.0
type TL_bots_deletePreviewMedia struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
LangCode string
Media []TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia | TL_inputMediaTodo
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_bots_editPreviewMedia ¶ added in v0.185.0
type TL_bots_editPreviewMedia struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
LangCode string
Media TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia | TL_inputMediaTodo
NewMedia TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia | TL_inputMediaTodo
}
Returns BotPreviewMedia: TL_botPreviewMedia
type TL_bots_getAdminedBots ¶ added in v0.195.0
type TL_bots_getAdminedBots struct {
}
Returns Vector<User>: TL_userEmpty | TL_user
type TL_bots_getBotCommands ¶
type TL_bots_getBotCommands struct {
Scope TL // BotCommandScope: TL_botCommandScopeDefault | TL_botCommandScopeUsers | TL_botCommandScopeChats | TL_botCommandScopeChatAdmins | TL_botCommandScopePeer | TL_botCommandScopePeerAdmins | TL_botCommandScopePeerUser
LangCode string
}
Returns Vector<BotCommand>: TL_botCommand
type TL_bots_getBotInfo ¶
type TL_bots_getBotInfo struct {
Bot TL // (optional) InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
LangCode string
}
Returns bots.BotInfo: TL_bots_botInfo
type TL_bots_getBotMenuButton ¶
type TL_bots_getBotMenuButton struct {
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns BotMenuButton: TL_botMenuButtonDefault | TL_botMenuButtonCommands | TL_botMenuButton
type TL_bots_getBotRecommendations ¶ added in v0.196.0
type TL_bots_getBotRecommendations struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns users.Users: TL_users_users | TL_users_usersSlice
type TL_bots_getPopularAppBots ¶ added in v0.185.0
Returns bots.PopularAppBots: TL_bots_popularAppBots
type TL_bots_getPreviewInfo ¶ added in v0.185.0
type TL_bots_getPreviewInfo struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
LangCode string
}
Returns bots.PreviewInfo: TL_bots_previewInfo
type TL_bots_getPreviewMedias ¶ added in v0.185.0
type TL_bots_getPreviewMedias struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns Vector<BotPreviewMedia>: TL_botPreviewMedia
type TL_bots_invokeWebViewCustomMethod ¶ added in v0.166.0
type TL_bots_invokeWebViewCustomMethod struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
CustomMethod string
Params TL_dataJSON
}
Returns DataJSON: TL_dataJSON
type TL_bots_popularAppBots ¶ added in v0.185.0
type TL_bots_popularAppBots struct {
NextOffset *string // (optional)
Users []TL // User: TL_userEmpty | TL_user
}
Constructs bots.PopularAppBots
type TL_bots_previewInfo ¶ added in v0.185.0
type TL_bots_previewInfo struct {
Media []TL_botPreviewMedia
LangCodes []string
}
Constructs bots.PreviewInfo
type TL_bots_reorderPreviewMedias ¶ added in v0.185.0
type TL_bots_reorderPreviewMedias struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
LangCode string
Order []TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia | TL_inputMediaTodo
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_bots_reorderUsernames ¶
type TL_bots_reorderUsernames struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Order []string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_bots_resetBotCommands ¶
type TL_bots_resetBotCommands struct {
Scope TL // BotCommandScope: TL_botCommandScopeDefault | TL_botCommandScopeUsers | TL_botCommandScopeChats | TL_botCommandScopeChatAdmins | TL_botCommandScopePeer | TL_botCommandScopePeerAdmins | TL_botCommandScopePeerUser
LangCode string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_bots_sendCustomRequest ¶
type TL_bots_sendCustomRequest struct {
CustomMethod string
Params TL_dataJSON
}
Returns DataJSON: TL_dataJSON
type TL_bots_setBotBroadcastDefaultAdminRights ¶
type TL_bots_setBotBroadcastDefaultAdminRights struct {
AdminRights TL_chatAdminRights
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_bots_setBotCommands ¶
type TL_bots_setBotCommands struct {
Scope TL // BotCommandScope: TL_botCommandScopeDefault | TL_botCommandScopeUsers | TL_botCommandScopeChats | TL_botCommandScopeChatAdmins | TL_botCommandScopePeer | TL_botCommandScopePeerAdmins | TL_botCommandScopePeerUser
LangCode string
Commands []TL_botCommand
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_bots_setBotGroupDefaultAdminRights ¶
type TL_bots_setBotGroupDefaultAdminRights struct {
AdminRights TL_chatAdminRights
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_bots_setBotInfo ¶
type TL_bots_setBotInfo struct {
Bot TL // (optional) InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
LangCode string
Name *string // (optional)
About *string // (optional)
Description *string // (optional)
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_bots_setBotMenuButton ¶
type TL_bots_setBotMenuButton struct {
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Button TL // BotMenuButton: TL_botMenuButtonDefault | TL_botMenuButtonCommands | TL_botMenuButton
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_bots_setCustomVerification ¶ added in v0.196.0
type TL_bots_setCustomVerification struct {
Enabled bool
Bot TL // (optional) InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
CustomDescription *string // (optional)
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_bots_toggleUserEmojiStatusPermission ¶ added in v0.195.0
type TL_bots_toggleUserEmojiStatusPermission struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Enabled bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_bots_toggleUsername ¶
type TL_bots_toggleUsername struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Username string
Active bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_bots_updateStarRefProgram ¶ added in v0.195.0
type TL_bots_updateStarRefProgram struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
CommissionPermille int32
DurationMonths *int32 // (optional)
}
Returns StarRefProgram: TL_starRefProgram
type TL_bots_updateUserEmojiStatus ¶ added in v0.195.0
type TL_bots_updateUserEmojiStatus struct {
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
EmojiStatus TL // EmojiStatus: TL_emojiStatusEmpty | TL_emojiStatus | TL_emojiStatusCollectible | TL_inputEmojiStatusCollectible
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_businessAwayMessage ¶ added in v0.181.0
type TL_businessAwayMessage struct {
OfflineOnly bool
ShortcutID int32
Schedule TL // BusinessAwayMessageSchedule: TL_businessAwayMessageScheduleAlways | TL_businessAwayMessageScheduleOutsideWorkHours | TL_businessAwayMessageScheduleCustom
Recipients TL_businessRecipients
}
Constructs BusinessAwayMessage
type TL_businessAwayMessageScheduleAlways ¶ added in v0.181.0
type TL_businessAwayMessageScheduleAlways struct {
}
Constructs BusinessAwayMessageSchedule
type TL_businessAwayMessageScheduleCustom ¶ added in v0.181.0
Constructs BusinessAwayMessageSchedule
type TL_businessAwayMessageScheduleOutsideWorkHours ¶ added in v0.181.0
type TL_businessAwayMessageScheduleOutsideWorkHours struct {
}
Constructs BusinessAwayMessageSchedule
type TL_businessBotRecipients ¶ added in v0.181.0
type TL_businessBotRecipients struct {
ExistingChats bool
NewChats bool
Contacts bool
NonContacts bool
ExcludeSelected bool
Users []int64 // (optional)
ExcludeUsers []int64 // (optional)
}
Constructs BusinessBotRecipients
type TL_businessBotRights ¶ added in v0.218.0
type TL_businessBotRights struct {
Reply bool
ReadMessages bool
DeleteSentMessages bool
DeleteReceivedMessages bool
EditName bool
EditBio bool
EditProfilePhoto bool
EditUsername bool
ViewGifts bool
SellGifts bool
ChangeGiftSettings bool
TransferAndUpgradeGifts bool
TransferStars bool
ManageStories bool
}
Constructs BusinessBotRights
type TL_businessChatLink ¶ added in v0.181.0
type TL_businessChatLink struct {
Link string
Message string
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
Title *string // (optional)
Views int32
}
Constructs BusinessChatLink
type TL_businessGreetingMessage ¶ added in v0.181.0
type TL_businessGreetingMessage struct {
ShortcutID int32
Recipients TL_businessRecipients
NoActivityDays int32
}
Constructs BusinessGreetingMessage
type TL_businessIntro ¶ added in v0.181.0
type TL_businessIntro struct {
Title string
Description string
Sticker TL // (optional) Document: TL_documentEmpty | TL_document
}
Constructs BusinessIntro
type TL_businessLocation ¶ added in v0.181.0
type TL_businessLocation struct {
GeoPoint TL // (optional) GeoPoint: TL_geoPointEmpty | TL_geoPoint
Address string
}
Constructs BusinessLocation
type TL_businessRecipients ¶ added in v0.181.0
type TL_businessRecipients struct {
ExistingChats bool
NewChats bool
Contacts bool
NonContacts bool
ExcludeSelected bool
Users []int64 // (optional)
}
Constructs BusinessRecipients
type TL_businessWeeklyOpen ¶ added in v0.181.0
Constructs BusinessWeeklyOpen
type TL_businessWorkHours ¶ added in v0.181.0
type TL_businessWorkHours struct {
OpenNow bool
TimezoneID string
WeeklyOpen []TL_businessWeeklyOpen
}
Constructs BusinessWorkHours
type TL_cdnPublicKey ¶
Constructs CdnPublicKey
type TL_channel ¶
type TL_channel struct {
Creator bool
Left bool
Broadcast bool
Verified bool
Megagroup bool
Restricted bool
Signatures bool
Min bool
Scam bool
HasLink bool
HasGeo bool
SlowmodeEnabled bool
CallActive bool
CallNotEmpty bool
Fake bool
Gigagroup bool
Noforwards bool
JoinToSend bool
JoinRequest bool
Forum bool
StoriesHidden bool
StoriesHiddenMin bool
SignatureProfiles bool
Autotranslation bool
BroadcastMessagesAllowed bool
Monoforum bool
ForumTabs bool
ID int64
AccessHash *int64 // (optional)
Title string
Username *string // (optional)
Photo TL // ChatPhoto: TL_chatPhotoEmpty | TL_chatPhoto
Date int32
RestrictionReason []TL_restrictionReason // (optional)
AdminRights *TL_chatAdminRights // (optional)
BannedRights *TL_chatBannedRights // (optional)
DefaultBannedRights *TL_chatBannedRights // (optional)
ParticipantsCount *int32 // (optional)
Usernames []TL_username // (optional)
StoriesMaxID *TL_recentStory // (optional)
Color TL // (optional) PeerColor: TL_peerColor | TL_peerColorCollectible | TL_inputPeerColorCollectible
ProfileColor TL // (optional) PeerColor: TL_peerColor | TL_peerColorCollectible | TL_inputPeerColorCollectible
EmojiStatus TL // (optional) EmojiStatus: TL_emojiStatusEmpty | TL_emojiStatus | TL_emojiStatusCollectible | TL_inputEmojiStatusCollectible
Level *int32 // (optional)
SubscriptionUntilDate *int32 // (optional)
BotVerificationIcon *int64 // (optional)
SendPaidMessagesStars *int64 // (optional)
LinkedMonoforumID *int64 // (optional)
}
Constructs Chat
type TL_channelAdminLogEvent ¶
type TL_channelAdminLogEvent struct {
ID int64
Date int32
UserID int64
Action TL // ChannelAdminLogEventAction: TL_channelAdminLogEventActionChangeTitle | TL_channelAdminLogEventActionChangeAbout | TL_channelAdminLogEventActionChangeUsername | TL_channelAdminLogEventActionChangePhoto | TL_channelAdminLogEventActionToggleInvites | TL_channelAdminLogEventActionToggleSignatures | TL_channelAdminLogEventActionUpdatePinned | TL_channelAdminLogEventActionEditMessage | TL_channelAdminLogEventActionDeleteMessage | TL_channelAdminLogEventActionParticipantJoin | TL_channelAdminLogEventActionParticipantLeave | TL_channelAdminLogEventActionParticipantInvite | TL_channelAdminLogEventActionParticipantToggleBan | TL_channelAdminLogEventActionParticipantToggleAdmin | TL_channelAdminLogEventActionChangeStickerSet | TL_channelAdminLogEventActionTogglePreHistoryHidden | TL_channelAdminLogEventActionDefaultBannedRights | TL_channelAdminLogEventActionStopPoll | TL_channelAdminLogEventActionChangeLinkedChat | TL_channelAdminLogEventActionChangeLocation | TL_channelAdminLogEventActionToggleSlowMode | TL_channelAdminLogEventActionStartGroupCall | TL_channelAdminLogEventActionDiscardGroupCall | TL_channelAdminLogEventActionParticipantMute | TL_channelAdminLogEventActionParticipantUnmute | TL_channelAdminLogEventActionToggleGroupCallSetting | TL_channelAdminLogEventActionParticipantJoinByInvite | TL_channelAdminLogEventActionExportedInviteDelete | TL_channelAdminLogEventActionExportedInviteRevoke | TL_channelAdminLogEventActionExportedInviteEdit | TL_channelAdminLogEventActionParticipantVolume | TL_channelAdminLogEventActionChangeHistoryTTL | TL_channelAdminLogEventActionParticipantJoinByRequest | TL_channelAdminLogEventActionToggleNoForwards | TL_channelAdminLogEventActionSendMessage | TL_channelAdminLogEventActionChangeAvailableReactions | TL_channelAdminLogEventActionChangeUsernames | TL_channelAdminLogEventActionToggleForum | TL_channelAdminLogEventActionCreateTopic | TL_channelAdminLogEventActionEditTopic | TL_channelAdminLogEventActionDeleteTopic | TL_channelAdminLogEventActionPINTopic | TL_channelAdminLogEventActionToggleAntiSpam | TL_channelAdminLogEventActionChangePeerColor | TL_channelAdminLogEventActionChangeProfilePeerColor | TL_channelAdminLogEventActionChangeWallpaper | TL_channelAdminLogEventActionChangeEmojiStatus | TL_channelAdminLogEventActionChangeEmojiStickerSet | TL_channelAdminLogEventActionToggleSignatureProfiles | TL_channelAdminLogEventActionParticipantSubExtend | TL_channelAdminLogEventActionToggleAutotranslation
}
Constructs ChannelAdminLogEvent
type TL_channelAdminLogEventActionChangeAbout ¶
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionChangeAvailableReactions ¶
type TL_channelAdminLogEventActionChangeAvailableReactions struct {
PrevValue TL // ChatReactions: TL_chatReactionsNone | TL_chatReactionsAll | TL_chatReactionsSome
NewValue TL // ChatReactions: TL_chatReactionsNone | TL_chatReactionsAll | TL_chatReactionsSome
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionChangeEmojiStatus ¶ added in v0.181.0
type TL_channelAdminLogEventActionChangeEmojiStatus struct {
PrevValue TL // EmojiStatus: TL_emojiStatusEmpty | TL_emojiStatus | TL_emojiStatusCollectible | TL_inputEmojiStatusCollectible
NewValue TL // EmojiStatus: TL_emojiStatusEmpty | TL_emojiStatus | TL_emojiStatusCollectible | TL_inputEmojiStatusCollectible
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionChangeEmojiStickerSet ¶ added in v0.181.0
type TL_channelAdminLogEventActionChangeEmojiStickerSet struct {
PrevStickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses | TL_inputStickerSetTonGifts
NewStickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses | TL_inputStickerSetTonGifts
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionChangeHistoryTTL ¶
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionChangeLinkedChat ¶
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionChangeLocation ¶
type TL_channelAdminLogEventActionChangeLocation struct {
PrevValue TL // ChannelLocation: TL_channelLocationEmpty | TL_channelLocation
NewValue TL // ChannelLocation: TL_channelLocationEmpty | TL_channelLocation
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionChangePeerColor ¶ added in v0.181.0
type TL_channelAdminLogEventActionChangePeerColor struct {
PrevValue TL // PeerColor: TL_peerColor | TL_peerColorCollectible | TL_inputPeerColorCollectible
NewValue TL // PeerColor: TL_peerColor | TL_peerColorCollectible | TL_inputPeerColorCollectible
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionChangePhoto ¶
type TL_channelAdminLogEventActionChangePhoto struct {
PrevPhoto TL // Photo: TL_photoEmpty | TL_photo
NewPhoto TL // Photo: TL_photoEmpty | TL_photo
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionChangeProfilePeerColor ¶ added in v0.181.0
type TL_channelAdminLogEventActionChangeProfilePeerColor struct {
PrevValue TL // PeerColor: TL_peerColor | TL_peerColorCollectible | TL_inputPeerColorCollectible
NewValue TL // PeerColor: TL_peerColor | TL_peerColorCollectible | TL_inputPeerColorCollectible
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionChangeStickerSet ¶
type TL_channelAdminLogEventActionChangeStickerSet struct {
PrevStickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses | TL_inputStickerSetTonGifts
NewStickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses | TL_inputStickerSetTonGifts
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionChangeTitle ¶
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionChangeUsername ¶
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionChangeUsernames ¶
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionChangeWallpaper ¶ added in v0.181.0
type TL_channelAdminLogEventActionChangeWallpaper struct {
PrevValue TL // WallPaper: TL_wallPaper | TL_wallPaperNoFile
NewValue TL // WallPaper: TL_wallPaper | TL_wallPaperNoFile
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionCreateTopic ¶
type TL_channelAdminLogEventActionCreateTopic struct {
Topic TL // ForumTopic: TL_forumTopicDeleted | TL_forumTopic
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionDefaultBannedRights ¶
type TL_channelAdminLogEventActionDefaultBannedRights struct {
PrevBannedRights TL_chatBannedRights
NewBannedRights TL_chatBannedRights
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionDeleteMessage ¶
type TL_channelAdminLogEventActionDeleteMessage struct {
Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionDeleteTopic ¶
type TL_channelAdminLogEventActionDeleteTopic struct {
Topic TL // ForumTopic: TL_forumTopicDeleted | TL_forumTopic
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionDiscardGroupCall ¶
type TL_channelAdminLogEventActionDiscardGroupCall struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionEditMessage ¶
type TL_channelAdminLogEventActionEditMessage struct {
PrevMessage TL // Message: TL_messageEmpty | TL_message | TL_messageService
NewMessage TL // Message: TL_messageEmpty | TL_message | TL_messageService
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionEditTopic ¶
type TL_channelAdminLogEventActionEditTopic struct {
PrevTopic TL // ForumTopic: TL_forumTopicDeleted | TL_forumTopic
NewTopic TL // ForumTopic: TL_forumTopicDeleted | TL_forumTopic
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionExportedInviteDelete ¶
type TL_channelAdminLogEventActionExportedInviteDelete struct {
Invite TL // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionExportedInviteEdit ¶
type TL_channelAdminLogEventActionExportedInviteEdit struct {
PrevInvite TL // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
NewInvite TL // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionExportedInviteRevoke ¶
type TL_channelAdminLogEventActionExportedInviteRevoke struct {
Invite TL // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionPINTopic ¶ added in v0.166.2
type TL_channelAdminLogEventActionPINTopic struct {
PrevTopic TL // (optional) ForumTopic: TL_forumTopicDeleted | TL_forumTopic
NewTopic TL // (optional) ForumTopic: TL_forumTopicDeleted | TL_forumTopic
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionParticipantInvite ¶
type TL_channelAdminLogEventActionParticipantInvite struct {
Participant TL // ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionParticipantJoin ¶
type TL_channelAdminLogEventActionParticipantJoin struct {
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionParticipantJoinByInvite ¶
type TL_channelAdminLogEventActionParticipantJoinByInvite struct {
ViaChatlist bool
Invite TL // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionParticipantJoinByRequest ¶
type TL_channelAdminLogEventActionParticipantJoinByRequest struct {
Invite TL // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
ApprovedBy int64
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionParticipantLeave ¶
type TL_channelAdminLogEventActionParticipantLeave struct {
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionParticipantMute ¶
type TL_channelAdminLogEventActionParticipantMute struct {
Participant TL_groupCallParticipant
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionParticipantSubExtend ¶ added in v0.187.0
type TL_channelAdminLogEventActionParticipantSubExtend struct {
PrevParticipant TL // ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
NewParticipant TL // ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionParticipantToggleAdmin ¶
type TL_channelAdminLogEventActionParticipantToggleAdmin struct {
PrevParticipant TL // ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
NewParticipant TL // ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionParticipantToggleBan ¶
type TL_channelAdminLogEventActionParticipantToggleBan struct {
PrevParticipant TL // ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
NewParticipant TL // ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionParticipantUnmute ¶
type TL_channelAdminLogEventActionParticipantUnmute struct {
Participant TL_groupCallParticipant
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionParticipantVolume ¶
type TL_channelAdminLogEventActionParticipantVolume struct {
Participant TL_groupCallParticipant
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionSendMessage ¶
type TL_channelAdminLogEventActionSendMessage struct {
Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionStartGroupCall ¶
type TL_channelAdminLogEventActionStartGroupCall struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionStopPoll ¶
type TL_channelAdminLogEventActionStopPoll struct {
Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionToggleAntiSpam ¶
type TL_channelAdminLogEventActionToggleAntiSpam struct {
NewValue bool
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionToggleAutotranslation ¶ added in v0.218.0
type TL_channelAdminLogEventActionToggleAutotranslation struct {
NewValue bool
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionToggleForum ¶
type TL_channelAdminLogEventActionToggleForum struct {
NewValue bool
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionToggleGroupCallSetting ¶
type TL_channelAdminLogEventActionToggleGroupCallSetting struct {
JoinMuted bool
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionToggleInvites ¶
type TL_channelAdminLogEventActionToggleInvites struct {
NewValue bool
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionToggleNoForwards ¶
type TL_channelAdminLogEventActionToggleNoForwards struct {
NewValue bool
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionTogglePreHistoryHidden ¶
type TL_channelAdminLogEventActionTogglePreHistoryHidden struct {
NewValue bool
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionToggleSignatureProfiles ¶ added in v0.186.0
type TL_channelAdminLogEventActionToggleSignatureProfiles struct {
NewValue bool
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionToggleSignatures ¶
type TL_channelAdminLogEventActionToggleSignatures struct {
NewValue bool
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionToggleSlowMode ¶
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventActionUpdatePinned ¶
type TL_channelAdminLogEventActionUpdatePinned struct {
Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
}
Constructs ChannelAdminLogEventAction
type TL_channelAdminLogEventsFilter ¶
type TL_channelAdminLogEventsFilter struct {
Join bool
Leave bool
Invite bool
Ban bool
Unban bool
Kick bool
Unkick bool
Promote bool
Demote bool
Info bool
Settings bool
Pinned bool
Edit bool
Delete bool
GroupCall bool
Invites bool
Send bool
Forums bool
SubExtend bool
}
Constructs ChannelAdminLogEventsFilter
type TL_channelForbidden ¶
type TL_channelForbidden struct {
Broadcast bool
Megagroup bool
ID int64
AccessHash int64
Title string
UntilDate *int32 // (optional)
}
Constructs Chat
type TL_channelFull ¶
type TL_channelFull struct {
CanViewParticipants bool
CanSetUsername bool
CanSetStickers bool
HiddenPrehistory bool
CanSetLocation bool
HasScheduled bool
CanViewStats bool
Blocked bool
CanDeleteChannel bool
Antispam bool
ParticipantsHidden bool
TranslationsDisabled bool
StoriesPinnedAvailable bool
ViewForumAsMessages bool
RestrictedSponsored bool
CanViewRevenue bool
PaidMediaAllowed bool
CanViewStarsRevenue bool
PaidReactionsAvailable bool
StargiftsAvailable bool
PaidMessagesAvailable bool
ID int64
About string
ParticipantsCount *int32 // (optional)
AdminsCount *int32 // (optional)
KickedCount *int32 // (optional)
BannedCount *int32 // (optional)
OnlineCount *int32 // (optional)
ReadInboxMaxID int32
ReadOutboxMaxID int32
UnreadCount int32
ChatPhoto TL // Photo: TL_photoEmpty | TL_photo
NotifySettings TL_peerNotifySettings
ExportedInvite TL // (optional) ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
BotInfo []TL_botInfo
MigratedFromChatID *int64 // (optional)
MigratedFromMaxID *int32 // (optional)
PinnedMsgID *int32 // (optional)
Stickerset *TL_stickerSet // (optional)
AvailableMinID *int32 // (optional)
FolderID *int32 // (optional)
LinkedChatID *int64 // (optional)
Location TL // (optional) ChannelLocation: TL_channelLocationEmpty | TL_channelLocation
SlowmodeSeconds *int32 // (optional)
SlowmodeNextSendDate *int32 // (optional)
StatsDC *int32 // (optional)
PTS int32
Call TL // (optional) InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
TTLPeriod *int32 // (optional)
PendingSuggestions []string // (optional)
GroupcallDefaultJoinAs TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
ThemeEmoticon *string // (optional)
RequestsPending *int32 // (optional)
RecentRequesters []int64 // (optional)
DefaultSendAs TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
AvailableReactions TL // (optional) ChatReactions: TL_chatReactionsNone | TL_chatReactionsAll | TL_chatReactionsSome
ReactionsLimit *int32 // (optional)
Stories *TL_peerStories // (optional)
Wallpaper TL // (optional) WallPaper: TL_wallPaper | TL_wallPaperNoFile
BoostsApplied *int32 // (optional)
BoostsUnrestrict *int32 // (optional)
Emojiset *TL_stickerSet // (optional)
BotVerification *TL_botVerification // (optional)
StargiftsCount *int32 // (optional)
SendPaidMessagesStars *int64 // (optional)
MainTab TL // (optional) ProfileTab: TL_profileTabPosts | TL_profileTabGifts | TL_profileTabMedia | TL_profileTabFiles | TL_profileTabMusic | TL_profileTabVoice | TL_profileTabLinks | TL_profileTabGIFs
}
Constructs ChatFull
type TL_channelLocation ¶
type TL_channelLocation struct {
GeoPoint TL // GeoPoint: TL_geoPointEmpty | TL_geoPoint
Address string
}
Constructs ChannelLocation
type TL_channelMessagesFilter ¶
type TL_channelMessagesFilter struct {
ExcludeNewMessages bool
Ranges []TL_messageRange
}
Constructs ChannelMessagesFilter
type TL_channelMessagesFilterEmpty ¶
type TL_channelMessagesFilterEmpty struct {
}
Constructs ChannelMessagesFilter
type TL_channelParticipant ¶
type TL_channelParticipant struct {
UserID int64
Date int32
SubscriptionUntilDate *int32 // (optional)
}
Constructs ChannelParticipant
type TL_channelParticipantAdmin ¶
type TL_channelParticipantAdmin struct {
CanEdit bool
Self bool
UserID int64
InviterID *int64 // (optional)
PromotedBy int64
Date int32
AdminRights TL_chatAdminRights
Rank *string // (optional)
}
Constructs ChannelParticipant
type TL_channelParticipantBanned ¶
type TL_channelParticipantBanned struct {
Left bool
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
KickedBy int64
Date int32
BannedRights TL_chatBannedRights
}
Constructs ChannelParticipant
type TL_channelParticipantCreator ¶
type TL_channelParticipantCreator struct {
UserID int64
AdminRights TL_chatAdminRights
Rank *string // (optional)
}
Constructs ChannelParticipant
type TL_channelParticipantLeft ¶
type TL_channelParticipantLeft struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}
Constructs ChannelParticipant
type TL_channelParticipantSelf ¶
type TL_channelParticipantSelf struct {
ViaRequest bool
UserID int64
InviterID int64
Date int32
SubscriptionUntilDate *int32 // (optional)
}
Constructs ChannelParticipant
type TL_channelParticipantsAdmins ¶
type TL_channelParticipantsAdmins struct {
}
Constructs ChannelParticipantsFilter
type TL_channelParticipantsBanned ¶
type TL_channelParticipantsBanned struct {
Q string
}
Constructs ChannelParticipantsFilter
type TL_channelParticipantsBots ¶
type TL_channelParticipantsBots struct {
}
Constructs ChannelParticipantsFilter
type TL_channelParticipantsContacts ¶
type TL_channelParticipantsContacts struct {
Q string
}
Constructs ChannelParticipantsFilter
type TL_channelParticipantsKicked ¶
type TL_channelParticipantsKicked struct {
Q string
}
Constructs ChannelParticipantsFilter
type TL_channelParticipantsMentions ¶
type TL_channelParticipantsMentions struct {
Q *string // (optional)
TopMsgID *int32 // (optional)
}
Constructs ChannelParticipantsFilter
type TL_channelParticipantsRecent ¶
type TL_channelParticipantsRecent struct {
}
Constructs ChannelParticipantsFilter
type TL_channelParticipantsSearch ¶
type TL_channelParticipantsSearch struct {
Q string
}
Constructs ChannelParticipantsFilter
type TL_channels_adminLogResults ¶
type TL_channels_adminLogResults struct {
Events []TL_channelAdminLogEvent
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs channels.AdminLogResults
type TL_channels_channelParticipant ¶
type TL_channels_channelParticipant struct {
Participant TL // ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs channels.ChannelParticipant
type TL_channels_channelParticipants ¶
type TL_channels_channelParticipants struct {
Count int32
Participants []TL // ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs channels.ChannelParticipants
type TL_channels_channelParticipantsNotModified ¶
type TL_channels_channelParticipantsNotModified struct {
}
Constructs channels.ChannelParticipants
type TL_channels_checkSearchPostsFlood ¶ added in v0.218.0
type TL_channels_checkSearchPostsFlood struct {
Query *string // (optional)
}
Returns SearchPostsFlood: TL_searchPostsFlood
type TL_channels_checkUsername ¶
type TL_channels_checkUsername struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Username string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_channels_convertToGigagroup ¶
type TL_channels_convertToGigagroup struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_createChannel ¶
type TL_channels_createChannel struct {
Broadcast bool
Megagroup bool
ForImport bool
Forum bool
Title string
About string
GeoPoint TL // (optional) InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
Address *string // (optional)
TTLPeriod *int32 // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_deactivateAllUsernames ¶
type TL_channels_deactivateAllUsernames struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_channels_deleteChannel ¶
type TL_channels_deleteChannel struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_deleteHistory ¶
type TL_channels_deleteHistory struct {
ForEveryone bool
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
MaxID int32
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_deleteMessages ¶
type TL_channels_deleteMessages struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
ID []int32
}
Returns messages.AffectedMessages: TL_messages_affectedMessages
type TL_channels_deleteParticipantHistory ¶
type TL_channels_deleteParticipantHistory struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Participant TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns messages.AffectedHistory: TL_messages_affectedHistory
type TL_channels_editAdmin ¶
type TL_channels_editAdmin struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
AdminRights TL_chatAdminRights
Rank string
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_editBanned ¶
type TL_channels_editBanned struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Participant TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
BannedRights TL_chatBannedRights
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_editCreator ¶
type TL_channels_editCreator struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Password TL // InputCheckPasswordSRP: TL_inputCheckPasswordEmpty | TL_inputCheckPasswordSRP
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_editLocation ¶
type TL_channels_editLocation struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
GeoPoint TL // InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
Address string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_channels_editPhoto ¶
type TL_channels_editPhoto struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Photo TL // InputChatPhoto: TL_inputChatPhotoEmpty | TL_inputChatUploadedPhoto | TL_inputChatPhoto
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_editTitle ¶
type TL_channels_editTitle struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Title string
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_exportMessageLink ¶
type TL_channels_exportMessageLink struct {
Grouped bool
Thread bool
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
ID int32
}
Returns ExportedMessageLink: TL_exportedMessageLink
type TL_channels_getAdminLog ¶
type TL_channels_getAdminLog struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Q string
EventsFilter *TL_channelAdminLogEventsFilter // (optional)
Admins []TL // (optional) InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
MaxID int64
MinID int64
Limit int32
}
Returns channels.AdminLogResults: TL_channels_adminLogResults
type TL_channels_getAdminedPublicChannels ¶
type TL_channels_getAdminedPublicChannels struct {
ByLocation bool
CheckLimit bool
ForPersonal bool
}
Returns messages.Chats: TL_messages_chats | TL_messages_chatsSlice
type TL_channels_getChannelRecommendations ¶ added in v0.167.0
type TL_channels_getChannelRecommendations struct {
Channel TL // (optional) InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}
Returns messages.Chats: TL_messages_chats | TL_messages_chatsSlice
type TL_channels_getChannels ¶
type TL_channels_getChannels struct {
ID []TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}
Returns messages.Chats: TL_messages_chats | TL_messages_chatsSlice
type TL_channels_getFullChannel ¶
type TL_channels_getFullChannel struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}
Returns messages.ChatFull: TL_messages_chatFull
type TL_channels_getGroupsForDiscussion ¶
type TL_channels_getGroupsForDiscussion struct {
}
Returns messages.Chats: TL_messages_chats | TL_messages_chatsSlice
type TL_channels_getInactiveChannels ¶
type TL_channels_getInactiveChannels struct {
}
Returns messages.InactiveChats: TL_messages_inactiveChats
type TL_channels_getLeftChannels ¶
type TL_channels_getLeftChannels struct {
Offset int32
}
Returns messages.Chats: TL_messages_chats | TL_messages_chatsSlice
type TL_channels_getMessageAuthor ¶ added in v0.218.0
type TL_channels_getMessageAuthor struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
ID int32
}
Returns User: TL_userEmpty | TL_user
type TL_channels_getMessages ¶
type TL_channels_getMessages struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
ID []TL // InputMessage: TL_inputMessageID | TL_inputMessageReplyTo | TL_inputMessagePinned | TL_inputMessageCallbackQuery
}
Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified
type TL_channels_getParticipant ¶
type TL_channels_getParticipant struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Participant TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns channels.ChannelParticipant: TL_channels_channelParticipant
type TL_channels_getParticipants ¶
type TL_channels_getParticipants struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Filter TL // ChannelParticipantsFilter: TL_channelParticipantsRecent | TL_channelParticipantsAdmins | TL_channelParticipantsKicked | TL_channelParticipantsBots | TL_channelParticipantsBanned | TL_channelParticipantsSearch | TL_channelParticipantsContacts | TL_channelParticipantsMentions
Offset int32
Limit int32
Hash int64
}
Returns channels.ChannelParticipants: TL_channels_channelParticipants | TL_channels_channelParticipantsNotModified
type TL_channels_getSendAs ¶
type TL_channels_getSendAs struct {
ForPaidReactions bool
ForLiveStories bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns channels.SendAsPeers: TL_channels_sendAsPeers
type TL_channels_inviteToChannel ¶
type TL_channels_inviteToChannel struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Users []TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns messages.InvitedUsers: TL_messages_invitedUsers
type TL_channels_joinChannel ¶
type TL_channels_joinChannel struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_leaveChannel ¶
type TL_channels_leaveChannel struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_readHistory ¶
type TL_channels_readHistory struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
MaxID int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_channels_readMessageContents ¶
type TL_channels_readMessageContents struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
ID []int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_channels_reorderUsernames ¶
type TL_channels_reorderUsernames struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Order []string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_channels_reportAntiSpamFalsePositive ¶
type TL_channels_reportAntiSpamFalsePositive struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
MsgID int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_channels_reportSpam ¶
type TL_channels_reportSpam struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Participant TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID []int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_channels_restrictSponsoredMessages ¶ added in v0.181.0
type TL_channels_restrictSponsoredMessages struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Restricted bool
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_searchPosts ¶ added in v0.181.0
type TL_channels_searchPosts struct {
Hashtag *string // (optional)
Query *string // (optional)
OffsetRate int32
OffsetPeer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
OffsetID int32
Limit int32
AllowPaidStars *int64 // (optional)
}
Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified
type TL_channels_sendAsPeers ¶
type TL_channels_sendAsPeers struct {
Peers []TL_sendAsPeer
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs channels.SendAsPeers
type TL_channels_setBoostsToUnblockRestrictions ¶ added in v0.181.0
type TL_channels_setBoostsToUnblockRestrictions struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Boosts int32
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_setDiscussionGroup ¶
type TL_channels_setDiscussionGroup struct {
Broadcast TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Group TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_channels_setEmojiStickers ¶ added in v0.181.0
type TL_channels_setEmojiStickers struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses | TL_inputStickerSetTonGifts
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_channels_setMainProfileTab ¶ added in v0.218.0
type TL_channels_setMainProfileTab struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Tab TL // ProfileTab: TL_profileTabPosts | TL_profileTabGifts | TL_profileTabMedia | TL_profileTabFiles | TL_profileTabMusic | TL_profileTabVoice | TL_profileTabLinks | TL_profileTabGIFs
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_channels_setStickers ¶
type TL_channels_setStickers struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses | TL_inputStickerSetTonGifts
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_channels_sponsoredMessageReportResultAdsHidden ¶ added in v0.181.0
type TL_channels_sponsoredMessageReportResultAdsHidden struct {
}
Constructs channels.SponsoredMessageReportResult
type TL_channels_sponsoredMessageReportResultChooseOption ¶ added in v0.181.0
type TL_channels_sponsoredMessageReportResultChooseOption struct {
Title string
Options []TL_sponsoredMessageReportOption
}
Constructs channels.SponsoredMessageReportResult
type TL_channels_sponsoredMessageReportResultReported ¶ added in v0.181.0
type TL_channels_sponsoredMessageReportResultReported struct {
}
Constructs channels.SponsoredMessageReportResult
type TL_channels_toggleAntiSpam ¶
type TL_channels_toggleAntiSpam struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Enabled bool
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_toggleAutotranslation ¶ added in v0.218.0
type TL_channels_toggleAutotranslation struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Enabled bool
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_toggleForum ¶
type TL_channels_toggleForum struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Enabled bool
Tabs bool
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_toggleJoinRequest ¶
type TL_channels_toggleJoinRequest struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Enabled bool
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_toggleJoinToSend ¶
type TL_channels_toggleJoinToSend struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Enabled bool
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_toggleParticipantsHidden ¶
type TL_channels_toggleParticipantsHidden struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Enabled bool
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_togglePreHistoryHidden ¶
type TL_channels_togglePreHistoryHidden struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Enabled bool
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_toggleSignatures ¶
type TL_channels_toggleSignatures struct {
SignaturesEnabled bool
ProfilesEnabled bool
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_toggleSlowMode ¶
type TL_channels_toggleSlowMode struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Seconds int32
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_toggleUsername ¶
type TL_channels_toggleUsername struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Username string
Active bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_channels_toggleViewForumAsMessages ¶ added in v0.167.0
type TL_channels_toggleViewForumAsMessages struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Enabled bool
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_updateColor ¶ added in v0.166.0
type TL_channels_updateColor struct {
ForProfile bool
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Color *int32 // (optional)
BackgroundEmojiID *int64 // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_updateEmojiStatus ¶ added in v0.181.0
type TL_channels_updateEmojiStatus struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
EmojiStatus TL // EmojiStatus: TL_emojiStatusEmpty | TL_emojiStatus | TL_emojiStatusCollectible | TL_inputEmojiStatusCollectible
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_updatePaidMessagesPrice ¶ added in v0.218.0
type TL_channels_updatePaidMessagesPrice struct {
BroadcastMessagesAllowed bool
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
SendPaidMessagesStars int64
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_channels_updateUsername ¶
type TL_channels_updateUsername struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Username string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_chat ¶
type TL_chat struct {
Creator bool
Left bool
Deactivated bool
CallActive bool
CallNotEmpty bool
Noforwards bool
ID int64
Title string
Photo TL // ChatPhoto: TL_chatPhotoEmpty | TL_chatPhoto
ParticipantsCount int32
Date int32
Version int32
MigratedTo TL // (optional) InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
AdminRights *TL_chatAdminRights // (optional)
DefaultBannedRights *TL_chatBannedRights // (optional)
}
Constructs Chat
type TL_chatAdminRights ¶
type TL_chatAdminRights struct {
ChangeInfo bool
PostMessages bool
EditMessages bool
DeleteMessages bool
BanUsers bool
InviteUsers bool
PINMessages bool
AddAdmins bool
Anonymous bool
ManageCall bool
Other bool
ManageTopics bool
PostStories bool
EditStories bool
DeleteStories bool
ManageDirectMessages bool
}
Constructs ChatAdminRights
type TL_chatAdminWithInvites ¶
Constructs ChatAdminWithInvites
type TL_chatBannedRights ¶
type TL_chatBannedRights struct {
ViewMessages bool
SendMessages bool
SendMedia bool
SendStickers bool
SendGIFs bool
SendGames bool
SendInline bool
EmbedLinks bool
SendPolls bool
ChangeInfo bool
InviteUsers bool
PINMessages bool
ManageTopics bool
SendPhotos bool
SendVideos bool
SendRoundvideos bool
SendAudios bool
SendVoices bool
SendDocs bool
SendPlain bool
UntilDate int32
}
Constructs ChatBannedRights
type TL_chatFull ¶
type TL_chatFull struct {
CanSetUsername bool
HasScheduled bool
TranslationsDisabled bool
ID int64
About string
Participants TL // ChatParticipants: TL_chatParticipantsForbidden | TL_chatParticipants
ChatPhoto TL // (optional) Photo: TL_photoEmpty | TL_photo
NotifySettings TL_peerNotifySettings
ExportedInvite TL // (optional) ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
BotInfo []TL_botInfo // (optional)
PinnedMsgID *int32 // (optional)
FolderID *int32 // (optional)
Call TL // (optional) InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
TTLPeriod *int32 // (optional)
GroupcallDefaultJoinAs TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
ThemeEmoticon *string // (optional)
RequestsPending *int32 // (optional)
RecentRequesters []int64 // (optional)
AvailableReactions TL // (optional) ChatReactions: TL_chatReactionsNone | TL_chatReactionsAll | TL_chatReactionsSome
ReactionsLimit *int32 // (optional)
}
Constructs ChatFull
type TL_chatInvite ¶
type TL_chatInvite struct {
Channel bool
Broadcast bool
Public bool
Megagroup bool
RequestNeeded bool
Verified bool
Scam bool
Fake bool
CanRefulfillSubscription bool
Title string
About *string // (optional)
Photo TL // Photo: TL_photoEmpty | TL_photo
ParticipantsCount int32
Participants []TL // (optional) User: TL_userEmpty | TL_user
Color int32
SubscriptionPricing *TL_starsSubscriptionPricing // (optional)
SubscriptionFormID *int64 // (optional)
BotVerification *TL_botVerification // (optional)
}
Constructs ChatInvite
type TL_chatInviteAlready ¶
type TL_chatInviteAlready struct {
Chat TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
}
Constructs ChatInvite
type TL_chatInviteExported ¶
type TL_chatInviteExported struct {
Revoked bool
Permanent bool
RequestNeeded bool
Link string
AdminID int64
Date int32
StartDate *int32 // (optional)
ExpireDate *int32 // (optional)
UsageLimit *int32 // (optional)
Usage *int32 // (optional)
Requested *int32 // (optional)
SubscriptionExpired *int32 // (optional)
Title *string // (optional)
SubscriptionPricing *TL_starsSubscriptionPricing // (optional)
}
Constructs ExportedChatInvite
type TL_chatInviteImporter ¶
type TL_chatInviteImporter struct {
Requested bool
ViaChatlist bool
UserID int64
Date int32
About *string // (optional)
ApprovedBy *int64 // (optional)
}
Constructs ChatInviteImporter
type TL_chatInvitePeek ¶
type TL_chatInvitePeek struct {
Chat TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Expires int32
}
Constructs ChatInvite
type TL_chatInvitePublicJoinRequests ¶
type TL_chatInvitePublicJoinRequests struct {
}
Constructs ExportedChatInvite
type TL_chatParticipant ¶
Constructs ChatParticipant
type TL_chatParticipantAdmin ¶
Constructs ChatParticipant
type TL_chatParticipantCreator ¶
type TL_chatParticipantCreator struct {
UserID int64
}
Constructs ChatParticipant
type TL_chatParticipants ¶
type TL_chatParticipants struct {
ChatID int64
Participants []TL // ChatParticipant: TL_chatParticipant | TL_chatParticipantCreator | TL_chatParticipantAdmin
Version int32
}
Constructs ChatParticipants
type TL_chatParticipantsForbidden ¶
type TL_chatParticipantsForbidden struct {
ChatID int64
SelfParticipant TL // (optional) ChatParticipant: TL_chatParticipant | TL_chatParticipantCreator | TL_chatParticipantAdmin
}
Constructs ChatParticipants
type TL_chatPhoto ¶
type TL_chatPhoto struct {
HasVideo bool
PhotoID int64
StrippedThumb []byte // (optional)
DCID int32
}
Constructs ChatPhoto
type TL_chatReactionsAll ¶
type TL_chatReactionsAll struct {
AllowCustom bool
}
Constructs ChatReactions
type TL_chatReactionsSome ¶
type TL_chatReactionsSome struct {
Reactions []TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}
Constructs ChatReactions
type TL_chatTheme ¶ added in v0.218.0
type TL_chatTheme struct {
Emoticon string
}
Constructs ChatTheme
type TL_chatThemeUniqueGift ¶ added in v0.218.0
type TL_chatThemeUniqueGift struct {
Gift TL // StarGift: TL_starGift | TL_starGiftUnique
ThemeSettings []TL_themeSettings
}
Constructs ChatTheme
type TL_chatlists_chatlistInvite ¶
type TL_chatlists_chatlistInvite struct {
TitleNoanimate bool
Title TL_textWithEntities
Emoticon *string // (optional)
Peers []TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs chatlists.ChatlistInvite
type TL_chatlists_chatlistInviteAlready ¶
type TL_chatlists_chatlistInviteAlready struct {
FilterID int32
MissingPeers []TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
AlreadyPeers []TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs chatlists.ChatlistInvite
type TL_chatlists_chatlistUpdates ¶
type TL_chatlists_chatlistUpdates struct {
MissingPeers []TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs chatlists.ChatlistUpdates
type TL_chatlists_checkChatlistInvite ¶
type TL_chatlists_checkChatlistInvite struct {
Slug string
}
Returns chatlists.ChatlistInvite: TL_chatlists_chatlistInviteAlready | TL_chatlists_chatlistInvite
type TL_chatlists_deleteExportedInvite ¶
type TL_chatlists_deleteExportedInvite struct {
Chatlist TL_inputChatlistDialogFilter
Slug string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_chatlists_editExportedInvite ¶
type TL_chatlists_editExportedInvite struct {
Chatlist TL_inputChatlistDialogFilter
Slug string
Title *string // (optional)
Peers []TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns ExportedChatlistInvite: TL_exportedChatlistInvite
type TL_chatlists_exportChatlistInvite ¶
type TL_chatlists_exportChatlistInvite struct {
Chatlist TL_inputChatlistDialogFilter
Title string
Peers []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns chatlists.ExportedChatlistInvite: TL_chatlists_exportedChatlistInvite
type TL_chatlists_exportedChatlistInvite ¶
type TL_chatlists_exportedChatlistInvite struct {
Filter TL // DialogFilter: TL_dialogFilter | TL_dialogFilterDefault | TL_dialogFilterChatlist
Invite TL_exportedChatlistInvite
}
Constructs chatlists.ExportedChatlistInvite
type TL_chatlists_exportedInvites ¶
type TL_chatlists_exportedInvites struct {
Invites []TL_exportedChatlistInvite
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs chatlists.ExportedInvites
type TL_chatlists_getChatlistUpdates ¶
type TL_chatlists_getChatlistUpdates struct {
Chatlist TL_inputChatlistDialogFilter
}
Returns chatlists.ChatlistUpdates: TL_chatlists_chatlistUpdates
type TL_chatlists_getExportedInvites ¶
type TL_chatlists_getExportedInvites struct {
Chatlist TL_inputChatlistDialogFilter
}
Returns chatlists.ExportedInvites: TL_chatlists_exportedInvites
type TL_chatlists_getLeaveChatlistSuggestions ¶
type TL_chatlists_getLeaveChatlistSuggestions struct {
Chatlist TL_inputChatlistDialogFilter
}
Returns Vector<Peer>: TL_peerUser | TL_peerChat | TL_peerChannel
type TL_chatlists_hideChatlistUpdates ¶
type TL_chatlists_hideChatlistUpdates struct {
Chatlist TL_inputChatlistDialogFilter
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_chatlists_joinChatlistInvite ¶
type TL_chatlists_joinChatlistInvite struct {
Slug string
Peers []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_chatlists_joinChatlistUpdates ¶
type TL_chatlists_joinChatlistUpdates struct {
Chatlist TL_inputChatlistDialogFilter
Peers []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_chatlists_leaveChatlist ¶
type TL_chatlists_leaveChatlist struct {
Chatlist TL_inputChatlistDialogFilter
Peers []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_clientDHInnerData ¶ added in v0.166.2
Constructs Client_DH_Inner_Data
type TL_codeSettings ¶
type TL_codeSettings struct {
AllowFlashcall bool
CurrentNumber bool
AllowAppHash bool
AllowMissedCall bool
AllowFirebase bool
UnknownNumber bool
LogoutTokens [][]byte // (optional)
Token *string // (optional)
AppSandbox *bool // (optional)
}
Constructs CodeSettings
type TL_config ¶
type TL_config struct {
DefaultP2PContacts bool
PreloadFeaturedStickers bool
RevokePMInbox bool
BlockedMode bool
ForceTryIPv6 bool
Date int32
Expires int32
TestMode bool
ThisDC int32
DCOptions []TL_dcOption
DCTXTDomainName string
ChatSizeMax int32
MegagroupSizeMax int32
ForwardedCountMax int32
OnlineUpdatePeriodMS int32
OfflineBlurTimeoutMS int32
OfflineIdleTimeoutMS int32
OnlineCloudTimeoutMS int32
NotifyCloudDelayMS int32
NotifyDefaultDelayMS int32
PushChatPeriodMS int32
PushChatLimit int32
EditTimeLimit int32
RevokeTimeLimit int32
RevokePMTimeLimit int32
RatingEDecay int32
StickersRecentLimit int32
ChannelsReadMediaPeriod int32
TmpSessions *int32 // (optional)
CallReceiveTimeoutMS int32
CallRingTimeoutMS int32
CallConnectTimeoutMS int32
CallPacketTimeoutMS int32
MeURLPrefix string
AutoupdateURLPrefix *string // (optional)
GIFSearchUsername *string // (optional)
VenueSearchUsername *string // (optional)
ImgSearchUsername *string // (optional)
StaticMapsProvider *string // (optional)
CaptionLengthMax int32
MessageLengthMax int32
WebfileDCID int32
SuggestedLangCode *string // (optional)
LangPackVersion *int32 // (optional)
BaseLangPackVersion *int32 // (optional)
ReactionsDefault TL // (optional) Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
AutologinToken *string // (optional)
}
Constructs Config
type TL_connectedBot ¶ added in v0.181.0
type TL_connectedBot struct {
BotID int64
Recipients TL_businessBotRecipients
Rights TL_businessBotRights
}
Constructs ConnectedBot
type TL_connectedBotStarRef ¶ added in v0.195.0
type TL_connectedBotStarRef struct {
Revoked bool
URL string
Date int32
BotID int64
CommissionPermille int32
DurationMonths *int32 // (optional)
Participants int64
Revenue int64
}
Constructs ConnectedBotStarRef
type TL_contactBirthday ¶ added in v0.181.0
type TL_contactBirthday struct {
ContactID int64
Birthday TL_birthday
}
Constructs ContactBirthday
type TL_contactStatus ¶
type TL_contactStatus struct {
UserID int64
Status TL // UserStatus: TL_userStatusEmpty | TL_userStatusOnline | TL_userStatusOffline | TL_userStatusRecently | TL_userStatusLastWeek | TL_userStatusLastMonth
}
Constructs ContactStatus
type TL_contacts_acceptContact ¶
type TL_contacts_acceptContact struct {
ID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_contacts_addContact ¶
type TL_contacts_addContact struct {
AddPhonePrivacyException bool
ID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
FirstName string
LastName string
Phone string
Note *TL_textWithEntities // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_contacts_block ¶
type TL_contacts_block struct {
MyStoriesFrom bool
ID TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_contacts_blockFromReplies ¶
type TL_contacts_blockFromReplies struct {
DeleteMessage bool
DeleteHistory bool
ReportSpam bool
MsgID int32
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_contacts_blocked ¶
type TL_contacts_blocked struct {
Blocked []TL_peerBlocked
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs contacts.Blocked
type TL_contacts_blockedSlice ¶
type TL_contacts_blockedSlice struct {
Count int32
Blocked []TL_peerBlocked
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs contacts.Blocked
type TL_contacts_contactBirthdays ¶ added in v0.181.0
type TL_contacts_contactBirthdays struct {
Contacts []TL_contactBirthday
Users []TL // User: TL_userEmpty | TL_user
}
Constructs contacts.ContactBirthdays
type TL_contacts_contacts ¶
type TL_contacts_contacts struct {
Contacts []TL_contact
SavedCount int32
Users []TL // User: TL_userEmpty | TL_user
}
Constructs contacts.Contacts
type TL_contacts_contactsNotModified ¶
type TL_contacts_contactsNotModified struct {
}
Constructs contacts.Contacts
type TL_contacts_deleteByPhones ¶
type TL_contacts_deleteByPhones struct {
Phones []string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_contacts_deleteContacts ¶
type TL_contacts_deleteContacts struct {
ID []TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_contacts_editCloseFriends ¶ added in v0.166.0
type TL_contacts_editCloseFriends struct {
ID []int64
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_contacts_exportContactToken ¶
type TL_contacts_exportContactToken struct {
}
Returns ExportedContactToken: TL_exportedContactToken
type TL_contacts_found ¶
type TL_contacts_found struct {
MyResults []TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Results []TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs contacts.Found
type TL_contacts_getBirthdays ¶ added in v0.181.0
type TL_contacts_getBirthdays struct {
}
Returns contacts.ContactBirthdays: TL_contacts_contactBirthdays
type TL_contacts_getBlocked ¶
Returns contacts.Blocked: TL_contacts_blocked | TL_contacts_blockedSlice
type TL_contacts_getContactIDs ¶
type TL_contacts_getContactIDs struct {
Hash int64
}
Returns Vector<int>:
type TL_contacts_getContacts ¶
type TL_contacts_getContacts struct {
Hash int64
}
Returns contacts.Contacts: TL_contacts_contactsNotModified | TL_contacts_contacts
type TL_contacts_getLocated ¶
type TL_contacts_getLocated struct {
Background bool
GeoPoint TL // InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
SelfExpires *int32 // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_contacts_getSaved ¶
type TL_contacts_getSaved struct {
}
Returns Vector<SavedContact>: TL_savedPhoneContact
type TL_contacts_getSponsoredPeers ¶ added in v0.218.0
type TL_contacts_getSponsoredPeers struct {
Q string
}
Returns contacts.SponsoredPeers: TL_contacts_sponsoredPeersEmpty | TL_contacts_sponsoredPeers
type TL_contacts_getStatuses ¶
type TL_contacts_getStatuses struct {
}
Returns Vector<ContactStatus>: TL_contactStatus
type TL_contacts_getTopPeers ¶
type TL_contacts_getTopPeers struct {
Correspondents bool
BotsPM bool
BotsInline bool
PhoneCalls bool
ForwardUsers bool
ForwardChats bool
Groups bool
Channels bool
BotsApp bool
Offset int32
Limit int32
Hash int64
}
Returns contacts.TopPeers: TL_contacts_topPeersNotModified | TL_contacts_topPeers | TL_contacts_topPeersDisabled
type TL_contacts_importContactToken ¶
type TL_contacts_importContactToken struct {
Token string
}
Returns User: TL_userEmpty | TL_user
type TL_contacts_importContacts ¶
type TL_contacts_importContacts struct {
Contacts []TL_inputPhoneContact
}
Returns contacts.ImportedContacts: TL_contacts_importedContacts
type TL_contacts_importedContacts ¶
type TL_contacts_importedContacts struct {
Imported []TL_importedContact
PopularInvites []TL_popularContact
RetryContacts []int64
Users []TL // User: TL_userEmpty | TL_user
}
Constructs contacts.ImportedContacts
type TL_contacts_resetSaved ¶
type TL_contacts_resetSaved struct {
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_contacts_resetTopPeerRating ¶
type TL_contacts_resetTopPeerRating struct {
Category TL // TopPeerCategory: TL_topPeerCategoryBotsPM | TL_topPeerCategoryBotsInline | TL_topPeerCategoryCorrespondents | TL_topPeerCategoryGroups | TL_topPeerCategoryChannels | TL_topPeerCategoryPhoneCalls | TL_topPeerCategoryForwardUsers | TL_topPeerCategoryForwardChats | TL_topPeerCategoryBotsApp
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_contacts_resolvePhone ¶
type TL_contacts_resolvePhone struct {
Phone string
}
Returns contacts.ResolvedPeer: TL_contacts_resolvedPeer
type TL_contacts_resolveUsername ¶
Returns contacts.ResolvedPeer: TL_contacts_resolvedPeer
type TL_contacts_resolvedPeer ¶
type TL_contacts_resolvedPeer struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs contacts.ResolvedPeer
type TL_contacts_search ¶
Returns contacts.Found: TL_contacts_found
type TL_contacts_setBlocked ¶ added in v0.166.0
type TL_contacts_setBlocked struct {
MyStoriesFrom bool
ID []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Limit int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_contacts_sponsoredPeers ¶ added in v0.218.0
type TL_contacts_sponsoredPeers struct {
Peers []TL_sponsoredPeer
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs contacts.SponsoredPeers
type TL_contacts_sponsoredPeersEmpty ¶ added in v0.218.0
type TL_contacts_sponsoredPeersEmpty struct {
}
Constructs contacts.SponsoredPeers
type TL_contacts_toggleTopPeers ¶
type TL_contacts_toggleTopPeers struct {
Enabled bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_contacts_topPeers ¶
type TL_contacts_topPeers struct {
Categories []TL_topPeerCategoryPeers
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs contacts.TopPeers
type TL_contacts_topPeersDisabled ¶
type TL_contacts_topPeersDisabled struct {
}
Constructs contacts.TopPeers
type TL_contacts_topPeersNotModified ¶
type TL_contacts_topPeersNotModified struct {
}
Constructs contacts.TopPeers
type TL_contacts_unblock ¶
type TL_contacts_unblock struct {
MyStoriesFrom bool
ID TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_contacts_updateContactNote ¶ added in v0.218.0
type TL_contacts_updateContactNote struct {
ID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Note TL_textWithEntities
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_dcOption ¶
type TL_dcOption struct {
IPv6 bool
MediaOnly bool
TCPOOnly bool
CDN bool
Static bool
ThisPortOnly bool
ID int32
IPAddress string
Port int32
Secret []byte // (optional)
}
Constructs DcOption
type TL_defaultHistoryTTL ¶
type TL_defaultHistoryTTL struct {
Period int32
}
Constructs DefaultHistoryTTL
type TL_destroyAuthKey ¶ added in v0.166.2
type TL_destroyAuthKey struct {
}
Returns DestroyAuthKeyRes: TL_destroyAuthKeyOK | TL_destroyAuthKeyNone | TL_destroyAuthKeyFail
type TL_destroyAuthKeyFail ¶ added in v0.166.2
type TL_destroyAuthKeyFail struct {
}
Constructs DestroyAuthKeyRes
type TL_destroyAuthKeyNone ¶ added in v0.166.2
type TL_destroyAuthKeyNone struct {
}
Constructs DestroyAuthKeyRes
type TL_destroyAuthKeyOK ¶ added in v0.166.2
type TL_destroyAuthKeyOK struct {
}
Constructs DestroyAuthKeyRes
type TL_destroySession ¶ added in v0.166.2
type TL_destroySession struct {
SessionID int64
}
Returns DestroySessionRes: TL_destroySessionOK | TL_destroySessionNone
type TL_destroySessionNone ¶ added in v0.166.2
type TL_destroySessionNone struct {
SessionID int64
}
Constructs DestroySessionRes
type TL_destroySessionOK ¶ added in v0.166.2
type TL_destroySessionOK struct {
SessionID int64
}
Constructs DestroySessionRes
type TL_dhGenFail ¶ added in v0.166.2
Constructs Set_client_DH_params_answer
type TL_dhGenOK ¶ added in v0.166.2
Constructs Set_client_DH_params_answer
type TL_dhGenRetry ¶ added in v0.166.2
Constructs Set_client_DH_params_answer
type TL_dialog ¶
type TL_dialog struct {
Pinned bool
UnreadMark bool
ViewForumAsMessages bool
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
TopMessage int32
ReadInboxMaxID int32
ReadOutboxMaxID int32
UnreadCount int32
UnreadMentionsCount int32
UnreadReactionsCount int32
NotifySettings TL_peerNotifySettings
PTS *int32 // (optional)
Draft TL // (optional) DraftMessage: TL_draftMessageEmpty | TL_draftMessage
FolderID *int32 // (optional)
TTLPeriod *int32 // (optional)
}
Constructs Dialog
type TL_dialogFilter ¶
type TL_dialogFilter struct {
Contacts bool
NonContacts bool
Groups bool
Broadcasts bool
Bots bool
ExcludeMuted bool
ExcludeRead bool
ExcludeArchived bool
TitleNoanimate bool
ID int32
Title TL_textWithEntities
Emoticon *string // (optional)
Color *int32 // (optional)
PinnedPeers []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
IncludePeers []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ExcludePeers []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Constructs DialogFilter
type TL_dialogFilterChatlist ¶
type TL_dialogFilterChatlist struct {
HasMyInvites bool
TitleNoanimate bool
ID int32
Title TL_textWithEntities
Emoticon *string // (optional)
Color *int32 // (optional)
PinnedPeers []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
IncludePeers []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Constructs DialogFilter
type TL_dialogFilterSuggested ¶
type TL_dialogFilterSuggested struct {
Filter TL // DialogFilter: TL_dialogFilter | TL_dialogFilterDefault | TL_dialogFilterChatlist
Description string
}
Constructs DialogFilterSuggested
type TL_dialogFolder ¶
type TL_dialogFolder struct {
Pinned bool
Folder TL_folder
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
TopMessage int32
UnreadMutedPeersCount int32
UnreadUnmutedPeersCount int32
UnreadMutedMessagesCount int32
UnreadUnmutedMessagesCount int32
}
Constructs Dialog
type TL_dialogPeer ¶
type TL_dialogPeer struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}
Constructs DialogPeer
type TL_disallowedGiftsSettings ¶ added in v0.218.0
type TL_disallowedGiftsSettings struct {
DisallowUnlimitedStargifts bool
DisallowLimitedStargifts bool
DisallowUniqueStargifts bool
DisallowPremiumGifts bool
DisallowStargiftsFromChannels bool
}
Constructs DisallowedGiftsSettings
type TL_document ¶
type TL_document struct {
ID int64
AccessHash int64
FileReference []byte
Date int32
MIMEType string
Size int64
Thumbs []TL // (optional) PhotoSize: TL_photoSizeEmpty | TL_photoSize | TL_photoCachedSize | TL_photoStrippedSize | TL_photoSizeProgressive | TL_photoPathSize
VideoThumbs []TL // (optional) VideoSize: TL_videoSize | TL_videoSizeEmojiMarkup | TL_videoSizeStickerMarkup
DCID int32
Attributes []TL // DocumentAttribute: TL_documentAttributeImageSize | TL_documentAttributeAnimated | TL_documentAttributeSticker | TL_documentAttributeVideo | TL_documentAttributeAudio | TL_documentAttributeFilename | TL_documentAttributeHasStickers | TL_documentAttributeCustomEmoji
}
Constructs Document
type TL_documentAttributeAnimated ¶
type TL_documentAttributeAnimated struct {
}
Constructs DocumentAttribute
type TL_documentAttributeAudio ¶
type TL_documentAttributeAudio struct {
Voice bool
Duration int32
Title *string // (optional)
Performer *string // (optional)
Waveform []byte // (optional)
}
Constructs DocumentAttribute
type TL_documentAttributeCustomEmoji ¶
type TL_documentAttributeCustomEmoji struct {
Free bool
TextColor bool
Alt string
Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses | TL_inputStickerSetTonGifts
}
Constructs DocumentAttribute
type TL_documentAttributeFilename ¶
type TL_documentAttributeFilename struct {
FileName string
}
Constructs DocumentAttribute
type TL_documentAttributeHasStickers ¶
type TL_documentAttributeHasStickers struct {
}
Constructs DocumentAttribute
type TL_documentAttributeImageSize ¶
Constructs DocumentAttribute
type TL_documentAttributeSticker ¶
type TL_documentAttributeSticker struct {
Mask bool
Alt string
Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses | TL_inputStickerSetTonGifts
MaskCoords *TL_maskCoords // (optional)
}
Constructs DocumentAttribute
type TL_documentAttributeVideo ¶
type TL_documentAttributeVideo struct {
RoundMessage bool
SupportsStreaming bool
Nosound bool
Duration float64
W int32
H int32
PreloadPrefixSize *int32 // (optional)
VideoStartTS *float64 // (optional)
VideoCodec *string // (optional)
}
Constructs DocumentAttribute
type TL_draftMessage ¶
type TL_draftMessage struct {
NoWebpage bool
InvertMedia bool
ReplyTo TL // (optional) InputReplyTo: TL_inputReplyToMessage | TL_inputReplyToStory | TL_inputReplyToMonoForum
Message string
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
Media TL // (optional) InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia | TL_inputMediaTodo
Date int32
Effect *int64 // (optional)
SuggestedPost *TL_suggestedPost // (optional)
}
Constructs DraftMessage
type TL_draftMessageEmpty ¶
type TL_draftMessageEmpty struct {
Date *int32 // (optional)
}
Constructs DraftMessage
type TL_emailVerificationApple ¶
type TL_emailVerificationApple struct {
Token string
}
Constructs EmailVerification
type TL_emailVerificationCode ¶
type TL_emailVerificationCode struct {
Code string
}
Constructs EmailVerification
type TL_emailVerificationGoogle ¶
type TL_emailVerificationGoogle struct {
Token string
}
Constructs EmailVerification
type TL_emailVerifyPurposeLoginChange ¶
type TL_emailVerifyPurposeLoginChange struct {
}
Constructs EmailVerifyPurpose
type TL_emailVerifyPurposeLoginSetup ¶
Constructs EmailVerifyPurpose
type TL_emailVerifyPurposePassport ¶
type TL_emailVerifyPurposePassport struct {
}
Constructs EmailVerifyPurpose
type TL_emojiGroup ¶
Constructs EmojiGroup
type TL_emojiGroupGreeting ¶ added in v0.181.0
Constructs EmojiGroup
type TL_emojiGroupPremium ¶ added in v0.181.0
Constructs EmojiGroup
type TL_emojiKeyword ¶
Constructs EmojiKeyword
type TL_emojiKeywordDeleted ¶
Constructs EmojiKeyword
type TL_emojiKeywordsDifference ¶
type TL_emojiKeywordsDifference struct {
LangCode string
FromVersion int32
Version int32
Keywords []TL // EmojiKeyword: TL_emojiKeyword | TL_emojiKeywordDeleted
}
Constructs EmojiKeywordsDifference
type TL_emojiStatus ¶
Constructs EmojiStatus
type TL_emojiStatusCollectible ¶ added in v0.218.0
type TL_emojiStatusCollectible struct {
CollectibleID int64
DocumentID int64
Title string
Slug string
PatternDocumentID int64
CenterColor int32
EdgeColor int32
PatternColor int32
TextColor int32
Until *int32 // (optional)
}
Constructs EmojiStatus
type TL_encryptedChat ¶
type TL_encryptedChat struct {
ID int32
AccessHash int64
Date int32
AdminID int64
ParticipantID int64
GAOrB []byte
KeyFingerprint int64
}
Constructs EncryptedChat
type TL_encryptedChatDiscarded ¶
Constructs EncryptedChat
type TL_encryptedChatEmpty ¶
type TL_encryptedChatEmpty struct {
ID int32
}
Constructs EncryptedChat
type TL_encryptedChatRequested ¶
type TL_encryptedChatRequested struct {
FolderID *int32 // (optional)
ID int32
AccessHash int64
Date int32
AdminID int64
ParticipantID int64
GA []byte
}
Constructs EncryptedChat
type TL_encryptedChatWaiting ¶
type TL_encryptedChatWaiting struct {
ID int32
AccessHash int64
Date int32
AdminID int64
ParticipantID int64
}
Constructs EncryptedChat
type TL_encryptedFile ¶
type TL_encryptedFile struct {
ID int64
AccessHash int64
Size int64
DCID int32
KeyFingerprint int32
}
Constructs EncryptedFile
type TL_encryptedMessage ¶
type TL_encryptedMessage struct {
RandomID int64
ChatID int32
Date int32
Bytes []byte
File TL // EncryptedFile: TL_encryptedFileEmpty | TL_encryptedFile
}
Constructs EncryptedMessage
type TL_encryptedMessageService ¶
Constructs EncryptedMessage
type TL_exportedChatlistInvite ¶
type TL_exportedChatlistInvite struct {
Title string
URL string
Peers []TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}
Constructs ExportedChatlistInvite
type TL_exportedContactToken ¶
Constructs ExportedContactToken
type TL_exportedMessageLink ¶
Constructs ExportedMessageLink
type TL_exportedStoryLink ¶ added in v0.166.0
type TL_exportedStoryLink struct {
Link string
}
Constructs ExportedStoryLink
type TL_factCheck ¶ added in v0.181.0
type TL_factCheck struct {
NeedCheck bool
Country *string // (optional)
Text *TL_textWithEntities // (optional)
Hash int64
}
Constructs FactCheck
type TL_fileHash ¶
Constructs FileHash
type TL_folder ¶
type TL_folder struct {
AutofillNewBroadcasts bool
AutofillPublicGroups bool
AutofillNewCorrespondents bool
ID int32
Title string
Photo TL // (optional) ChatPhoto: TL_chatPhotoEmpty | TL_chatPhoto
}
Constructs Folder
type TL_folderPeer ¶
type TL_folderPeer struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
FolderID int32
}
Constructs FolderPeer
type TL_folders_editPeerFolders ¶
type TL_folders_editPeerFolders struct {
FolderPeers []TL_inputFolderPeer
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_forumTopic ¶
type TL_forumTopic struct {
My bool
Closed bool
Pinned bool
Short bool
Hidden bool
TitleMissing bool
ID int32
Date int32
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Title string
IconColor int32
IconEmojiID *int64 // (optional)
TopMessage int32
ReadInboxMaxID int32
ReadOutboxMaxID int32
UnreadCount int32
UnreadMentionsCount int32
UnreadReactionsCount int32
FromID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
NotifySettings TL_peerNotifySettings
Draft TL // (optional) DraftMessage: TL_draftMessageEmpty | TL_draftMessage
}
Constructs ForumTopic
type TL_foundStory ¶ added in v0.183.0
type TL_foundStory struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Story TL // StoryItem: TL_storyItemDeleted | TL_storyItemSkipped | TL_storyItem
}
Constructs FoundStory
type TL_fragment_collectibleInfo ¶ added in v0.181.0
type TL_fragment_collectibleInfo struct {
PurchaseDate int32
Currency string
Amount int64
CryptoCurrency string
CryptoAmount int64
URL string
}
Constructs fragment.CollectibleInfo
type TL_fragment_getCollectibleInfo ¶ added in v0.181.0
type TL_fragment_getCollectibleInfo struct {
Collectible TL // InputCollectible: TL_inputCollectibleUsername | TL_inputCollectiblePhone
}
Returns fragment.CollectibleInfo: TL_fragment_collectibleInfo
type TL_futureSalt ¶ added in v0.166.2
Constructs FutureSalt
type TL_futureSalts ¶ added in v0.166.2
Constructs FutureSalts
type TL_game ¶
type TL_game struct {
ID int64
AccessHash int64
ShortName string
Title string
Description string
Photo TL // Photo: TL_photoEmpty | TL_photo
Document TL // (optional) Document: TL_documentEmpty | TL_document
}
Constructs Game
type TL_geoPoint ¶
type TL_geoPoint struct {
Long float64
Lat float64
AccessHash int64
AccuracyRadius *int32 // (optional)
}
Constructs GeoPoint
type TL_geoPointAddress ¶ added in v0.183.0
type TL_geoPointAddress struct {
CountryISO2 string
State *string // (optional)
City *string // (optional)
Street *string // (optional)
}
Constructs GeoPointAddress
type TL_getFutureSalts ¶ added in v0.166.2
type TL_getFutureSalts struct {
Num int32
}
Returns FutureSalts: TL_futureSalts
type TL_globalPrivacySettings ¶
type TL_globalPrivacySettings struct {
ArchiveAndMuteNewNoncontactPeers bool
KeepArchivedUnmuted bool
KeepArchivedFolders bool
HideReadMarks bool
NewNoncontactPeersRequirePremium bool
DisplayGiftsButton bool
NoncontactPeersPaidStars *int64 // (optional)
DisallowedGifts *TL_disallowedGiftsSettings // (optional)
}
Constructs GlobalPrivacySettings
type TL_groupCall ¶
type TL_groupCall struct {
JoinMuted bool
CanChangeJoinMuted bool
JoinDateAsc bool
ScheduleStartSubscribed bool
CanStartVideo bool
RecordVideoActive bool
RTMPStream bool
ListenersHidden bool
Conference bool
Creator bool
MessagesEnabled bool
CanChangeMessagesEnabled bool
Min bool
ID int64
AccessHash int64
ParticipantsCount int32
Title *string // (optional)
StreamDCID *int32 // (optional)
RecordStartDate *int32 // (optional)
ScheduleDate *int32 // (optional)
UnmutedVideoCount *int32 // (optional)
UnmutedVideoLimit int32
Version int32
InviteLink *string // (optional)
SendPaidMessagesStars *int64 // (optional)
DefaultSendAs TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}
Constructs GroupCall
type TL_groupCallDiscarded ¶
Constructs GroupCall
type TL_groupCallDonor ¶ added in v0.218.0
type TL_groupCallDonor struct {
Top bool
My bool
PeerID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Stars int64
}
Constructs GroupCallDonor
type TL_groupCallMessage ¶ added in v0.218.0
type TL_groupCallMessage struct {
FromAdmin bool
ID int32
FromID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Date int32
Message TL_textWithEntities
PaidMessageStars *int64 // (optional)
}
Constructs GroupCallMessage
type TL_groupCallParticipant ¶
type TL_groupCallParticipant struct {
Muted bool
Left bool
CanSelfUnmute bool
JustJoined bool
Versioned bool
Min bool
MutedByYou bool
VolumeByAdmin bool
Self bool
VideoJoined bool
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Date int32
ActiveDate *int32 // (optional)
Source int32
Volume *int32 // (optional)
About *string // (optional)
RaiseHandRating *int64 // (optional)
Video *TL_groupCallParticipantVideo // (optional)
Presentation *TL_groupCallParticipantVideo // (optional)
PaidStarsTotal *int64 // (optional)
}
Constructs GroupCallParticipant
type TL_groupCallParticipantVideo ¶
type TL_groupCallParticipantVideo struct {
Paused bool
Endpoint string
SourceGroups []TL_groupCallParticipantVideoSourceGroup
AudioSource *int32 // (optional)
}
Constructs GroupCallParticipantVideo
type TL_groupCallParticipantVideoSourceGroup ¶
Constructs GroupCallParticipantVideoSourceGroup
type TL_groupCallStreamChannel ¶
Constructs GroupCallStreamChannel
type TL_help_acceptTermsOfService ¶
type TL_help_acceptTermsOfService struct {
ID TL_dataJSON
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_help_appConfig ¶
type TL_help_appConfig struct {
Hash int32
Config TL // JSONValue: TL_jsonNull | TL_jsonBool | TL_jsonNumber | TL_jsonString | TL_jsonArray | TL_jsonObject
}
Constructs help.AppConfig
type TL_help_appConfigNotModified ¶
type TL_help_appConfigNotModified struct {
}
Constructs help.AppConfig
type TL_help_appUpdate ¶
type TL_help_appUpdate struct {
CanNotSkip bool
ID int32
Version string
Text string
Entities []TL // MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
Document TL // (optional) Document: TL_documentEmpty | TL_document
URL *string // (optional)
Sticker TL // (optional) Document: TL_documentEmpty | TL_document
}
Constructs help.AppUpdate
type TL_help_configSimple ¶
type TL_help_configSimple struct {
Date int32
Expires int32
Rules []TL_accessPointRule
}
Constructs help.ConfigSimple
type TL_help_countriesList ¶
type TL_help_countriesList struct {
Countries []TL_help_country
Hash int32
}
Constructs help.CountriesList
type TL_help_countriesListNotModified ¶
type TL_help_countriesListNotModified struct {
}
Constructs help.CountriesList
type TL_help_country ¶
type TL_help_country struct {
Hidden bool
ISO2 string
DefaultName string
Name *string // (optional)
CountryCodes []TL_help_countryCode
}
Constructs help.Country
type TL_help_countryCode ¶
type TL_help_countryCode struct {
CountryCode string
Prefixes []string // (optional)
Patterns []string // (optional)
}
Constructs help.CountryCode
type TL_help_deepLinkInfo ¶
type TL_help_deepLinkInfo struct {
UpdateApp bool
Message string
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
}
Constructs help.DeepLinkInfo
type TL_help_deepLinkInfoEmpty ¶
type TL_help_deepLinkInfoEmpty struct {
}
Constructs help.DeepLinkInfo
type TL_help_dismissSuggestion ¶
type TL_help_dismissSuggestion struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Suggestion string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_help_editUserInfo ¶
type TL_help_editUserInfo struct {
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Message string
Entities []TL // MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
}
Returns help.UserInfo: TL_help_userInfoEmpty | TL_help_userInfo
type TL_help_getAppConfig ¶
type TL_help_getAppConfig struct {
Hash int32
}
Returns help.AppConfig: TL_help_appConfigNotModified | TL_help_appConfig
type TL_help_getAppUpdate ¶
type TL_help_getAppUpdate struct {
Source string
}
Returns help.AppUpdate: TL_help_appUpdate | TL_help_noAppUpdate
type TL_help_getCDNConfig ¶ added in v0.166.2
type TL_help_getCDNConfig struct {
}
Returns CdnConfig: TL_cdnConfig
type TL_help_getCountriesList ¶
Returns help.CountriesList: TL_help_countriesListNotModified | TL_help_countriesList
type TL_help_getDeepLinkInfo ¶
type TL_help_getDeepLinkInfo struct {
Path string
}
Returns help.DeepLinkInfo: TL_help_deepLinkInfoEmpty | TL_help_deepLinkInfo
type TL_help_getInviteText ¶
type TL_help_getInviteText struct {
}
Returns help.InviteText: TL_help_inviteText
type TL_help_getNearestDC ¶ added in v0.166.2
type TL_help_getNearestDC struct {
}
Returns NearestDc: TL_nearestDC
type TL_help_getPassportConfig ¶
type TL_help_getPassportConfig struct {
Hash int32
}
Returns help.PassportConfig: TL_help_passportConfigNotModified | TL_help_passportConfig
type TL_help_getPeerColors ¶ added in v0.167.0
type TL_help_getPeerColors struct {
Hash int32
}
Returns help.PeerColors: TL_help_peerColorsNotModified | TL_help_peerColors
type TL_help_getPeerProfileColors ¶ added in v0.167.0
type TL_help_getPeerProfileColors struct {
Hash int32
}
Returns help.PeerColors: TL_help_peerColorsNotModified | TL_help_peerColors
type TL_help_getPremiumPromo ¶
type TL_help_getPremiumPromo struct {
}
Returns help.PremiumPromo: TL_help_premiumPromo
type TL_help_getPromoData ¶
type TL_help_getPromoData struct {
}
Returns help.PromoData: TL_help_promoDataEmpty | TL_help_promoData
type TL_help_getRecentMeURLs ¶ added in v0.166.2
type TL_help_getRecentMeURLs struct {
Referer string
}
Returns help.RecentMeUrls: TL_help_recentMeURLs
type TL_help_getSupportName ¶
type TL_help_getSupportName struct {
}
Returns help.SupportName: TL_help_supportName
type TL_help_getTermsOfServiceUpdate ¶
type TL_help_getTermsOfServiceUpdate struct {
}
Returns help.TermsOfServiceUpdate: TL_help_termsOfServiceUpdateEmpty | TL_help_termsOfServiceUpdate
type TL_help_getTimezonesList ¶ added in v0.181.0
type TL_help_getTimezonesList struct {
Hash int32
}
Returns help.TimezonesList: TL_help_timezonesListNotModified | TL_help_timezonesList
type TL_help_getUserInfo ¶
type TL_help_getUserInfo struct {
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns help.UserInfo: TL_help_userInfoEmpty | TL_help_userInfo
type TL_help_hidePromoData ¶
type TL_help_hidePromoData struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_help_inviteText ¶
type TL_help_inviteText struct {
Message string
}
Constructs help.InviteText
type TL_help_passportConfig ¶
type TL_help_passportConfig struct {
Hash int32
CountriesLangs TL_dataJSON
}
Constructs help.PassportConfig
type TL_help_passportConfigNotModified ¶
type TL_help_passportConfigNotModified struct {
}
Constructs help.PassportConfig
type TL_help_peerColorOption ¶ added in v0.167.0
type TL_help_peerColorOption struct {
Hidden bool
ColorID int32
Colors TL // (optional) help.PeerColorSet: TL_help_peerColorSet | TL_help_peerColorProfileSet
DarkColors TL // (optional) help.PeerColorSet: TL_help_peerColorSet | TL_help_peerColorProfileSet
ChannelMinLevel *int32 // (optional)
GroupMinLevel *int32 // (optional)
}
Constructs help.PeerColorOption
type TL_help_peerColorProfileSet ¶ added in v0.167.0
type TL_help_peerColorProfileSet struct {
PaletteColors []int32
BgColors []int32
StoryColors []int32
}
Constructs help.PeerColorSet
type TL_help_peerColorSet ¶ added in v0.167.0
type TL_help_peerColorSet struct {
Colors []int32
}
Constructs help.PeerColorSet
type TL_help_peerColors ¶ added in v0.167.0
type TL_help_peerColors struct {
Hash int32
Colors []TL_help_peerColorOption
}
Constructs help.PeerColors
type TL_help_peerColorsNotModified ¶ added in v0.167.0
type TL_help_peerColorsNotModified struct {
}
Constructs help.PeerColors
type TL_help_promoData ¶
type TL_help_promoData struct {
Proxy bool
Expires int32
Peer TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
PSAType *string // (optional)
PSAMessage *string // (optional)
PendingSuggestions []string
DismissedSuggestions []string
CustomPendingSuggestion *TL_pendingSuggestion // (optional)
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs help.PromoData
type TL_help_promoDataEmpty ¶
type TL_help_promoDataEmpty struct {
Expires int32
}
Constructs help.PromoData
type TL_help_recentMeURLs ¶ added in v0.166.2
type TL_help_recentMeURLs struct {
URLs []TL // RecentMeUrl: TL_recentMeURLUnknown | TL_recentMeURLUser | TL_recentMeURLChat | TL_recentMeURLChatInvite | TL_recentMeURLStickerSet
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs help.RecentMeUrls
type TL_help_saveAppLog ¶
type TL_help_saveAppLog struct {
Events []TL_inputAppEvent
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_help_setBotUpdatesStatus ¶
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_help_support ¶
Constructs help.Support
type TL_help_supportName ¶
type TL_help_supportName struct {
Name string
}
Constructs help.SupportName
type TL_help_termsOfService ¶
type TL_help_termsOfService struct {
Popup bool
ID TL_dataJSON
Text string
Entities []TL // MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
MinAgeConfirm *int32 // (optional)
}
Constructs help.TermsOfService
type TL_help_termsOfServiceUpdate ¶
type TL_help_termsOfServiceUpdate struct {
Expires int32
TermsOfService TL_help_termsOfService
}
Constructs help.TermsOfServiceUpdate
type TL_help_termsOfServiceUpdateEmpty ¶
type TL_help_termsOfServiceUpdateEmpty struct {
Expires int32
}
Constructs help.TermsOfServiceUpdate
type TL_help_timezonesList ¶ added in v0.181.0
type TL_help_timezonesList struct {
Timezones []TL_timezone
Hash int32
}
Constructs help.TimezonesList
type TL_help_timezonesListNotModified ¶ added in v0.181.0
type TL_help_timezonesListNotModified struct {
}
Constructs help.TimezonesList
type TL_help_userInfo ¶
type TL_help_userInfo struct {
Message string
Entities []TL // MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
Author string
Date int32
}
Constructs help.UserInfo
type TL_highScore ¶
Constructs HighScore
type TL_httpWait ¶ added in v0.166.2
Constructs HttpWait
type TL_importedContact ¶
Constructs ImportedContact
type TL_initConnection ¶
type TL_initConnection struct {
APIID int32
DeviceModel string
SystemVersion string
AppVersion string
SystemLangCode string
LangPack string
LangCode string
Proxy *TL_inputClientProxy // (optional)
Params TL // (optional) JSONValue: TL_jsonNull | TL_jsonBool | TL_jsonNumber | TL_jsonString | TL_jsonArray | TL_jsonObject
Query TLReq
}
Returns response to Query
type TL_inlineBotSwitchPM ¶
Constructs InlineBotSwitchPM
type TL_inlineBotWebView ¶
Constructs InlineBotWebView
type TL_inlineQueryPeerTypeBotPM ¶
type TL_inlineQueryPeerTypeBotPM struct {
}
Constructs InlineQueryPeerType
type TL_inlineQueryPeerTypeBroadcast ¶
type TL_inlineQueryPeerTypeBroadcast struct {
}
Constructs InlineQueryPeerType
type TL_inlineQueryPeerTypeChat ¶
type TL_inlineQueryPeerTypeChat struct {
}
Constructs InlineQueryPeerType
type TL_inlineQueryPeerTypeMegagroup ¶
type TL_inlineQueryPeerTypeMegagroup struct {
}
Constructs InlineQueryPeerType
type TL_inlineQueryPeerTypePM ¶
type TL_inlineQueryPeerTypePM struct {
}
Constructs InlineQueryPeerType
type TL_inlineQueryPeerTypeSameBotPM ¶
type TL_inlineQueryPeerTypeSameBotPM struct {
}
Constructs InlineQueryPeerType
type TL_inputAppEvent ¶
type TL_inputAppEvent struct {
Time float64
Type string
Peer int64
Data TL // JSONValue: TL_jsonNull | TL_jsonBool | TL_jsonNumber | TL_jsonString | TL_jsonArray | TL_jsonObject
}
Constructs InputAppEvent
type TL_inputBotAppID ¶
Constructs InputBotApp
type TL_inputBotAppShortName ¶
type TL_inputBotAppShortName struct {
BotID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
ShortName string
}
Constructs InputBotApp
type TL_inputBotInlineMessageGame ¶
type TL_inputBotInlineMessageGame struct {
ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}
Constructs InputBotInlineMessage
type TL_inputBotInlineMessageID ¶
Constructs InputBotInlineMessageID
type TL_inputBotInlineMessageID64 ¶
Constructs InputBotInlineMessageID
type TL_inputBotInlineMessageMediaAuto ¶
type TL_inputBotInlineMessageMediaAuto struct {
InvertMedia bool
Message string
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}
Constructs InputBotInlineMessage
type TL_inputBotInlineMessageMediaContact ¶
type TL_inputBotInlineMessageMediaContact struct {
PhoneNumber string
FirstName string
LastName string
Vcard string
ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}
Constructs InputBotInlineMessage
type TL_inputBotInlineMessageMediaGeo ¶
type TL_inputBotInlineMessageMediaGeo struct {
GeoPoint TL // InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
Heading *int32 // (optional)
Period *int32 // (optional)
ProximityNotificationRadius *int32 // (optional)
ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}
Constructs InputBotInlineMessage
type TL_inputBotInlineMessageMediaInvoice ¶
type TL_inputBotInlineMessageMediaInvoice struct {
Title string
Description string
Photo *TL_inputWebDocument // (optional)
Invoice TL_invoice
Payload []byte
Provider string
ProviderData TL_dataJSON
ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}
Constructs InputBotInlineMessage
type TL_inputBotInlineMessageMediaVenue ¶
type TL_inputBotInlineMessageMediaVenue struct {
GeoPoint TL // InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
Title string
Address string
Provider string
VenueID string
VenueType string
ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}
Constructs InputBotInlineMessage
type TL_inputBotInlineMessageMediaWebPage ¶ added in v0.166.0
type TL_inputBotInlineMessageMediaWebPage struct {
InvertMedia bool
ForceLargeMedia bool
ForceSmallMedia bool
Optional bool
Message string
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
URL string
ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}
Constructs InputBotInlineMessage
type TL_inputBotInlineMessageText ¶
type TL_inputBotInlineMessageText struct {
NoWebpage bool
InvertMedia bool
Message string
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}
Constructs InputBotInlineMessage
type TL_inputBotInlineResult ¶
type TL_inputBotInlineResult struct {
ID string
Type string
Title *string // (optional)
Description *string // (optional)
URL *string // (optional)
Thumb *TL_inputWebDocument // (optional)
Content *TL_inputWebDocument // (optional)
SendMessage TL // InputBotInlineMessage: TL_inputBotInlineMessageMediaAuto | TL_inputBotInlineMessageText | TL_inputBotInlineMessageMediaGeo | TL_inputBotInlineMessageMediaVenue | TL_inputBotInlineMessageMediaContact | TL_inputBotInlineMessageGame | TL_inputBotInlineMessageMediaInvoice | TL_inputBotInlineMessageMediaWebPage
}
Constructs InputBotInlineResult
type TL_inputBotInlineResultDocument ¶
type TL_inputBotInlineResultDocument struct {
ID string
Type string
Title *string // (optional)
Description *string // (optional)
Document TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
SendMessage TL // InputBotInlineMessage: TL_inputBotInlineMessageMediaAuto | TL_inputBotInlineMessageText | TL_inputBotInlineMessageMediaGeo | TL_inputBotInlineMessageMediaVenue | TL_inputBotInlineMessageMediaContact | TL_inputBotInlineMessageGame | TL_inputBotInlineMessageMediaInvoice | TL_inputBotInlineMessageMediaWebPage
}
Constructs InputBotInlineResult
type TL_inputBotInlineResultGame ¶
type TL_inputBotInlineResultGame struct {
ID string
ShortName string
SendMessage TL // InputBotInlineMessage: TL_inputBotInlineMessageMediaAuto | TL_inputBotInlineMessageText | TL_inputBotInlineMessageMediaGeo | TL_inputBotInlineMessageMediaVenue | TL_inputBotInlineMessageMediaContact | TL_inputBotInlineMessageGame | TL_inputBotInlineMessageMediaInvoice | TL_inputBotInlineMessageMediaWebPage
}
Constructs InputBotInlineResult
type TL_inputBotInlineResultPhoto ¶
type TL_inputBotInlineResultPhoto struct {
ID string
Type string
Photo TL // InputPhoto: TL_inputPhotoEmpty | TL_inputPhoto
SendMessage TL // InputBotInlineMessage: TL_inputBotInlineMessageMediaAuto | TL_inputBotInlineMessageText | TL_inputBotInlineMessageMediaGeo | TL_inputBotInlineMessageMediaVenue | TL_inputBotInlineMessageMediaContact | TL_inputBotInlineMessageGame | TL_inputBotInlineMessageMediaInvoice | TL_inputBotInlineMessageMediaWebPage
}
Constructs InputBotInlineResult
type TL_inputBusinessAwayMessage ¶ added in v0.181.0
type TL_inputBusinessAwayMessage struct {
OfflineOnly bool
ShortcutID int32
Schedule TL // BusinessAwayMessageSchedule: TL_businessAwayMessageScheduleAlways | TL_businessAwayMessageScheduleOutsideWorkHours | TL_businessAwayMessageScheduleCustom
Recipients TL_inputBusinessRecipients
}
Constructs InputBusinessAwayMessage
type TL_inputBusinessBotRecipients ¶ added in v0.181.0
type TL_inputBusinessBotRecipients struct {
ExistingChats bool
NewChats bool
Contacts bool
NonContacts bool
ExcludeSelected bool
Users []TL // (optional) InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
ExcludeUsers []TL // (optional) InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Constructs InputBusinessBotRecipients
type TL_inputBusinessChatLink ¶ added in v0.181.0
type TL_inputBusinessChatLink struct {
Message string
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
Title *string // (optional)
}
Constructs InputBusinessChatLink
type TL_inputBusinessGreetingMessage ¶ added in v0.181.0
type TL_inputBusinessGreetingMessage struct {
ShortcutID int32
Recipients TL_inputBusinessRecipients
NoActivityDays int32
}
Constructs InputBusinessGreetingMessage
type TL_inputBusinessIntro ¶ added in v0.181.0
type TL_inputBusinessIntro struct {
Title string
Description string
Sticker TL // (optional) InputDocument: TL_inputDocumentEmpty | TL_inputDocument
}
Constructs InputBusinessIntro
type TL_inputBusinessRecipients ¶ added in v0.181.0
type TL_inputBusinessRecipients struct {
ExistingChats bool
NewChats bool
Contacts bool
NonContacts bool
ExcludeSelected bool
Users []TL // (optional) InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Constructs InputBusinessRecipients
type TL_inputChannel ¶
Constructs InputChannel
type TL_inputChannelFromMessage ¶
type TL_inputChannelFromMessage struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
ChannelID int64
}
Constructs InputChannel
type TL_inputChatPhoto ¶
type TL_inputChatPhoto struct {
ID TL // InputPhoto: TL_inputPhotoEmpty | TL_inputPhoto
}
Constructs InputChatPhoto
type TL_inputChatTheme ¶ added in v0.218.0
type TL_inputChatTheme struct {
Emoticon string
}
Constructs InputChatTheme
type TL_inputChatThemeEmpty ¶ added in v0.218.0
type TL_inputChatThemeEmpty struct {
}
Constructs InputChatTheme
type TL_inputChatThemeUniqueGift ¶ added in v0.218.0
type TL_inputChatThemeUniqueGift struct {
Slug string
}
Constructs InputChatTheme
type TL_inputChatUploadedPhoto ¶
type TL_inputChatUploadedPhoto struct {
File TL // (optional) InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
Video TL // (optional) InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
VideoStartTS *float64 // (optional)
VideoEmojiMarkup TL // (optional) VideoSize: TL_videoSize | TL_videoSizeEmojiMarkup | TL_videoSizeStickerMarkup
}
Constructs InputChatPhoto
type TL_inputChatlistDialogFilter ¶
type TL_inputChatlistDialogFilter struct {
FilterID int32
}
Constructs InputChatlist
type TL_inputCheckPasswordEmpty ¶
type TL_inputCheckPasswordEmpty struct {
}
Constructs InputCheckPasswordSRP
type TL_inputCheckPasswordSRP ¶
Constructs InputCheckPasswordSRP
type TL_inputClientProxy ¶
Constructs InputClientProxy
type TL_inputCollectiblePhone ¶ added in v0.181.0
type TL_inputCollectiblePhone struct {
Phone string
}
Constructs InputCollectible
type TL_inputCollectibleUsername ¶ added in v0.181.0
type TL_inputCollectibleUsername struct {
Username string
}
Constructs InputCollectible
type TL_inputDialogPeer ¶
type TL_inputDialogPeer struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Constructs InputDialogPeer
type TL_inputDialogPeerFolder ¶
type TL_inputDialogPeerFolder struct {
FolderID int32
}
Constructs InputDialogPeer
type TL_inputDocument ¶
Constructs InputDocument
type TL_inputDocumentFileLocation ¶
type TL_inputDocumentFileLocation struct {
ID int64
AccessHash int64
FileReference []byte
ThumbSize string
}
Constructs InputFileLocation
type TL_inputEmojiStatusCollectible ¶ added in v0.218.0
Constructs EmojiStatus
type TL_inputEncryptedChat ¶
Constructs InputEncryptedChat
type TL_inputEncryptedFile ¶
Constructs InputEncryptedFile
type TL_inputEncryptedFileBigUploaded ¶
Constructs InputEncryptedFile
type TL_inputEncryptedFileEmpty ¶
type TL_inputEncryptedFileEmpty struct {
}
Constructs InputEncryptedFile
type TL_inputEncryptedFileLocation ¶
Constructs InputFileLocation
type TL_inputEncryptedFileUploaded ¶
type TL_inputEncryptedFileUploaded struct {
ID int64
Parts int32
MD5Checksum string
KeyFingerprint int32
}
Constructs InputEncryptedFile
type TL_inputFile ¶
Constructs InputFile
type TL_inputFileBig ¶
Constructs InputFile
type TL_inputFileLocation ¶
Constructs InputFileLocation
type TL_inputFileStoryDocument ¶ added in v0.186.0
type TL_inputFileStoryDocument struct {
ID TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
}
Constructs InputFile
type TL_inputFolderPeer ¶
type TL_inputFolderPeer struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
FolderID int32
}
Constructs InputFolderPeer
type TL_inputGameShortName ¶
type TL_inputGameShortName struct {
BotID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
ShortName string
}
Constructs InputGame
type TL_inputGeoPoint ¶
Constructs InputGeoPoint
type TL_inputGroupCall ¶
Constructs InputGroupCall
type TL_inputGroupCallInviteMessage ¶ added in v0.218.0
type TL_inputGroupCallInviteMessage struct {
MsgID int32
}
Constructs InputGroupCall
type TL_inputGroupCallSlug ¶ added in v0.218.0
type TL_inputGroupCallSlug struct {
Slug string
}
Constructs InputGroupCall
type TL_inputGroupCallStream ¶
type TL_inputGroupCallStream struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
TimeMS int64
Scale int32
VideoChannel *int32 // (optional)
VideoQuality *int32 // (optional)
}
Constructs InputFileLocation
type TL_inputInvoiceBusinessBotTransferStars ¶ added in v0.218.0
type TL_inputInvoiceBusinessBotTransferStars struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Stars int64
}
Constructs InputInvoice
type TL_inputInvoiceChatInviteSubscription ¶ added in v0.186.0
type TL_inputInvoiceChatInviteSubscription struct {
Hash string
}
Constructs InputInvoice
type TL_inputInvoiceMessage ¶
type TL_inputInvoiceMessage struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
}
Constructs InputInvoice
type TL_inputInvoicePremiumAuthCode ¶ added in v0.218.0
type TL_inputInvoicePremiumAuthCode struct {
Purpose TL // InputStorePaymentPurpose: TL_inputStorePaymentPremiumSubscription | TL_inputStorePaymentGiftPremium | TL_inputStorePaymentPremiumGiftCode | TL_inputStorePaymentPremiumGiveaway | TL_inputStorePaymentStarsTopup | TL_inputStorePaymentStarsGift | TL_inputStorePaymentStarsGiveaway | TL_inputStorePaymentAuthCode
}
Constructs InputInvoice
type TL_inputInvoicePremiumGiftCode ¶ added in v0.166.0
type TL_inputInvoicePremiumGiftCode struct {
Purpose TL // InputStorePaymentPurpose: TL_inputStorePaymentPremiumSubscription | TL_inputStorePaymentGiftPremium | TL_inputStorePaymentPremiumGiftCode | TL_inputStorePaymentPremiumGiveaway | TL_inputStorePaymentStarsTopup | TL_inputStorePaymentStarsGift | TL_inputStorePaymentStarsGiveaway | TL_inputStorePaymentAuthCode
Option TL_premiumGiftCodeOption
}
Constructs InputInvoice
type TL_inputInvoicePremiumGiftStars ¶ added in v0.218.0
type TL_inputInvoicePremiumGiftStars struct {
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Months int32
Message *TL_textWithEntities // (optional)
}
Constructs InputInvoice
type TL_inputInvoiceStarGift ¶ added in v0.192.0
type TL_inputInvoiceStarGift struct {
HideName bool
IncludeUpgrade bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
GiftID int64
Message *TL_textWithEntities // (optional)
}
Constructs InputInvoice
type TL_inputInvoiceStarGiftAuctionBid ¶ added in v0.218.0
type TL_inputInvoiceStarGiftAuctionBid struct {
HideName bool
UpdateBid bool
Peer TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
GiftID int64
BidAmount int64
Message *TL_textWithEntities // (optional)
}
Constructs InputInvoice
type TL_inputInvoiceStarGiftDropOriginalDetails ¶ added in v0.218.0
type TL_inputInvoiceStarGiftDropOriginalDetails struct {
Stargift TL // InputSavedStarGift: TL_inputSavedStarGiftUser | TL_inputSavedStarGiftChat | TL_inputSavedStarGiftSlug
}
Constructs InputInvoice
type TL_inputInvoiceStarGiftPrepaidUpgrade ¶ added in v0.218.0
type TL_inputInvoiceStarGiftPrepaidUpgrade struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Hash string
}
Constructs InputInvoice
type TL_inputInvoiceStarGiftResale ¶ added in v0.218.0
type TL_inputInvoiceStarGiftResale struct {
Ton bool
Slug string
ToID TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Constructs InputInvoice
type TL_inputInvoiceStarGiftTransfer ¶ added in v0.196.0
type TL_inputInvoiceStarGiftTransfer struct {
Stargift TL // InputSavedStarGift: TL_inputSavedStarGiftUser | TL_inputSavedStarGiftChat | TL_inputSavedStarGiftSlug
ToID TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Constructs InputInvoice
type TL_inputInvoiceStarGiftUpgrade ¶ added in v0.196.0
type TL_inputInvoiceStarGiftUpgrade struct {
KeepOriginalDetails bool
Stargift TL // InputSavedStarGift: TL_inputSavedStarGiftUser | TL_inputSavedStarGiftChat | TL_inputSavedStarGiftSlug
}
Constructs InputInvoice
type TL_inputInvoiceStars ¶ added in v0.181.0
type TL_inputInvoiceStars struct {
Purpose TL // InputStorePaymentPurpose: TL_inputStorePaymentPremiumSubscription | TL_inputStorePaymentGiftPremium | TL_inputStorePaymentPremiumGiftCode | TL_inputStorePaymentPremiumGiveaway | TL_inputStorePaymentStarsTopup | TL_inputStorePaymentStarsGift | TL_inputStorePaymentStarsGiveaway | TL_inputStorePaymentAuthCode
}
Constructs InputInvoice
type TL_inputKeyboardButtonRequestPeer ¶ added in v0.181.0
type TL_inputKeyboardButtonRequestPeer struct {
NameRequested bool
UsernameRequested bool
PhotoRequested bool
Text string
ButtonID int32
PeerType TL // RequestPeerType: TL_requestPeerTypeUser | TL_requestPeerTypeChat | TL_requestPeerTypeBroadcast
MaxQuantity int32
}
Constructs KeyboardButton
type TL_inputKeyboardButtonURLAuth ¶ added in v0.166.2
type TL_inputKeyboardButtonURLAuth struct {
RequestWriteAccess bool
Text string
FwdText *string // (optional)
URL string
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Constructs KeyboardButton
type TL_inputKeyboardButtonUserProfile ¶
type TL_inputKeyboardButtonUserProfile struct {
Text string
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Constructs KeyboardButton
type TL_inputMediaAreaChannelPost ¶ added in v0.181.0
type TL_inputMediaAreaChannelPost struct {
Coordinates TL_mediaAreaCoordinates
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
MsgID int32
}
Constructs MediaArea
type TL_inputMediaAreaVenue ¶ added in v0.166.0
type TL_inputMediaAreaVenue struct {
Coordinates TL_mediaAreaCoordinates
QueryID int64
ResultID string
}
Constructs MediaArea
type TL_inputMediaContact ¶
type TL_inputMediaContact struct {
PhoneNumber string
FirstName string
LastName string
Vcard string
}
Constructs InputMedia
type TL_inputMediaDocument ¶
type TL_inputMediaDocument struct {
Spoiler bool
ID TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
VideoCover TL // (optional) InputPhoto: TL_inputPhotoEmpty | TL_inputPhoto
VideoTimestamp *int32 // (optional)
TTLSeconds *int32 // (optional)
Query *string // (optional)
}
Constructs InputMedia
type TL_inputMediaDocumentExternal ¶
type TL_inputMediaDocumentExternal struct {
Spoiler bool
URL string
TTLSeconds *int32 // (optional)
VideoCover TL // (optional) InputPhoto: TL_inputPhotoEmpty | TL_inputPhoto
VideoTimestamp *int32 // (optional)
}
Constructs InputMedia
type TL_inputMediaGame ¶
type TL_inputMediaGame struct {
ID TL // InputGame: TL_inputGameID | TL_inputGameShortName
}
Constructs InputMedia
type TL_inputMediaGeoLive ¶
type TL_inputMediaGeoLive struct {
Stopped bool
GeoPoint TL // InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
Heading *int32 // (optional)
Period *int32 // (optional)
ProximityNotificationRadius *int32 // (optional)
}
Constructs InputMedia
type TL_inputMediaGeoPoint ¶
type TL_inputMediaGeoPoint struct {
GeoPoint TL // InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
}
Constructs InputMedia
type TL_inputMediaInvoice ¶
type TL_inputMediaInvoice struct {
Title string
Description string
Photo *TL_inputWebDocument // (optional)
Invoice TL_invoice
Payload []byte
Provider *string // (optional)
ProviderData TL_dataJSON
StartParam *string // (optional)
ExtendedMedia TL // (optional) InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia | TL_inputMediaTodo
}
Constructs InputMedia
type TL_inputMediaPaidMedia ¶ added in v0.183.0
type TL_inputMediaPaidMedia struct {
StarsAmount int64
ExtendedMedia []TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia | TL_inputMediaTodo
Payload *string // (optional)
}
Constructs InputMedia
type TL_inputMediaPhoto ¶
type TL_inputMediaPhoto struct {
Spoiler bool
ID TL // InputPhoto: TL_inputPhotoEmpty | TL_inputPhoto
TTLSeconds *int32 // (optional)
}
Constructs InputMedia
type TL_inputMediaPhotoExternal ¶
Constructs InputMedia
type TL_inputMediaPoll ¶
type TL_inputMediaPoll struct {
Poll TL_poll
CorrectAnswers [][]byte // (optional)
Solution *string // (optional)
SolutionEntities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
}
Constructs InputMedia
type TL_inputMediaStory ¶ added in v0.166.0
type TL_inputMediaStory struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID int32
}
Constructs InputMedia
type TL_inputMediaTodo ¶ added in v0.218.0
type TL_inputMediaTodo struct {
Todo TL_todoList
}
Constructs InputMedia
type TL_inputMediaUploadedDocument ¶
type TL_inputMediaUploadedDocument struct {
NosoundVideo bool
ForceFile bool
Spoiler bool
File TL // InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
Thumb TL // (optional) InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
MIMEType string
Attributes []TL // DocumentAttribute: TL_documentAttributeImageSize | TL_documentAttributeAnimated | TL_documentAttributeSticker | TL_documentAttributeVideo | TL_documentAttributeAudio | TL_documentAttributeFilename | TL_documentAttributeHasStickers | TL_documentAttributeCustomEmoji
Stickers []TL // (optional) InputDocument: TL_inputDocumentEmpty | TL_inputDocument
VideoCover TL // (optional) InputPhoto: TL_inputPhotoEmpty | TL_inputPhoto
VideoTimestamp *int32 // (optional)
TTLSeconds *int32 // (optional)
}
Constructs InputMedia
type TL_inputMediaUploadedPhoto ¶
type TL_inputMediaUploadedPhoto struct {
Spoiler bool
File TL // InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
Stickers []TL // (optional) InputDocument: TL_inputDocumentEmpty | TL_inputDocument
TTLSeconds *int32 // (optional)
}
Constructs InputMedia
type TL_inputMediaVenue ¶
type TL_inputMediaVenue struct {
GeoPoint TL // InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
Title string
Address string
Provider string
VenueID string
VenueType string
}
Constructs InputMedia
type TL_inputMediaWebPage ¶ added in v0.166.0
type TL_inputMediaWebPage struct {
ForceLargeMedia bool
ForceSmallMedia bool
Optional bool
URL string
}
Constructs InputMedia
type TL_inputMessageCallbackQuery ¶
Constructs InputMessage
type TL_inputMessageEntityMentionName ¶
type TL_inputMessageEntityMentionName struct {
Offset int32
Length int32
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Constructs MessageEntity
type TL_inputMessageReplyTo ¶
type TL_inputMessageReplyTo struct {
ID int32
}
Constructs InputMessage
type TL_inputMessagesFilterChatPhotos ¶
type TL_inputMessagesFilterChatPhotos struct {
}
Constructs MessagesFilter
type TL_inputMessagesFilterContacts ¶
type TL_inputMessagesFilterContacts struct {
}
Constructs MessagesFilter
type TL_inputMessagesFilterDocument ¶
type TL_inputMessagesFilterDocument struct {
}
Constructs MessagesFilter
type TL_inputMessagesFilterEmpty ¶
type TL_inputMessagesFilterEmpty struct {
}
Constructs MessagesFilter
type TL_inputMessagesFilterGIF ¶ added in v0.166.2
type TL_inputMessagesFilterGIF struct {
}
Constructs MessagesFilter
type TL_inputMessagesFilterGeo ¶
type TL_inputMessagesFilterGeo struct {
}
Constructs MessagesFilter
type TL_inputMessagesFilterMusic ¶
type TL_inputMessagesFilterMusic struct {
}
Constructs MessagesFilter
type TL_inputMessagesFilterMyMentions ¶
type TL_inputMessagesFilterMyMentions struct {
}
Constructs MessagesFilter
type TL_inputMessagesFilterPhoneCalls ¶
type TL_inputMessagesFilterPhoneCalls struct {
Missed bool
}
Constructs MessagesFilter
type TL_inputMessagesFilterPhotoVideo ¶
type TL_inputMessagesFilterPhotoVideo struct {
}
Constructs MessagesFilter
type TL_inputMessagesFilterPhotos ¶
type TL_inputMessagesFilterPhotos struct {
}
Constructs MessagesFilter
type TL_inputMessagesFilterPinned ¶
type TL_inputMessagesFilterPinned struct {
}
Constructs MessagesFilter
type TL_inputMessagesFilterRoundVideo ¶
type TL_inputMessagesFilterRoundVideo struct {
}
Constructs MessagesFilter
type TL_inputMessagesFilterRoundVoice ¶
type TL_inputMessagesFilterRoundVoice struct {
}
Constructs MessagesFilter
type TL_inputMessagesFilterURL ¶ added in v0.166.2
type TL_inputMessagesFilterURL struct {
}
Constructs MessagesFilter
type TL_inputMessagesFilterVideo ¶
type TL_inputMessagesFilterVideo struct {
}
Constructs MessagesFilter
type TL_inputMessagesFilterVoice ¶
type TL_inputMessagesFilterVoice struct {
}
Constructs MessagesFilter
type TL_inputNotifyForumTopic ¶
type TL_inputNotifyForumTopic struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
TopMsgID int32
}
Constructs InputNotifyPeer
type TL_inputNotifyPeer ¶
type TL_inputNotifyPeer struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Constructs InputNotifyPeer
type TL_inputPasskeyCredentialPublicKey ¶ added in v0.220.0
type TL_inputPasskeyCredentialPublicKey struct {
ID string
RawID string
Response TL // InputPasskeyResponse: TL_inputPasskeyResponseRegister | TL_inputPasskeyResponseLogin
}
Constructs InputPasskeyCredential
type TL_inputPasskeyResponseLogin ¶ added in v0.220.0
type TL_inputPasskeyResponseLogin struct {
ClientData TL_dataJSON
AuthenticatorData []byte
Signature []byte
UserHandle string
}
Constructs InputPasskeyResponse
type TL_inputPasskeyResponseRegister ¶ added in v0.220.0
type TL_inputPasskeyResponseRegister struct {
ClientData TL_dataJSON
AttestationData []byte
}
Constructs InputPasskeyResponse
type TL_inputPaymentCredentials ¶
type TL_inputPaymentCredentials struct {
Save bool
Data TL_dataJSON
}
Constructs InputPaymentCredentials
type TL_inputPaymentCredentialsApplePay ¶
type TL_inputPaymentCredentialsApplePay struct {
PaymentData TL_dataJSON
}
Constructs InputPaymentCredentials
type TL_inputPaymentCredentialsGooglePay ¶
type TL_inputPaymentCredentialsGooglePay struct {
PaymentToken TL_dataJSON
}
Constructs InputPaymentCredentials
type TL_inputPaymentCredentialsSaved ¶
Constructs InputPaymentCredentials
type TL_inputPeerChannel ¶
Constructs InputPeer
type TL_inputPeerChannelFromMessage ¶
type TL_inputPeerChannelFromMessage struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
ChannelID int64
}
Constructs InputPeer
type TL_inputPeerColorCollectible ¶ added in v0.218.0
type TL_inputPeerColorCollectible struct {
CollectibleID int64
}
Constructs PeerColor
type TL_inputPeerNotifySettings ¶
type TL_inputPeerNotifySettings struct {
ShowPreviews *bool // (optional)
Silent *bool // (optional)
MuteUntil *int32 // (optional)
Sound TL // (optional) NotificationSound: TL_notificationSoundDefault | TL_notificationSoundNone | TL_notificationSoundLocal | TL_notificationSoundRingtone
StoriesMuted *bool // (optional)
StoriesHideSender *bool // (optional)
StoriesSound TL // (optional) NotificationSound: TL_notificationSoundDefault | TL_notificationSoundNone | TL_notificationSoundLocal | TL_notificationSoundRingtone
}
Constructs InputPeerNotifySettings
type TL_inputPeerPhotoFileLocation ¶
type TL_inputPeerPhotoFileLocation struct {
Big bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
PhotoID int64
}
Constructs InputFileLocation
type TL_inputPeerUser ¶
Constructs InputPeer
type TL_inputPeerUserFromMessage ¶
type TL_inputPeerUserFromMessage struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
UserID int64
}
Constructs InputPeer
type TL_inputPhoneCall ¶
Constructs InputPhoneCall
type TL_inputPhoneContact ¶
type TL_inputPhoneContact struct {
ClientID int64
Phone string
FirstName string
LastName string
Note *TL_textWithEntities // (optional)
}
Constructs InputContact
type TL_inputPhoto ¶
Constructs InputPhoto
type TL_inputPhotoFileLocation ¶
type TL_inputPhotoFileLocation struct {
ID int64
AccessHash int64
FileReference []byte
ThumbSize string
}
Constructs InputFileLocation
type TL_inputPhotoLegacyFileLocation ¶
type TL_inputPhotoLegacyFileLocation struct {
ID int64
AccessHash int64
FileReference []byte
VolumeID int64
LocalID int32
Secret int64
}
Constructs InputFileLocation
type TL_inputPrivacyKeyAbout ¶ added in v0.166.0
type TL_inputPrivacyKeyAbout struct {
}
Constructs InputPrivacyKey
type TL_inputPrivacyKeyAddedByPhone ¶
type TL_inputPrivacyKeyAddedByPhone struct {
}
Constructs InputPrivacyKey
type TL_inputPrivacyKeyBirthday ¶ added in v0.181.0
type TL_inputPrivacyKeyBirthday struct {
}
Constructs InputPrivacyKey
type TL_inputPrivacyKeyChatInvite ¶
type TL_inputPrivacyKeyChatInvite struct {
}
Constructs InputPrivacyKey
type TL_inputPrivacyKeyForwards ¶
type TL_inputPrivacyKeyForwards struct {
}
Constructs InputPrivacyKey
type TL_inputPrivacyKeyNoPaidMessages ¶ added in v0.218.0
type TL_inputPrivacyKeyNoPaidMessages struct {
}
Constructs InputPrivacyKey
type TL_inputPrivacyKeyPhoneCall ¶
type TL_inputPrivacyKeyPhoneCall struct {
}
Constructs InputPrivacyKey
type TL_inputPrivacyKeyPhoneNumber ¶
type TL_inputPrivacyKeyPhoneNumber struct {
}
Constructs InputPrivacyKey
type TL_inputPrivacyKeyPhoneP2P ¶
type TL_inputPrivacyKeyPhoneP2P struct {
}
Constructs InputPrivacyKey
type TL_inputPrivacyKeyProfilePhoto ¶
type TL_inputPrivacyKeyProfilePhoto struct {
}
Constructs InputPrivacyKey
type TL_inputPrivacyKeySavedMusic ¶ added in v0.218.0
type TL_inputPrivacyKeySavedMusic struct {
}
Constructs InputPrivacyKey
type TL_inputPrivacyKeyStarGiftsAutoSave ¶ added in v0.195.0
type TL_inputPrivacyKeyStarGiftsAutoSave struct {
}
Constructs InputPrivacyKey
type TL_inputPrivacyKeyStatusTimestamp ¶
type TL_inputPrivacyKeyStatusTimestamp struct {
}
Constructs InputPrivacyKey
type TL_inputPrivacyKeyVoiceMessages ¶
type TL_inputPrivacyKeyVoiceMessages struct {
}
Constructs InputPrivacyKey
type TL_inputPrivacyValueAllowAll ¶
type TL_inputPrivacyValueAllowAll struct {
}
Constructs InputPrivacyRule
type TL_inputPrivacyValueAllowBots ¶ added in v0.195.0
type TL_inputPrivacyValueAllowBots struct {
}
Constructs InputPrivacyRule
type TL_inputPrivacyValueAllowChatParticipants ¶
type TL_inputPrivacyValueAllowChatParticipants struct {
Chats []int64
}
Constructs InputPrivacyRule
type TL_inputPrivacyValueAllowCloseFriends ¶ added in v0.166.0
type TL_inputPrivacyValueAllowCloseFriends struct {
}
Constructs InputPrivacyRule
type TL_inputPrivacyValueAllowContacts ¶
type TL_inputPrivacyValueAllowContacts struct {
}
Constructs InputPrivacyRule
type TL_inputPrivacyValueAllowPremium ¶ added in v0.181.0
type TL_inputPrivacyValueAllowPremium struct {
}
Constructs InputPrivacyRule
type TL_inputPrivacyValueAllowUsers ¶
type TL_inputPrivacyValueAllowUsers struct {
Users []TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Constructs InputPrivacyRule
type TL_inputPrivacyValueDisallowAll ¶
type TL_inputPrivacyValueDisallowAll struct {
}
Constructs InputPrivacyRule
type TL_inputPrivacyValueDisallowBots ¶ added in v0.195.0
type TL_inputPrivacyValueDisallowBots struct {
}
Constructs InputPrivacyRule
type TL_inputPrivacyValueDisallowChatParticipants ¶
type TL_inputPrivacyValueDisallowChatParticipants struct {
Chats []int64
}
Constructs InputPrivacyRule
type TL_inputPrivacyValueDisallowContacts ¶
type TL_inputPrivacyValueDisallowContacts struct {
}
Constructs InputPrivacyRule
type TL_inputPrivacyValueDisallowUsers ¶
type TL_inputPrivacyValueDisallowUsers struct {
Users []TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Constructs InputPrivacyRule
type TL_inputQuickReplyShortcut ¶ added in v0.181.0
type TL_inputQuickReplyShortcut struct {
Shortcut string
}
Constructs InputQuickReplyShortcut
type TL_inputQuickReplyShortcutID ¶ added in v0.181.0
type TL_inputQuickReplyShortcutID struct {
ShortcutID int32
}
Constructs InputQuickReplyShortcut
type TL_inputReplyToMessage ¶ added in v0.166.0
type TL_inputReplyToMessage struct {
ReplyToMsgID int32
TopMsgID *int32 // (optional)
ReplyToPeerID TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
QuoteText *string // (optional)
QuoteEntities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
QuoteOffset *int32 // (optional)
MonoforumPeerID TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
TodoItemID *int32 // (optional)
}
Constructs InputReplyTo
type TL_inputReplyToMonoForum ¶ added in v0.218.0
type TL_inputReplyToMonoForum struct {
MonoforumPeerID TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Constructs InputReplyTo
type TL_inputReplyToStory ¶ added in v0.166.0
type TL_inputReplyToStory struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
StoryID int32
}
Constructs InputReplyTo
type TL_inputReportReasonChildAbuse ¶
type TL_inputReportReasonChildAbuse struct {
}
Constructs ReportReason
type TL_inputReportReasonCopyright ¶
type TL_inputReportReasonCopyright struct {
}
Constructs ReportReason
type TL_inputReportReasonGeoIrrelevant ¶
type TL_inputReportReasonGeoIrrelevant struct {
}
Constructs ReportReason
type TL_inputReportReasonIllegalDrugs ¶
type TL_inputReportReasonIllegalDrugs struct {
}
Constructs ReportReason
type TL_inputReportReasonPersonalDetails ¶
type TL_inputReportReasonPersonalDetails struct {
}
Constructs ReportReason
type TL_inputReportReasonPornography ¶
type TL_inputReportReasonPornography struct {
}
Constructs ReportReason
type TL_inputReportReasonViolence ¶
type TL_inputReportReasonViolence struct {
}
Constructs ReportReason
type TL_inputSavedStarGiftChat ¶ added in v0.218.0
type TL_inputSavedStarGiftChat struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
SavedID int64
}
Constructs InputSavedStarGift
type TL_inputSavedStarGiftSlug ¶ added in v0.218.0
type TL_inputSavedStarGiftSlug struct {
Slug string
}
Constructs InputSavedStarGift
type TL_inputSavedStarGiftUser ¶ added in v0.218.0
type TL_inputSavedStarGiftUser struct {
MsgID int32
}
Constructs InputSavedStarGift
type TL_inputSecureFile ¶
Constructs InputSecureFile
type TL_inputSecureFileLocation ¶
Constructs InputFileLocation
type TL_inputSecureFileUploaded ¶
type TL_inputSecureFileUploaded struct {
ID int64
Parts int32
MD5Checksum string
FileHash []byte
Secret []byte
}
Constructs InputSecureFile
type TL_inputSecureValue ¶
type TL_inputSecureValue struct {
Type TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
Data *TL_secureData // (optional)
FrontSide TL // (optional) InputSecureFile: TL_inputSecureFileUploaded | TL_inputSecureFile
ReverseSide TL // (optional) InputSecureFile: TL_inputSecureFileUploaded | TL_inputSecureFile
Selfie TL // (optional) InputSecureFile: TL_inputSecureFileUploaded | TL_inputSecureFile
Translation []TL // (optional) InputSecureFile: TL_inputSecureFileUploaded | TL_inputSecureFile
Files []TL // (optional) InputSecureFile: TL_inputSecureFileUploaded | TL_inputSecureFile
PlainData TL // (optional) SecurePlainData: TL_securePlainPhone | TL_securePlainEmail
}
Constructs InputSecureValue
type TL_inputSingleMedia ¶
type TL_inputSingleMedia struct {
Media TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia | TL_inputMediaTodo
RandomID int64
Message string
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
}
Constructs InputSingleMedia
type TL_inputStarGiftAuction ¶ added in v0.218.0
type TL_inputStarGiftAuction struct {
GiftID int64
}
Constructs InputStarGiftAuction
type TL_inputStarGiftAuctionSlug ¶ added in v0.218.0
type TL_inputStarGiftAuctionSlug struct {
Slug string
}
Constructs InputStarGiftAuction
type TL_inputStarsTransaction ¶ added in v0.183.0
Constructs InputStarsTransaction
type TL_inputStickerSetAnimatedEmoji ¶
type TL_inputStickerSetAnimatedEmoji struct {
}
Constructs InputStickerSet
type TL_inputStickerSetAnimatedEmojiAnimations ¶
type TL_inputStickerSetAnimatedEmojiAnimations struct {
}
Constructs InputStickerSet
type TL_inputStickerSetDice ¶
type TL_inputStickerSetDice struct {
Emoticon string
}
Constructs InputStickerSet
type TL_inputStickerSetEmojiChannelDefaultStatuses ¶ added in v0.181.0
type TL_inputStickerSetEmojiChannelDefaultStatuses struct {
}
Constructs InputStickerSet
type TL_inputStickerSetEmojiDefaultStatuses ¶
type TL_inputStickerSetEmojiDefaultStatuses struct {
}
Constructs InputStickerSet
type TL_inputStickerSetEmojiDefaultTopicIcons ¶
type TL_inputStickerSetEmojiDefaultTopicIcons struct {
}
Constructs InputStickerSet
type TL_inputStickerSetEmojiGenericAnimations ¶
type TL_inputStickerSetEmojiGenericAnimations struct {
}
Constructs InputStickerSet
type TL_inputStickerSetID ¶
Constructs InputStickerSet
type TL_inputStickerSetItem ¶
type TL_inputStickerSetItem struct {
Document TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
Emoji string
MaskCoords *TL_maskCoords // (optional)
Keywords *string // (optional)
}
Constructs InputStickerSetItem
type TL_inputStickerSetPremiumGifts ¶
type TL_inputStickerSetPremiumGifts struct {
}
Constructs InputStickerSet
type TL_inputStickerSetShortName ¶
type TL_inputStickerSetShortName struct {
ShortName string
}
Constructs InputStickerSet
type TL_inputStickerSetThumb ¶
type TL_inputStickerSetThumb struct {
Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses | TL_inputStickerSetTonGifts
ThumbVersion int32
}
Constructs InputFileLocation
type TL_inputStickerSetTonGifts ¶ added in v0.218.0
type TL_inputStickerSetTonGifts struct {
}
Constructs InputStickerSet
type TL_inputStickeredMediaDocument ¶
type TL_inputStickeredMediaDocument struct {
ID TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
}
Constructs InputStickeredMedia
type TL_inputStickeredMediaPhoto ¶
type TL_inputStickeredMediaPhoto struct {
ID TL // InputPhoto: TL_inputPhotoEmpty | TL_inputPhoto
}
Constructs InputStickeredMedia
type TL_inputStorePaymentAuthCode ¶ added in v0.218.0
type TL_inputStorePaymentAuthCode struct {
Restore bool
PhoneNumber string
PhoneCodeHash string
Currency string
Amount int64
}
Constructs InputStorePaymentPurpose
type TL_inputStorePaymentGiftPremium ¶
type TL_inputStorePaymentGiftPremium struct {
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Currency string
Amount int64
}
Constructs InputStorePaymentPurpose
type TL_inputStorePaymentPremiumGiftCode ¶ added in v0.166.0
type TL_inputStorePaymentPremiumGiftCode struct {
Users []TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
BoostPeer TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Currency string
Amount int64
Message *TL_textWithEntities // (optional)
}
Constructs InputStorePaymentPurpose
type TL_inputStorePaymentPremiumGiveaway ¶ added in v0.166.0
type TL_inputStorePaymentPremiumGiveaway struct {
OnlyNewSubscribers bool
WinnersAreVisible bool
BoostPeer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
AdditionalPeers []TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
CountriesISO2 []string // (optional)
PrizeDescription *string // (optional)
RandomID int64
UntilDate int32
Currency string
Amount int64
}
Constructs InputStorePaymentPurpose
type TL_inputStorePaymentPremiumSubscription ¶
Constructs InputStorePaymentPurpose
type TL_inputStorePaymentStarsGift ¶ added in v0.185.0
type TL_inputStorePaymentStarsGift struct {
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Stars int64
Currency string
Amount int64
}
Constructs InputStorePaymentPurpose
type TL_inputStorePaymentStarsGiveaway ¶ added in v0.187.0
type TL_inputStorePaymentStarsGiveaway struct {
OnlyNewSubscribers bool
WinnersAreVisible bool
Stars int64
BoostPeer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
AdditionalPeers []TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
CountriesISO2 []string // (optional)
PrizeDescription *string // (optional)
RandomID int64
UntilDate int32
Currency string
Amount int64
Users int32
}
Constructs InputStorePaymentPurpose
type TL_inputStorePaymentStarsTopup ¶ added in v0.185.0
type TL_inputStorePaymentStarsTopup struct {
Stars int64
Currency string
Amount int64
SpendPurposePeer TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Constructs InputStorePaymentPurpose
type TL_inputTakeoutFileLocation ¶
type TL_inputTakeoutFileLocation struct {
}
Constructs InputFileLocation
type TL_inputThemeSettings ¶
type TL_inputThemeSettings struct {
MessageColorsAnimated bool
BaseTheme TL // BaseTheme: TL_baseThemeClassic | TL_baseThemeDay | TL_baseThemeNight | TL_baseThemeTinted | TL_baseThemeArctic
AccentColor int32
OutboxAccentColor *int32 // (optional)
MessageColors []int32 // (optional)
Wallpaper TL // (optional) InputWallPaper: TL_inputWallPaper | TL_inputWallPaperSlug | TL_inputWallPaperNoFile
WallpaperSettings *TL_wallPaperSettings // (optional)
}
Constructs InputThemeSettings
type TL_inputUserFromMessage ¶
type TL_inputUserFromMessage struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
UserID int64
}
Constructs InputUser
type TL_inputWallPaper ¶
Constructs InputWallPaper
type TL_inputWallPaperNoFile ¶
type TL_inputWallPaperNoFile struct {
ID int64
}
Constructs InputWallPaper
type TL_inputWallPaperSlug ¶
type TL_inputWallPaperSlug struct {
Slug string
}
Constructs InputWallPaper
type TL_inputWebDocument ¶
type TL_inputWebDocument struct {
URL string
Size int32
MIMEType string
Attributes []TL // DocumentAttribute: TL_documentAttributeImageSize | TL_documentAttributeAnimated | TL_documentAttributeSticker | TL_documentAttributeVideo | TL_documentAttributeAudio | TL_documentAttributeFilename | TL_documentAttributeHasStickers | TL_documentAttributeCustomEmoji
}
Constructs InputWebDocument
type TL_inputWebFileAudioAlbumThumbLocation ¶
type TL_inputWebFileAudioAlbumThumbLocation struct {
Small bool
Document TL // (optional) InputDocument: TL_inputDocumentEmpty | TL_inputDocument
Title *string // (optional)
Performer *string // (optional)
}
Constructs InputWebFileLocation
type TL_inputWebFileGeoPointLocation ¶
type TL_inputWebFileGeoPointLocation struct {
GeoPoint TL // InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
AccessHash int64
W int32
H int32
Zoom int32
Scale int32
}
Constructs InputWebFileLocation
type TL_inputWebFileLocation ¶
Constructs InputWebFileLocation
type TL_invoice ¶
type TL_invoice struct {
Test bool
NameRequested bool
PhoneRequested bool
EmailRequested bool
ShippingAddressRequested bool
Flexible bool
PhoneToProvider bool
EmailToProvider bool
Recurring bool
Currency string
Prices []TL_labeledPrice
MaxTipAmount *int64 // (optional)
SuggestedTipAmounts []int64 // (optional)
TermsURL *string // (optional)
SubscriptionPeriod *int32 // (optional)
}
Constructs Invoice
type TL_invokeAfterMsg ¶
Returns response to Query
type TL_invokeAfterMsgs ¶
Returns response to Query
type TL_invokeWithApnsSecret ¶ added in v0.181.0
Returns response to Query
type TL_invokeWithBusinessConnection ¶ added in v0.181.0
Returns response to Query
type TL_invokeWithGooglePlayIntegrity ¶ added in v0.181.0
Returns response to Query
type TL_invokeWithLayer ¶
Returns response to Query
type TL_invokeWithMessagesRange ¶
type TL_invokeWithMessagesRange struct {
Range TL_messageRange
Query TLReq
}
Returns response to Query
type TL_invokeWithReCaptcha ¶ added in v0.218.0
Returns response to Query
type TL_invokeWithTakeout ¶
Returns response to Query
type TL_invokeWithoutUpdates ¶
type TL_invokeWithoutUpdates struct {
Query TLReq
}
Returns response to Query
type TL_ipPortSecret ¶
Constructs IpPort
type TL_jsonArray ¶
type TL_jsonArray struct {
Value []TL // JSONValue: TL_jsonNull | TL_jsonBool | TL_jsonNumber | TL_jsonString | TL_jsonArray | TL_jsonObject
}
Constructs JSONValue
type TL_jsonObjectValue ¶
type TL_jsonObjectValue struct {
Key string
Value TL // JSONValue: TL_jsonNull | TL_jsonBool | TL_jsonNumber | TL_jsonString | TL_jsonArray | TL_jsonObject
}
Constructs JSONObjectValue
type TL_keyboardButtonBuy ¶
type TL_keyboardButtonBuy struct {
Text string
}
Constructs KeyboardButton
type TL_keyboardButtonCallback ¶
Constructs KeyboardButton
type TL_keyboardButtonCopy ¶ added in v0.192.0
Constructs KeyboardButton
type TL_keyboardButtonGame ¶
type TL_keyboardButtonGame struct {
Text string
}
Constructs KeyboardButton
type TL_keyboardButtonRequestGeoLocation ¶
type TL_keyboardButtonRequestGeoLocation struct {
Text string
}
Constructs KeyboardButton
type TL_keyboardButtonRequestPeer ¶
type TL_keyboardButtonRequestPeer struct {
Text string
ButtonID int32
PeerType TL // RequestPeerType: TL_requestPeerTypeUser | TL_requestPeerTypeChat | TL_requestPeerTypeBroadcast
MaxQuantity int32
}
Constructs KeyboardButton
type TL_keyboardButtonRequestPhone ¶
type TL_keyboardButtonRequestPhone struct {
Text string
}
Constructs KeyboardButton
type TL_keyboardButtonRequestPoll ¶
Constructs KeyboardButton
type TL_keyboardButtonRow ¶
type TL_keyboardButtonRow struct {
Buttons []TL // KeyboardButton: TL_keyboardButton | TL_keyboardButtonURL | TL_keyboardButtonCallback | TL_keyboardButtonRequestPhone | TL_keyboardButtonRequestGeoLocation | TL_keyboardButtonSwitchInline | TL_keyboardButtonGame | TL_keyboardButtonBuy | TL_keyboardButtonURLAuth | TL_inputKeyboardButtonURLAuth | TL_keyboardButtonRequestPoll | TL_inputKeyboardButtonUserProfile | TL_keyboardButtonUserProfile | TL_keyboardButtonWebView | TL_keyboardButtonSimpleWebView | TL_keyboardButtonRequestPeer | TL_inputKeyboardButtonRequestPeer | TL_keyboardButtonCopy
}
Constructs KeyboardButtonRow
type TL_keyboardButtonSimpleWebView ¶
Constructs KeyboardButton
type TL_keyboardButtonSwitchInline ¶
type TL_keyboardButtonSwitchInline struct {
SamePeer bool
Text string
Query string
PeerTypes []TL // (optional) InlineQueryPeerType: TL_inlineQueryPeerTypeSameBotPM | TL_inlineQueryPeerTypePM | TL_inlineQueryPeerTypeChat | TL_inlineQueryPeerTypeMegagroup | TL_inlineQueryPeerTypeBroadcast | TL_inlineQueryPeerTypeBotPM
}
Constructs KeyboardButton
type TL_keyboardButtonURL ¶ added in v0.166.2
Constructs KeyboardButton
type TL_keyboardButtonURLAuth ¶ added in v0.166.2
type TL_keyboardButtonURLAuth struct {
Text string
FwdText *string // (optional)
URL string
ButtonID int32
}
Constructs KeyboardButton
type TL_keyboardButtonUserProfile ¶
Constructs KeyboardButton
type TL_keyboardButtonWebView ¶
Constructs KeyboardButton
type TL_labeledPrice ¶
Constructs LabeledPrice
type TL_langPackDifference ¶
type TL_langPackDifference struct {
LangCode string
FromVersion int32
Version int32
Strings []TL // LangPackString: TL_langPackString | TL_langPackStringPluralized | TL_langPackStringDeleted
}
Constructs LangPackDifference
type TL_langPackLanguage ¶
type TL_langPackLanguage struct {
Official bool
RTL bool
Beta bool
Name string
NativeName string
LangCode string
BaseLangCode *string // (optional)
PluralCode string
StringsCount int32
TranslatedCount int32
TranslationsURL string
}
Constructs LangPackLanguage
type TL_langPackString ¶
Constructs LangPackString
type TL_langPackStringDeleted ¶
type TL_langPackStringDeleted struct {
Key string
}
Constructs LangPackString
type TL_langPackStringPluralized ¶
type TL_langPackStringPluralized struct {
Key string
ZeroValue *string // (optional)
OneValue *string // (optional)
TwoValue *string // (optional)
FewValue *string // (optional)
ManyValue *string // (optional)
OtherValue string
}
Constructs LangPackString
type TL_langpack_getDifference ¶
Returns LangPackDifference: TL_langPackDifference
type TL_langpack_getLangPack ¶
Returns LangPackDifference: TL_langPackDifference
type TL_langpack_getLanguage ¶
Returns LangPackLanguage: TL_langPackLanguage
type TL_langpack_getLanguages ¶
type TL_langpack_getLanguages struct {
LangPack string
}
Returns Vector<LangPackLanguage>: TL_langPackLanguage
type TL_langpack_getStrings ¶
Returns Vector<LangPackString>: TL_langPackString | TL_langPackStringPluralized | TL_langPackStringDeleted
type TL_maskCoords ¶
Constructs MaskCoords
type TL_mediaAreaChannelPost ¶ added in v0.181.0
type TL_mediaAreaChannelPost struct {
Coordinates TL_mediaAreaCoordinates
ChannelID int64
MsgID int32
}
Constructs MediaArea
type TL_mediaAreaCoordinates ¶ added in v0.166.0
type TL_mediaAreaCoordinates struct {
X float64
Y float64
W float64
H float64
Rotation float64
Radius *float64 // (optional)
}
Constructs MediaAreaCoordinates
type TL_mediaAreaGeoPoint ¶ added in v0.166.0
type TL_mediaAreaGeoPoint struct {
Coordinates TL_mediaAreaCoordinates
Geo TL // GeoPoint: TL_geoPointEmpty | TL_geoPoint
Address *TL_geoPointAddress // (optional)
}
Constructs MediaArea
type TL_mediaAreaStarGift ¶ added in v0.218.0
type TL_mediaAreaStarGift struct {
Coordinates TL_mediaAreaCoordinates
Slug string
}
Constructs MediaArea
type TL_mediaAreaSuggestedReaction ¶ added in v0.166.0
type TL_mediaAreaSuggestedReaction struct {
Dark bool
Flipped bool
Coordinates TL_mediaAreaCoordinates
Reaction TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}
Constructs MediaArea
type TL_mediaAreaURL ¶ added in v0.183.0
type TL_mediaAreaURL struct {
Coordinates TL_mediaAreaCoordinates
URL string
}
Constructs MediaArea
type TL_mediaAreaVenue ¶ added in v0.166.0
type TL_mediaAreaVenue struct {
Coordinates TL_mediaAreaCoordinates
Geo TL // GeoPoint: TL_geoPointEmpty | TL_geoPoint
Title string
Address string
Provider string
VenueID string
VenueType string
}
Constructs MediaArea
type TL_mediaAreaWeather ¶ added in v0.185.0
type TL_mediaAreaWeather struct {
Coordinates TL_mediaAreaCoordinates
Emoji string
TemperatureC float64
Color int32
}
Constructs MediaArea
type TL_message ¶
type TL_message struct {
Out bool
Mentioned bool
MediaUnread bool
Silent bool
Post bool
FromScheduled bool
Legacy bool
EditHide bool
Pinned bool
Noforwards bool
InvertMedia bool
Offline bool
VideoProcessingPending bool
PaidSuggestedPostStars bool
PaidSuggestedPostTon bool
ID int32
FromID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
FromBoostsApplied *int32 // (optional)
PeerID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
SavedPeerID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
FwdFrom *TL_messageFwdHeader // (optional)
ViaBotID *int64 // (optional)
ViaBusinessBotID *int64 // (optional)
ReplyTo TL // (optional) MessageReplyHeader: TL_messageReplyHeader | TL_messageReplyStoryHeader
Date int32
Message string
Media TL // (optional) MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia | TL_messageMediaToDo | TL_messageMediaVideoStream
ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
Views *int32 // (optional)
Forwards *int32 // (optional)
Replies *TL_messageReplies // (optional)
EditDate *int32 // (optional)
PostAuthor *string // (optional)
GroupedID *int64 // (optional)
Reactions *TL_messageReactions // (optional)
RestrictionReason []TL_restrictionReason // (optional)
TTLPeriod *int32 // (optional)
QuickReplyShortcutID *int32 // (optional)
Effect *int64 // (optional)
Factcheck *TL_factCheck // (optional)
ReportDeliveryUntilDate *int32 // (optional)
PaidMessageStars *int64 // (optional)
SuggestedPost *TL_suggestedPost // (optional)
ScheduleRepeatPeriod *int32 // (optional)
}
Constructs Message
type TL_messageActionBoostApply ¶ added in v0.181.0
type TL_messageActionBoostApply struct {
Boosts int32
}
Constructs MessageAction
type TL_messageActionBotAllowed ¶
type TL_messageActionBotAllowed struct {
AttachMenu bool
FromRequest bool
Domain *string // (optional)
App TL // (optional) BotApp: TL_botAppNotModified | TL_botApp
}
Constructs MessageAction
type TL_messageActionChannelCreate ¶
type TL_messageActionChannelCreate struct {
Title string
}
Constructs MessageAction
type TL_messageActionChannelMigrateFrom ¶
Constructs MessageAction
type TL_messageActionChatAddUser ¶
type TL_messageActionChatAddUser struct {
Users []int64
}
Constructs MessageAction
type TL_messageActionChatCreate ¶
Constructs MessageAction
type TL_messageActionChatDeletePhoto ¶
type TL_messageActionChatDeletePhoto struct {
}
Constructs MessageAction
type TL_messageActionChatDeleteUser ¶
type TL_messageActionChatDeleteUser struct {
UserID int64
}
Constructs MessageAction
type TL_messageActionChatEditPhoto ¶
type TL_messageActionChatEditPhoto struct {
Photo TL // Photo: TL_photoEmpty | TL_photo
}
Constructs MessageAction
type TL_messageActionChatEditTitle ¶
type TL_messageActionChatEditTitle struct {
Title string
}
Constructs MessageAction
type TL_messageActionChatJoinedByLink ¶
type TL_messageActionChatJoinedByLink struct {
InviterID int64
}
Constructs MessageAction
type TL_messageActionChatJoinedByRequest ¶
type TL_messageActionChatJoinedByRequest struct {
}
Constructs MessageAction
type TL_messageActionChatMigrateTo ¶
type TL_messageActionChatMigrateTo struct {
ChannelID int64
}
Constructs MessageAction
type TL_messageActionConferenceCall ¶ added in v0.218.0
type TL_messageActionConferenceCall struct {
Missed bool
Active bool
Video bool
CallID int64
Duration *int32 // (optional)
OtherParticipants []TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}
Constructs MessageAction
type TL_messageActionContactSignUp ¶
type TL_messageActionContactSignUp struct {
}
Constructs MessageAction
type TL_messageActionCustomAction ¶
type TL_messageActionCustomAction struct {
Message string
}
Constructs MessageAction
type TL_messageActionGameScore ¶
Constructs MessageAction
type TL_messageActionGeoProximityReached ¶
type TL_messageActionGeoProximityReached struct {
FromID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
ToID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Distance int32
}
Constructs MessageAction
type TL_messageActionGiftCode ¶ added in v0.166.0
type TL_messageActionGiftCode struct {
ViaGiveaway bool
Unclaimed bool
BoostPeer TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Days int32
Slug string
Currency *string // (optional)
Amount *int64 // (optional)
CryptoCurrency *string // (optional)
CryptoAmount *int64 // (optional)
Message *TL_textWithEntities // (optional)
}
Constructs MessageAction
type TL_messageActionGiftPremium ¶
type TL_messageActionGiftPremium struct {
Currency string
Amount int64
Days int32
CryptoCurrency *string // (optional)
CryptoAmount *int64 // (optional)
Message *TL_textWithEntities // (optional)
}
Constructs MessageAction
type TL_messageActionGiftStars ¶ added in v0.185.0
type TL_messageActionGiftStars struct {
Currency string
Amount int64
Stars int64
CryptoCurrency *string // (optional)
CryptoAmount *int64 // (optional)
TransactionID *string // (optional)
}
Constructs MessageAction
type TL_messageActionGiftTon ¶ added in v0.218.0
type TL_messageActionGiftTon struct {
Currency string
Amount int64
CryptoCurrency string
CryptoAmount int64
TransactionID *string // (optional)
}
Constructs MessageAction
type TL_messageActionGiveawayLaunch ¶ added in v0.166.0
type TL_messageActionGiveawayLaunch struct {
Stars *int64 // (optional)
}
Constructs MessageAction
type TL_messageActionGiveawayResults ¶ added in v0.167.0
Constructs MessageAction
type TL_messageActionGroupCall ¶
type TL_messageActionGroupCall struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
Duration *int32 // (optional)
}
Constructs MessageAction
type TL_messageActionGroupCallScheduled ¶
type TL_messageActionGroupCallScheduled struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
ScheduleDate int32
}
Constructs MessageAction
type TL_messageActionHistoryClear ¶
type TL_messageActionHistoryClear struct {
}
Constructs MessageAction
type TL_messageActionInviteToGroupCall ¶
type TL_messageActionInviteToGroupCall struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
Users []int64
}
Constructs MessageAction
type TL_messageActionPINMessage ¶ added in v0.166.2
type TL_messageActionPINMessage struct {
}
Constructs MessageAction
type TL_messageActionPaidMessagesPrice ¶ added in v0.218.0
Constructs MessageAction
type TL_messageActionPaidMessagesRefunded ¶ added in v0.218.0
Constructs MessageAction
type TL_messageActionPaymentRefunded ¶ added in v0.185.0
type TL_messageActionPaymentRefunded struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Currency string
TotalAmount int64
Payload []byte // (optional)
Charge TL_paymentCharge
}
Constructs MessageAction
type TL_messageActionPaymentSent ¶
type TL_messageActionPaymentSent struct {
RecurringInit bool
RecurringUsed bool
Currency string
TotalAmount int64
InvoiceSlug *string // (optional)
SubscriptionUntilDate *int32 // (optional)
}
Constructs MessageAction
type TL_messageActionPaymentSentMe ¶
type TL_messageActionPaymentSentMe struct {
RecurringInit bool
RecurringUsed bool
Currency string
TotalAmount int64
Payload []byte
Info *TL_paymentRequestedInfo // (optional)
ShippingOptionID *string // (optional)
Charge TL_paymentCharge
SubscriptionUntilDate *int32 // (optional)
}
Constructs MessageAction
type TL_messageActionPhoneCall ¶
type TL_messageActionPhoneCall struct {
Video bool
CallID int64
Reason TL // (optional) PhoneCallDiscardReason: TL_phoneCallDiscardReasonMissed | TL_phoneCallDiscardReasonDisconnect | TL_phoneCallDiscardReasonHangup | TL_phoneCallDiscardReasonBusy | TL_phoneCallDiscardReasonMigrateConferenceCall
Duration *int32 // (optional)
}
Constructs MessageAction
type TL_messageActionPrizeStars ¶ added in v0.187.0
type TL_messageActionPrizeStars struct {
Unclaimed bool
Stars int64
TransactionID string
BoostPeer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
GiveawayMsgID int32
}
Constructs MessageAction
type TL_messageActionRequestedPeer ¶
type TL_messageActionRequestedPeer struct {
ButtonID int32
Peers []TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}
Constructs MessageAction
type TL_messageActionRequestedPeerSentMe ¶ added in v0.181.0
type TL_messageActionRequestedPeerSentMe struct {
ButtonID int32
Peers []TL // RequestedPeer: TL_requestedPeerUser | TL_requestedPeerChat | TL_requestedPeerChannel
}
Constructs MessageAction
type TL_messageActionScreenshotTaken ¶
type TL_messageActionScreenshotTaken struct {
}
Constructs MessageAction
type TL_messageActionSecureValuesSent ¶
type TL_messageActionSecureValuesSent struct {
Types []TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
}
Constructs MessageAction
type TL_messageActionSecureValuesSentMe ¶
type TL_messageActionSecureValuesSentMe struct {
Values []TL_secureValue
Credentials TL_secureCredentialsEncrypted
}
Constructs MessageAction
type TL_messageActionSetChatTheme ¶
type TL_messageActionSetChatTheme struct {
Theme TL // ChatTheme: TL_chatTheme | TL_chatThemeUniqueGift
}
Constructs MessageAction
type TL_messageActionSetChatWallPaper ¶
type TL_messageActionSetChatWallPaper struct {
Same bool
ForBoth bool
Wallpaper TL // WallPaper: TL_wallPaper | TL_wallPaperNoFile
}
Constructs MessageAction
type TL_messageActionSetMessagesTTL ¶
Constructs MessageAction
type TL_messageActionStarGift ¶ added in v0.192.0
type TL_messageActionStarGift struct {
NameHidden bool
Saved bool
Converted bool
Upgraded bool
Refunded bool
CanUpgrade bool
PrepaidUpgrade bool
UpgradeSeparate bool
AuctionAcquired bool
Gift TL // StarGift: TL_starGift | TL_starGiftUnique
Message *TL_textWithEntities // (optional)
ConvertStars *int64 // (optional)
UpgradeMsgID *int32 // (optional)
UpgradeStars *int64 // (optional)
FromID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Peer TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
SavedID *int64 // (optional)
PrepaidUpgradeHash *string // (optional)
GiftMsgID *int32 // (optional)
ToID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
GiftNum *int32 // (optional)
}
Constructs MessageAction
type TL_messageActionStarGiftPurchaseOffer ¶ added in v0.220.0
type TL_messageActionStarGiftPurchaseOffer struct {
Accepted bool
Declined bool
Gift TL // StarGift: TL_starGift | TL_starGiftUnique
Price TL // StarsAmount: TL_starsAmount | TL_starsTonAmount
ExpiresAt int32
}
Constructs MessageAction
type TL_messageActionStarGiftPurchaseOfferDeclined ¶ added in v0.220.0
type TL_messageActionStarGiftPurchaseOfferDeclined struct {
Expired bool
Gift TL // StarGift: TL_starGift | TL_starGiftUnique
Price TL // StarsAmount: TL_starsAmount | TL_starsTonAmount
}
Constructs MessageAction
type TL_messageActionStarGiftUnique ¶ added in v0.196.0
type TL_messageActionStarGiftUnique struct {
Upgrade bool
Transferred bool
Saved bool
Refunded bool
PrepaidUpgrade bool
Assigned bool
FromOffer bool
Gift TL // StarGift: TL_starGift | TL_starGiftUnique
CanExportAt *int32 // (optional)
TransferStars *int64 // (optional)
FromID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Peer TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
SavedID *int64 // (optional)
ResaleAmount TL // (optional) StarsAmount: TL_starsAmount | TL_starsTonAmount
CanTransferAt *int32 // (optional)
CanResellAt *int32 // (optional)
DropOriginalDetailsStars *int64 // (optional)
}
Constructs MessageAction
type TL_messageActionSuggestBirthday ¶ added in v0.218.0
type TL_messageActionSuggestBirthday struct {
Birthday TL_birthday
}
Constructs MessageAction
type TL_messageActionSuggestProfilePhoto ¶
type TL_messageActionSuggestProfilePhoto struct {
Photo TL // Photo: TL_photoEmpty | TL_photo
}
Constructs MessageAction
type TL_messageActionSuggestedPostApproval ¶ added in v0.218.0
type TL_messageActionSuggestedPostApproval struct {
Rejected bool
BalanceTooLow bool
RejectComment *string // (optional)
ScheduleDate *int32 // (optional)
Price TL // (optional) StarsAmount: TL_starsAmount | TL_starsTonAmount
}
Constructs MessageAction
type TL_messageActionSuggestedPostRefund ¶ added in v0.218.0
type TL_messageActionSuggestedPostRefund struct {
PayerInitiated bool
}
Constructs MessageAction
type TL_messageActionSuggestedPostSuccess ¶ added in v0.218.0
type TL_messageActionSuggestedPostSuccess struct {
Price TL // StarsAmount: TL_starsAmount | TL_starsTonAmount
}
Constructs MessageAction
type TL_messageActionTodoAppendTasks ¶ added in v0.218.0
type TL_messageActionTodoAppendTasks struct {
List []TL_todoItem
}
Constructs MessageAction
type TL_messageActionTodoCompletions ¶ added in v0.218.0
Constructs MessageAction
type TL_messageActionTopicCreate ¶
type TL_messageActionTopicCreate struct {
TitleMissing bool
Title string
IconColor int32
IconEmojiID *int64 // (optional)
}
Constructs MessageAction
type TL_messageActionTopicEdit ¶
type TL_messageActionTopicEdit struct {
Title *string // (optional)
IconEmojiID *int64 // (optional)
Closed *bool // (optional)
Hidden *bool // (optional)
}
Constructs MessageAction
type TL_messageActionWebViewDataSent ¶
type TL_messageActionWebViewDataSent struct {
Text string
}
Constructs MessageAction
type TL_messageActionWebViewDataSentMe ¶
Constructs MessageAction
type TL_messageEmpty ¶
type TL_messageEmpty struct {
ID int32
PeerID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}
Constructs Message
type TL_messageEntityBankCard ¶
Constructs MessageEntity
type TL_messageEntityBlockquote ¶
Constructs MessageEntity
type TL_messageEntityBold ¶
Constructs MessageEntity
type TL_messageEntityBotCommand ¶
Constructs MessageEntity
type TL_messageEntityCashtag ¶
Constructs MessageEntity
type TL_messageEntityCode ¶
Constructs MessageEntity
type TL_messageEntityCustomEmoji ¶
Constructs MessageEntity
type TL_messageEntityEmail ¶
Constructs MessageEntity
type TL_messageEntityHashtag ¶
Constructs MessageEntity
type TL_messageEntityItalic ¶
Constructs MessageEntity
type TL_messageEntityMention ¶
Constructs MessageEntity
type TL_messageEntityMentionName ¶
Constructs MessageEntity
type TL_messageEntityPhone ¶
Constructs MessageEntity
type TL_messageEntityPre ¶
Constructs MessageEntity
type TL_messageEntitySpoiler ¶
Constructs MessageEntity
type TL_messageEntityStrike ¶
Constructs MessageEntity
type TL_messageEntityTextURL ¶ added in v0.166.2
Constructs MessageEntity
type TL_messageEntityURL ¶ added in v0.166.2
Constructs MessageEntity
type TL_messageEntityUnderline ¶
Constructs MessageEntity
type TL_messageEntityUnknown ¶
Constructs MessageEntity
type TL_messageExtendedMedia ¶
type TL_messageExtendedMedia struct {
Media TL // MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia | TL_messageMediaToDo | TL_messageMediaVideoStream
}
Constructs MessageExtendedMedia
type TL_messageExtendedMediaPreview ¶
type TL_messageExtendedMediaPreview struct {
W *int32 // (optional)
H *int32 // (optional)
Thumb TL // (optional) PhotoSize: TL_photoSizeEmpty | TL_photoSize | TL_photoCachedSize | TL_photoStrippedSize | TL_photoSizeProgressive | TL_photoPathSize
VideoDuration *int32 // (optional)
}
Constructs MessageExtendedMedia
type TL_messageFwdHeader ¶
type TL_messageFwdHeader struct {
Imported bool
SavedOut bool
FromID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
FromName *string // (optional)
Date int32
ChannelPost *int32 // (optional)
PostAuthor *string // (optional)
SavedFromPeer TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
SavedFromMsgID *int32 // (optional)
SavedFromID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
SavedFromName *string // (optional)
SavedDate *int32 // (optional)
PSAType *string // (optional)
}
Constructs MessageFwdHeader
type TL_messageMediaContact ¶
type TL_messageMediaContact struct {
PhoneNumber string
FirstName string
LastName string
Vcard string
UserID int64
}
Constructs MessageMedia
type TL_messageMediaDice ¶
Constructs MessageMedia
type TL_messageMediaDocument ¶
type TL_messageMediaDocument struct {
Spoiler bool
Video bool
Round bool
Voice bool
Document TL // (optional) Document: TL_documentEmpty | TL_document
AltDocuments []TL // (optional) Document: TL_documentEmpty | TL_document
VideoCover TL // (optional) Photo: TL_photoEmpty | TL_photo
VideoTimestamp *int32 // (optional)
TTLSeconds *int32 // (optional)
}
Constructs MessageMedia
type TL_messageMediaGeo ¶
type TL_messageMediaGeo struct {
Geo TL // GeoPoint: TL_geoPointEmpty | TL_geoPoint
}
Constructs MessageMedia
type TL_messageMediaGeoLive ¶
type TL_messageMediaGeoLive struct {
Geo TL // GeoPoint: TL_geoPointEmpty | TL_geoPoint
Heading *int32 // (optional)
Period int32
ProximityNotificationRadius *int32 // (optional)
}
Constructs MessageMedia
type TL_messageMediaGiveaway ¶ added in v0.166.0
type TL_messageMediaGiveaway struct {
OnlyNewSubscribers bool
WinnersAreVisible bool
Channels []int64
CountriesISO2 []string // (optional)
PrizeDescription *string // (optional)
Quantity int32
Months *int32 // (optional)
Stars *int64 // (optional)
UntilDate int32
}
Constructs MessageMedia
type TL_messageMediaGiveawayResults ¶ added in v0.181.0
type TL_messageMediaGiveawayResults struct {
OnlyNewSubscribers bool
Refunded bool
ChannelID int64
AdditionalPeersCount *int32 // (optional)
LaunchMsgID int32
WinnersCount int32
UnclaimedCount int32
Winners []int64
Months *int32 // (optional)
Stars *int64 // (optional)
PrizeDescription *string // (optional)
UntilDate int32
}
Constructs MessageMedia
type TL_messageMediaInvoice ¶
type TL_messageMediaInvoice struct {
ShippingAddressRequested bool
Test bool
Title string
Description string
Photo TL // (optional) WebDocument: TL_webDocument | TL_webDocumentNoProxy
ReceiptMsgID *int32 // (optional)
Currency string
TotalAmount int64
StartParam string
ExtendedMedia TL // (optional) MessageExtendedMedia: TL_messageExtendedMediaPreview | TL_messageExtendedMedia
}
Constructs MessageMedia
type TL_messageMediaPaidMedia ¶ added in v0.183.0
type TL_messageMediaPaidMedia struct {
StarsAmount int64
ExtendedMedia []TL // MessageExtendedMedia: TL_messageExtendedMediaPreview | TL_messageExtendedMedia
}
Constructs MessageMedia
type TL_messageMediaPhoto ¶
type TL_messageMediaPhoto struct {
Spoiler bool
Photo TL // (optional) Photo: TL_photoEmpty | TL_photo
TTLSeconds *int32 // (optional)
}
Constructs MessageMedia
type TL_messageMediaPoll ¶
type TL_messageMediaPoll struct {
Poll TL_poll
Results TL_pollResults
}
Constructs MessageMedia
type TL_messageMediaStory ¶ added in v0.166.0
type TL_messageMediaStory struct {
ViaMention bool
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
ID int32
Story TL // (optional) StoryItem: TL_storyItemDeleted | TL_storyItemSkipped | TL_storyItem
}
Constructs MessageMedia
type TL_messageMediaToDo ¶ added in v0.218.0
type TL_messageMediaToDo struct {
Todo TL_todoList
Completions []TL_todoCompletion // (optional)
}
Constructs MessageMedia
type TL_messageMediaUnsupported ¶
type TL_messageMediaUnsupported struct {
}
Constructs MessageMedia
type TL_messageMediaVenue ¶
type TL_messageMediaVenue struct {
Geo TL // GeoPoint: TL_geoPointEmpty | TL_geoPoint
Title string
Address string
Provider string
VenueID string
VenueType string
}
Constructs MessageMedia
type TL_messageMediaVideoStream ¶ added in v0.218.0
type TL_messageMediaVideoStream struct {
RTMPStream bool
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
}
Constructs MessageMedia
type TL_messageMediaWebPage ¶
type TL_messageMediaWebPage struct {
ForceLargeMedia bool
ForceSmallMedia bool
Manual bool
Safe bool
Webpage TL // WebPage: TL_webPageEmpty | TL_webPagePending | TL_webPage | TL_webPageNotModified
}
Constructs MessageMedia
type TL_messagePeerReaction ¶
type TL_messagePeerReaction struct {
Big bool
Unread bool
My bool
PeerID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Date int32
Reaction TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}
Constructs MessagePeerReaction
type TL_messagePeerVote ¶ added in v0.166.0
type TL_messagePeerVote struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Option []byte
Date int32
}
Constructs MessagePeerVote
type TL_messagePeerVoteInputOption ¶ added in v0.166.0
type TL_messagePeerVoteInputOption struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Date int32
}
Constructs MessagePeerVote
type TL_messagePeerVoteMultiple ¶ added in v0.166.0
type TL_messagePeerVoteMultiple struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Options [][]byte
Date int32
}
Constructs MessagePeerVote
type TL_messageRange ¶
Constructs MessageRange
type TL_messageReactions ¶
type TL_messageReactions struct {
Min bool
CanSeeList bool
ReactionsAsTags bool
Results []TL_reactionCount
RecentReactions []TL_messagePeerReaction // (optional)
TopReactors []TL_messageReactor // (optional)
}
Constructs MessageReactions
type TL_messageReactor ¶ added in v0.186.0
type TL_messageReactor struct {
Top bool
My bool
Anonymous bool
PeerID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Count int32
}
Constructs MessageReactor
type TL_messageReplies ¶
type TL_messageReplies struct {
Comments bool
Replies int32
RepliesPTS int32
RecentRepliers []TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
ChannelID *int64 // (optional)
MaxID *int32 // (optional)
ReadMaxID *int32 // (optional)
}
Constructs MessageReplies
type TL_messageReplyHeader ¶
type TL_messageReplyHeader struct {
ReplyToScheduled bool
ForumTopic bool
Quote bool
ReplyToMsgID *int32 // (optional)
ReplyToPeerID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
ReplyFrom *TL_messageFwdHeader // (optional)
ReplyMedia TL // (optional) MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia | TL_messageMediaToDo | TL_messageMediaVideoStream
ReplyToTopID *int32 // (optional)
QuoteText *string // (optional)
QuoteEntities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
QuoteOffset *int32 // (optional)
TodoItemID *int32 // (optional)
}
Constructs MessageReplyHeader
type TL_messageReplyStoryHeader ¶ added in v0.166.0
type TL_messageReplyStoryHeader struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
StoryID int32
}
Constructs MessageReplyHeader
type TL_messageReportOption ¶ added in v0.192.0
Constructs MessageReportOption
type TL_messageService ¶
type TL_messageService struct {
Out bool
Mentioned bool
MediaUnread bool
ReactionsArePossible bool
Silent bool
Post bool
Legacy bool
ID int32
FromID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
PeerID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
SavedPeerID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
ReplyTo TL // (optional) MessageReplyHeader: TL_messageReplyHeader | TL_messageReplyStoryHeader
Date int32
Action TL // MessageAction: TL_messageActionEmpty | TL_messageActionChatCreate | TL_messageActionChatEditTitle | TL_messageActionChatEditPhoto | TL_messageActionChatDeletePhoto | TL_messageActionChatAddUser | TL_messageActionChatDeleteUser | TL_messageActionChatJoinedByLink | TL_messageActionChannelCreate | TL_messageActionChatMigrateTo | TL_messageActionChannelMigrateFrom | TL_messageActionPINMessage | TL_messageActionHistoryClear | TL_messageActionGameScore | TL_messageActionPaymentSentMe | TL_messageActionPaymentSent | TL_messageActionPhoneCall | TL_messageActionScreenshotTaken | TL_messageActionCustomAction | TL_messageActionBotAllowed | TL_messageActionSecureValuesSentMe | TL_messageActionSecureValuesSent | TL_messageActionContactSignUp | TL_messageActionGeoProximityReached | TL_messageActionGroupCall | TL_messageActionInviteToGroupCall | TL_messageActionSetMessagesTTL | TL_messageActionGroupCallScheduled | TL_messageActionSetChatTheme | TL_messageActionChatJoinedByRequest | TL_messageActionWebViewDataSentMe | TL_messageActionWebViewDataSent | TL_messageActionGiftPremium | TL_messageActionTopicCreate | TL_messageActionTopicEdit | TL_messageActionSuggestProfilePhoto | TL_messageActionRequestedPeer | TL_messageActionSetChatWallPaper | TL_messageActionGiftCode | TL_messageActionGiveawayLaunch | TL_messageActionGiveawayResults | TL_messageActionBoostApply | TL_messageActionRequestedPeerSentMe | TL_messageActionPaymentRefunded | TL_messageActionGiftStars | TL_messageActionPrizeStars | TL_messageActionStarGift | TL_messageActionStarGiftUnique | TL_messageActionPaidMessagesRefunded | TL_messageActionPaidMessagesPrice | TL_messageActionConferenceCall | TL_messageActionTodoCompletions | TL_messageActionTodoAppendTasks | TL_messageActionSuggestedPostApproval | TL_messageActionSuggestedPostSuccess | TL_messageActionSuggestedPostRefund | TL_messageActionGiftTon | TL_messageActionSuggestBirthday | TL_messageActionStarGiftPurchaseOffer | TL_messageActionStarGiftPurchaseOfferDeclined
Reactions *TL_messageReactions // (optional)
TTLPeriod *int32 // (optional)
}
Constructs Message
type TL_messageViews ¶
type TL_messageViews struct {
Views *int32 // (optional)
Forwards *int32 // (optional)
Replies *TL_messageReplies // (optional)
}
Constructs MessageViews
type TL_messages_acceptEncryption ¶
type TL_messages_acceptEncryption struct {
Peer TL_inputEncryptedChat
GB []byte
KeyFingerprint int64
}
Returns EncryptedChat: TL_encryptedChatEmpty | TL_encryptedChatWaiting | TL_encryptedChatRequested | TL_encryptedChat | TL_encryptedChatDiscarded
type TL_messages_acceptURLAuth ¶ added in v0.166.2
type TL_messages_acceptURLAuth struct {
WriteAllowed bool
Peer TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID *int32 // (optional)
ButtonID *int32 // (optional)
URL *string // (optional)
}
Returns UrlAuthResult: TL_urlAuthResultRequest | TL_urlAuthResultAccepted | TL_urlAuthResultDefault
type TL_messages_addChatUser ¶
type TL_messages_addChatUser struct {
ChatID int64
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
FwdLimit int32
}
Returns messages.InvitedUsers: TL_messages_invitedUsers
type TL_messages_affectedFoundMessages ¶
type TL_messages_affectedFoundMessages struct {
PTS int32
PTSCount int32
Offset int32
Messages []int32
}
Constructs messages.AffectedFoundMessages
type TL_messages_affectedHistory ¶
Constructs messages.AffectedHistory
type TL_messages_affectedMessages ¶
Constructs messages.AffectedMessages
type TL_messages_allStickers ¶
type TL_messages_allStickers struct {
Hash int64
Sets []TL_stickerSet
}
Constructs messages.AllStickers
type TL_messages_allStickersNotModified ¶
type TL_messages_allStickersNotModified struct {
}
Constructs messages.AllStickers
type TL_messages_appendTodoList ¶ added in v0.218.0
type TL_messages_appendTodoList struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
List []TL_todoItem
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_archivedStickers ¶
type TL_messages_archivedStickers struct {
Count int32
Sets []TL // StickerSetCovered: TL_stickerSetCovered | TL_stickerSetMultiCovered | TL_stickerSetFullCovered | TL_stickerSetNoCovered
}
Constructs messages.ArchivedStickers
type TL_messages_availableEffects ¶ added in v0.181.0
type TL_messages_availableEffects struct {
Hash int32
Effects []TL_availableEffect
Documents []TL // Document: TL_documentEmpty | TL_document
}
Constructs messages.AvailableEffects
type TL_messages_availableEffectsNotModified ¶ added in v0.181.0
type TL_messages_availableEffectsNotModified struct {
}
Constructs messages.AvailableEffects
type TL_messages_availableReactions ¶
type TL_messages_availableReactions struct {
Hash int32
Reactions []TL_availableReaction
}
Constructs messages.AvailableReactions
type TL_messages_availableReactionsNotModified ¶
type TL_messages_availableReactionsNotModified struct {
}
Constructs messages.AvailableReactions
type TL_messages_botApp ¶
type TL_messages_botApp struct {
Inactive bool
RequestWriteAccess bool
HasSettings bool
App TL // BotApp: TL_botAppNotModified | TL_botApp
}
Constructs messages.BotApp
type TL_messages_botCallbackAnswer ¶
type TL_messages_botCallbackAnswer struct {
Alert bool
HasURL bool
NativeUI bool
Message *string // (optional)
URL *string // (optional)
CacheTime int32
}
Constructs messages.BotCallbackAnswer
type TL_messages_botPreparedInlineMessage ¶ added in v0.195.0
Constructs messages.BotPreparedInlineMessage
type TL_messages_botResults ¶
type TL_messages_botResults struct {
Gallery bool
QueryID int64
NextOffset *string // (optional)
SwitchPM *TL_inlineBotSwitchPM // (optional)
SwitchWebview *TL_inlineBotWebView // (optional)
Results []TL // BotInlineResult: TL_botInlineResult | TL_botInlineMediaResult
CacheTime int32
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.BotResults
type TL_messages_channelMessages ¶
type TL_messages_channelMessages struct {
Inexact bool
PTS int32
Count int32
OffsetIDOffset *int32 // (optional)
Messages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
Topics []TL // ForumTopic: TL_forumTopicDeleted | TL_forumTopic
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.Messages
type TL_messages_chatAdminsWithInvites ¶
type TL_messages_chatAdminsWithInvites struct {
Admins []TL_chatAdminWithInvites
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.ChatAdminsWithInvites
type TL_messages_chatFull ¶
type TL_messages_chatFull struct {
FullChat TL // ChatFull: TL_chatFull | TL_channelFull
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.ChatFull
type TL_messages_chatInviteImporters ¶
type TL_messages_chatInviteImporters struct {
Count int32
Importers []TL_chatInviteImporter
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.ChatInviteImporters
type TL_messages_chats ¶
type TL_messages_chats struct {
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
}
Constructs messages.Chats
type TL_messages_chatsSlice ¶
type TL_messages_chatsSlice struct {
Count int32
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
}
Constructs messages.Chats
type TL_messages_checkChatInvite ¶
type TL_messages_checkChatInvite struct {
Hash string
}
Returns ChatInvite: TL_chatInviteAlready | TL_chatInvite | TL_chatInvitePeek
type TL_messages_checkHistoryImport ¶
type TL_messages_checkHistoryImport struct {
ImportHead string
}
Returns messages.HistoryImportParsed: TL_messages_historyImportParsed
type TL_messages_checkHistoryImportPeer ¶
type TL_messages_checkHistoryImportPeer struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns messages.CheckedHistoryImportPeer: TL_messages_checkedHistoryImportPeer
type TL_messages_checkQuickReplyShortcut ¶ added in v0.181.0
type TL_messages_checkQuickReplyShortcut struct {
Shortcut string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_checkedHistoryImportPeer ¶
type TL_messages_checkedHistoryImportPeer struct {
ConfirmText string
}
Constructs messages.CheckedHistoryImportPeer
type TL_messages_clearAllDrafts ¶
type TL_messages_clearAllDrafts struct {
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_clearRecentReactions ¶
type TL_messages_clearRecentReactions struct {
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_clearRecentStickers ¶
type TL_messages_clearRecentStickers struct {
Attached bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_clickSponsoredMessage ¶ added in v0.192.0
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_createChat ¶
type TL_messages_createChat struct {
Users []TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Title string
TTLPeriod *int32 // (optional)
}
Returns messages.InvitedUsers: TL_messages_invitedUsers
type TL_messages_createForumTopic ¶ added in v0.218.0
type TL_messages_createForumTopic struct {
TitleMissing bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Title string
IconColor *int32 // (optional)
IconEmojiID *int64 // (optional)
RandomID int64
SendAs TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_deleteChat ¶
type TL_messages_deleteChat struct {
ChatID int64
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_deleteChatUser ¶
type TL_messages_deleteChatUser struct {
RevokeHistory bool
ChatID int64
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_deleteExportedChatInvite ¶
type TL_messages_deleteExportedChatInvite struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Link string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_deleteFactCheck ¶ added in v0.181.0
type TL_messages_deleteFactCheck struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_deleteHistory ¶
type TL_messages_deleteHistory struct {
JustClear bool
Revoke bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MaxID int32
MinDate *int32 // (optional)
MaxDate *int32 // (optional)
}
Returns messages.AffectedHistory: TL_messages_affectedHistory
type TL_messages_deleteMessages ¶
Returns messages.AffectedMessages: TL_messages_affectedMessages
type TL_messages_deletePhoneCallHistory ¶
type TL_messages_deletePhoneCallHistory struct {
Revoke bool
}
Returns messages.AffectedFoundMessages: TL_messages_affectedFoundMessages
type TL_messages_deleteQuickReplyMessages ¶ added in v0.181.0
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_deleteQuickReplyShortcut ¶ added in v0.181.0
type TL_messages_deleteQuickReplyShortcut struct {
ShortcutID int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_deleteRevokedExportedChatInvites ¶
type TL_messages_deleteRevokedExportedChatInvites struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
AdminID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_deleteSavedHistory ¶ added in v0.181.0
type TL_messages_deleteSavedHistory struct {
ParentPeer TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MaxID int32
MinDate *int32 // (optional)
MaxDate *int32 // (optional)
}
Returns messages.AffectedHistory: TL_messages_affectedHistory
type TL_messages_deleteScheduledMessages ¶
type TL_messages_deleteScheduledMessages struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID []int32
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_deleteTopicHistory ¶ added in v0.218.0
type TL_messages_deleteTopicHistory struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
TopMsgID int32
}
Returns messages.AffectedHistory: TL_messages_affectedHistory
type TL_messages_dhConfig ¶
Constructs messages.DhConfig
type TL_messages_dhConfigNotModified ¶
type TL_messages_dhConfigNotModified struct {
Random []byte
}
Constructs messages.DhConfig
type TL_messages_dialogFilters ¶ added in v0.181.0
type TL_messages_dialogFilters struct {
TagsEnabled bool
Filters []TL // DialogFilter: TL_dialogFilter | TL_dialogFilterDefault | TL_dialogFilterChatlist
}
Constructs messages.DialogFilters
type TL_messages_dialogs ¶
type TL_messages_dialogs struct {
Dialogs []TL // Dialog: TL_dialog | TL_dialogFolder
Messages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.Dialogs
type TL_messages_dialogsNotModified ¶
type TL_messages_dialogsNotModified struct {
Count int32
}
Constructs messages.Dialogs
type TL_messages_dialogsSlice ¶
type TL_messages_dialogsSlice struct {
Count int32
Dialogs []TL // Dialog: TL_dialog | TL_dialogFolder
Messages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.Dialogs
type TL_messages_discardEncryption ¶
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_discussionMessage ¶
type TL_messages_discussionMessage struct {
Messages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
MaxID *int32 // (optional)
ReadInboxMaxID *int32 // (optional)
ReadOutboxMaxID *int32 // (optional)
UnreadCount int32
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.DiscussionMessage
type TL_messages_editChatAbout ¶
type TL_messages_editChatAbout struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
About string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_editChatAdmin ¶
type TL_messages_editChatAdmin struct {
ChatID int64
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
IsAdmin bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_editChatDefaultBannedRights ¶
type TL_messages_editChatDefaultBannedRights struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
BannedRights TL_chatBannedRights
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_editChatPhoto ¶
type TL_messages_editChatPhoto struct {
ChatID int64
Photo TL // InputChatPhoto: TL_inputChatPhotoEmpty | TL_inputChatUploadedPhoto | TL_inputChatPhoto
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_editChatTitle ¶
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_editExportedChatInvite ¶
type TL_messages_editExportedChatInvite struct {
Revoked bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Link string
ExpireDate *int32 // (optional)
UsageLimit *int32 // (optional)
RequestNeeded *bool // (optional)
Title *string // (optional)
}
Returns messages.ExportedChatInvite: TL_messages_exportedChatInvite | TL_messages_exportedChatInviteReplaced
type TL_messages_editFactCheck ¶ added in v0.181.0
type TL_messages_editFactCheck struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
Text TL_textWithEntities
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_editForumTopic ¶ added in v0.218.0
type TL_messages_editForumTopic struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
TopicID int32
Title *string // (optional)
IconEmojiID *int64 // (optional)
Closed *bool // (optional)
Hidden *bool // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_editInlineBotMessage ¶
type TL_messages_editInlineBotMessage struct {
NoWebpage bool
InvertMedia bool
ID TL // InputBotInlineMessageID: TL_inputBotInlineMessageID | TL_inputBotInlineMessageID64
Message *string // (optional)
Media TL // (optional) InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia | TL_inputMediaTodo
ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_editMessage ¶
type TL_messages_editMessage struct {
NoWebpage bool
InvertMedia bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID int32
Message *string // (optional)
Media TL // (optional) InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia | TL_inputMediaTodo
ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
ScheduleDate *int32 // (optional)
ScheduleRepeatPeriod *int32 // (optional)
QuickReplyShortcutID *int32 // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_editQuickReplyShortcut ¶ added in v0.181.0
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_emojiGroups ¶
type TL_messages_emojiGroups struct {
Hash int32
Groups []TL // EmojiGroup: TL_emojiGroup | TL_emojiGroupGreeting | TL_emojiGroupPremium
}
Constructs messages.EmojiGroups
type TL_messages_emojiGroupsNotModified ¶
type TL_messages_emojiGroupsNotModified struct {
}
Constructs messages.EmojiGroups
type TL_messages_exportChatInvite ¶
type TL_messages_exportChatInvite struct {
LegacyRevokePermanent bool
RequestNeeded bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ExpireDate *int32 // (optional)
UsageLimit *int32 // (optional)
Title *string // (optional)
SubscriptionPricing *TL_starsSubscriptionPricing // (optional)
}
Returns ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
type TL_messages_exportedChatInvite ¶
type TL_messages_exportedChatInvite struct {
Invite TL // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.ExportedChatInvite
type TL_messages_exportedChatInviteReplaced ¶
type TL_messages_exportedChatInviteReplaced struct {
Invite TL // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
NewInvite TL // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.ExportedChatInvite
type TL_messages_exportedChatInvites ¶
type TL_messages_exportedChatInvites struct {
Count int32
Invites []TL // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.ExportedChatInvites
type TL_messages_faveSticker ¶
type TL_messages_faveSticker struct {
ID TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
Unfave bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_favedStickers ¶
type TL_messages_favedStickers struct {
Hash int64
Packs []TL_stickerPack
Stickers []TL // Document: TL_documentEmpty | TL_document
}
Constructs messages.FavedStickers
type TL_messages_favedStickersNotModified ¶
type TL_messages_favedStickersNotModified struct {
}
Constructs messages.FavedStickers
type TL_messages_featuredStickers ¶
type TL_messages_featuredStickers struct {
Premium bool
Hash int64
Count int32
Sets []TL // StickerSetCovered: TL_stickerSetCovered | TL_stickerSetMultiCovered | TL_stickerSetFullCovered | TL_stickerSetNoCovered
Unread []int64
}
Constructs messages.FeaturedStickers
type TL_messages_featuredStickersNotModified ¶
type TL_messages_featuredStickersNotModified struct {
Count int32
}
Constructs messages.FeaturedStickers
type TL_messages_forumTopics ¶
type TL_messages_forumTopics struct {
OrderByCreateDate bool
Count int32
Topics []TL // ForumTopic: TL_forumTopicDeleted | TL_forumTopic
Messages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
PTS int32
}
Constructs messages.ForumTopics
type TL_messages_forwardMessages ¶
type TL_messages_forwardMessages struct {
Silent bool
Background bool
WithMyScore bool
DropAuthor bool
DropMediaCaptions bool
Noforwards bool
AllowPaidFloodskip bool
FromPeer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID []int32
RandomID []int64
ToPeer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
TopMsgID *int32 // (optional)
ReplyTo TL // (optional) InputReplyTo: TL_inputReplyToMessage | TL_inputReplyToStory | TL_inputReplyToMonoForum
ScheduleDate *int32 // (optional)
ScheduleRepeatPeriod *int32 // (optional)
SendAs TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
QuickReplyShortcut TL // (optional) InputQuickReplyShortcut: TL_inputQuickReplyShortcut | TL_inputQuickReplyShortcutID
Effect *int64 // (optional)
VideoTimestamp *int32 // (optional)
AllowPaidStars *int64 // (optional)
SuggestedPost *TL_suggestedPost // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_foundStickerSets ¶
type TL_messages_foundStickerSets struct {
Hash int64
Sets []TL // StickerSetCovered: TL_stickerSetCovered | TL_stickerSetMultiCovered | TL_stickerSetFullCovered | TL_stickerSetNoCovered
}
Constructs messages.FoundStickerSets
type TL_messages_foundStickerSetsNotModified ¶
type TL_messages_foundStickerSetsNotModified struct {
}
Constructs messages.FoundStickerSets
type TL_messages_foundStickers ¶ added in v0.195.0
type TL_messages_foundStickers struct {
NextOffset *int32 // (optional)
Hash int64
Stickers []TL // Document: TL_documentEmpty | TL_document
}
Constructs messages.FoundStickers
type TL_messages_foundStickersNotModified ¶ added in v0.195.0
type TL_messages_foundStickersNotModified struct {
NextOffset *int32 // (optional)
}
Constructs messages.FoundStickers
type TL_messages_getAdminsWithInvites ¶
type TL_messages_getAdminsWithInvites struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns messages.ChatAdminsWithInvites: TL_messages_chatAdminsWithInvites
type TL_messages_getAllDrafts ¶
type TL_messages_getAllDrafts struct {
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_getAllStickers ¶
type TL_messages_getAllStickers struct {
Hash int64
}
Returns messages.AllStickers: TL_messages_allStickersNotModified | TL_messages_allStickers
type TL_messages_getArchivedStickers ¶
Returns messages.ArchivedStickers: TL_messages_archivedStickers
type TL_messages_getAttachMenuBot ¶
type TL_messages_getAttachMenuBot struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns AttachMenuBotsBot: TL_attachMenuBotsBot
type TL_messages_getAttachMenuBots ¶
type TL_messages_getAttachMenuBots struct {
Hash int64
}
Returns AttachMenuBots: TL_attachMenuBotsNotModified | TL_attachMenuBots
type TL_messages_getAttachedStickers ¶
type TL_messages_getAttachedStickers struct {
Media TL // InputStickeredMedia: TL_inputStickeredMediaPhoto | TL_inputStickeredMediaDocument
}
Returns Vector<StickerSetCovered>: TL_stickerSetCovered | TL_stickerSetMultiCovered | TL_stickerSetFullCovered | TL_stickerSetNoCovered
type TL_messages_getAvailableEffects ¶ added in v0.181.0
type TL_messages_getAvailableEffects struct {
Hash int32
}
Returns messages.AvailableEffects: TL_messages_availableEffectsNotModified | TL_messages_availableEffects
type TL_messages_getAvailableReactions ¶
type TL_messages_getAvailableReactions struct {
Hash int32
}
Returns messages.AvailableReactions: TL_messages_availableReactionsNotModified | TL_messages_availableReactions
type TL_messages_getBotApp ¶
type TL_messages_getBotApp struct {
App TL // InputBotApp: TL_inputBotAppID | TL_inputBotAppShortName
Hash int64
}
Returns messages.BotApp: TL_messages_botApp
type TL_messages_getBotCallbackAnswer ¶
type TL_messages_getBotCallbackAnswer struct {
Game bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
Data []byte // (optional)
Password TL // (optional) InputCheckPasswordSRP: TL_inputCheckPasswordEmpty | TL_inputCheckPasswordSRP
}
Returns messages.BotCallbackAnswer: TL_messages_botCallbackAnswer
type TL_messages_getChatInviteImporters ¶
type TL_messages_getChatInviteImporters struct {
Requested bool
SubscriptionExpired bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Link *string // (optional)
Q *string // (optional)
OffsetDate int32
OffsetUser TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Limit int32
}
Returns messages.ChatInviteImporters: TL_messages_chatInviteImporters
type TL_messages_getChats ¶
type TL_messages_getChats struct {
ID []int64
}
Returns messages.Chats: TL_messages_chats | TL_messages_chatsSlice
type TL_messages_getCommonChats ¶
type TL_messages_getCommonChats struct {
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
MaxID int64
Limit int32
}
Returns messages.Chats: TL_messages_chats | TL_messages_chatsSlice
type TL_messages_getCustomEmojiDocuments ¶
type TL_messages_getCustomEmojiDocuments struct {
DocumentID []int64
}
Returns Vector<Document>: TL_documentEmpty | TL_document
type TL_messages_getDHConfig ¶ added in v0.166.2
Returns messages.DhConfig: TL_messages_dhConfigNotModified | TL_messages_dhConfig
type TL_messages_getDefaultHistoryTTL ¶
type TL_messages_getDefaultHistoryTTL struct {
}
Returns DefaultHistoryTTL: TL_defaultHistoryTTL
type TL_messages_getDefaultTagReactions ¶ added in v0.181.0
type TL_messages_getDefaultTagReactions struct {
Hash int64
}
Returns messages.Reactions: TL_messages_reactionsNotModified | TL_messages_reactions
type TL_messages_getDialogFilters ¶
type TL_messages_getDialogFilters struct {
}
Returns messages.DialogFilters: TL_messages_dialogFilters
type TL_messages_getDialogUnreadMarks ¶
type TL_messages_getDialogUnreadMarks struct {
ParentPeer TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Vector<DialogPeer>: TL_dialogPeer | TL_dialogPeerFolder
type TL_messages_getDialogs ¶
type TL_messages_getDialogs struct {
ExcludePinned bool
FolderID *int32 // (optional)
OffsetDate int32
OffsetID int32
OffsetPeer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Limit int32
Hash int64
}
Returns messages.Dialogs: TL_messages_dialogs | TL_messages_dialogsSlice | TL_messages_dialogsNotModified
type TL_messages_getDiscussionMessage ¶
type TL_messages_getDiscussionMessage struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
}
Returns messages.DiscussionMessage: TL_messages_discussionMessage
type TL_messages_getDocumentByHash ¶
Returns Document: TL_documentEmpty | TL_document
type TL_messages_getEmojiGroups ¶
type TL_messages_getEmojiGroups struct {
Hash int32
}
Returns messages.EmojiGroups: TL_messages_emojiGroupsNotModified | TL_messages_emojiGroups
type TL_messages_getEmojiKeywords ¶
type TL_messages_getEmojiKeywords struct {
LangCode string
}
Returns EmojiKeywordsDifference: TL_emojiKeywordsDifference
type TL_messages_getEmojiKeywordsDifference ¶
Returns EmojiKeywordsDifference: TL_emojiKeywordsDifference
type TL_messages_getEmojiKeywordsLanguages ¶
type TL_messages_getEmojiKeywordsLanguages struct {
LangCodes []string
}
Returns Vector<EmojiLanguage>: TL_emojiLanguage
type TL_messages_getEmojiProfilePhotoGroups ¶
type TL_messages_getEmojiProfilePhotoGroups struct {
Hash int32
}
Returns messages.EmojiGroups: TL_messages_emojiGroupsNotModified | TL_messages_emojiGroups
type TL_messages_getEmojiStatusGroups ¶
type TL_messages_getEmojiStatusGroups struct {
Hash int32
}
Returns messages.EmojiGroups: TL_messages_emojiGroupsNotModified | TL_messages_emojiGroups
type TL_messages_getEmojiStickerGroups ¶ added in v0.181.0
type TL_messages_getEmojiStickerGroups struct {
Hash int32
}
Returns messages.EmojiGroups: TL_messages_emojiGroupsNotModified | TL_messages_emojiGroups
type TL_messages_getEmojiStickers ¶
type TL_messages_getEmojiStickers struct {
Hash int64
}
Returns messages.AllStickers: TL_messages_allStickersNotModified | TL_messages_allStickers
type TL_messages_getEmojiURL ¶
type TL_messages_getEmojiURL struct {
LangCode string
}
Returns EmojiURL: TL_emojiURL
type TL_messages_getExportedChatInvite ¶
type TL_messages_getExportedChatInvite struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Link string
}
Returns messages.ExportedChatInvite: TL_messages_exportedChatInvite | TL_messages_exportedChatInviteReplaced
type TL_messages_getExportedChatInvites ¶
type TL_messages_getExportedChatInvites struct {
Revoked bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
AdminID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
OffsetDate *int32 // (optional)
OffsetLink *string // (optional)
Limit int32
}
Returns messages.ExportedChatInvites: TL_messages_exportedChatInvites
type TL_messages_getExtendedMedia ¶
type TL_messages_getExtendedMedia struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID []int32
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_getFactCheck ¶ added in v0.181.0
type TL_messages_getFactCheck struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID []int32
}
Returns Vector<FactCheck>: TL_factCheck
type TL_messages_getFavedStickers ¶
type TL_messages_getFavedStickers struct {
Hash int64
}
Returns messages.FavedStickers: TL_messages_favedStickersNotModified | TL_messages_favedStickers
type TL_messages_getFeaturedEmojiStickers ¶
type TL_messages_getFeaturedEmojiStickers struct {
Hash int64
}
Returns messages.FeaturedStickers: TL_messages_featuredStickersNotModified | TL_messages_featuredStickers
type TL_messages_getFeaturedStickers ¶
type TL_messages_getFeaturedStickers struct {
Hash int64
}
Returns messages.FeaturedStickers: TL_messages_featuredStickersNotModified | TL_messages_featuredStickers
type TL_messages_getForumTopics ¶ added in v0.218.0
type TL_messages_getForumTopics struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Q *string // (optional)
OffsetDate int32
OffsetID int32
OffsetTopic int32
Limit int32
}
Returns messages.ForumTopics: TL_messages_forumTopics
type TL_messages_getForumTopicsByID ¶ added in v0.218.0
type TL_messages_getForumTopicsByID struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Topics []int32
}
Returns messages.ForumTopics: TL_messages_forumTopics
type TL_messages_getFullChat ¶
type TL_messages_getFullChat struct {
ChatID int64
}
Returns messages.ChatFull: TL_messages_chatFull
type TL_messages_getGameHighScores ¶
type TL_messages_getGameHighScores struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID int32
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns messages.HighScores: TL_messages_highScores
type TL_messages_getHistory ¶
type TL_messages_getHistory struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
OffsetID int32
OffsetDate int32
AddOffset int32
Limit int32
MaxID int32
MinID int32
Hash int64
}
Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified
type TL_messages_getInlineBotResults ¶
type TL_messages_getInlineBotResults struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
GeoPoint TL // (optional) InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
Query string
Offset string
}
Returns messages.BotResults: TL_messages_botResults
type TL_messages_getInlineGameHighScores ¶
type TL_messages_getInlineGameHighScores struct {
ID TL // InputBotInlineMessageID: TL_inputBotInlineMessageID | TL_inputBotInlineMessageID64
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns messages.HighScores: TL_messages_highScores
type TL_messages_getMaskStickers ¶
type TL_messages_getMaskStickers struct {
Hash int64
}
Returns messages.AllStickers: TL_messages_allStickersNotModified | TL_messages_allStickers
type TL_messages_getMessageEditData ¶
type TL_messages_getMessageEditData struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID int32
}
Returns messages.MessageEditData: TL_messages_messageEditData
type TL_messages_getMessageReactionsList ¶
type TL_messages_getMessageReactionsList struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID int32
Reaction TL // (optional) Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
Offset *string // (optional)
Limit int32
}
Returns messages.MessageReactionsList: TL_messages_messageReactionsList
type TL_messages_getMessageReadParticipants ¶
type TL_messages_getMessageReadParticipants struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
}
Returns Vector<ReadParticipantDate>: TL_readParticipantDate
type TL_messages_getMessages ¶
type TL_messages_getMessages struct {
ID []TL // InputMessage: TL_inputMessageID | TL_inputMessageReplyTo | TL_inputMessagePinned | TL_inputMessageCallbackQuery
}
Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified
type TL_messages_getMessagesReactions ¶
type TL_messages_getMessagesReactions struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID []int32
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_getMessagesViews ¶
type TL_messages_getMessagesViews struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID []int32
Increment bool
}
Returns messages.MessageViews: TL_messages_messageViews
type TL_messages_getMyStickers ¶ added in v0.181.0
Returns messages.MyStickers: TL_messages_myStickers
type TL_messages_getOldFeaturedStickers ¶
Returns messages.FeaturedStickers: TL_messages_featuredStickersNotModified | TL_messages_featuredStickers
type TL_messages_getOnlines ¶
type TL_messages_getOnlines struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns ChatOnlines: TL_chatOnlines
type TL_messages_getOutboxReadDate ¶ added in v0.181.0
type TL_messages_getOutboxReadDate struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
}
Returns OutboxReadDate: TL_outboxReadDate
type TL_messages_getPaidReactionPrivacy ¶ added in v0.187.0
type TL_messages_getPaidReactionPrivacy struct {
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_getPeerDialogs ¶
type TL_messages_getPeerDialogs struct {
Peers []TL // InputDialogPeer: TL_inputDialogPeer | TL_inputDialogPeerFolder
}
Returns messages.PeerDialogs: TL_messages_peerDialogs
type TL_messages_getPeerSettings ¶
type TL_messages_getPeerSettings struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns messages.PeerSettings: TL_messages_peerSettings
type TL_messages_getPinnedDialogs ¶
type TL_messages_getPinnedDialogs struct {
FolderID int32
}
Returns messages.PeerDialogs: TL_messages_peerDialogs
type TL_messages_getPinnedSavedDialogs ¶ added in v0.181.0
type TL_messages_getPinnedSavedDialogs struct {
}
Returns messages.SavedDialogs: TL_messages_savedDialogs | TL_messages_savedDialogsSlice | TL_messages_savedDialogsNotModified
type TL_messages_getPollResults ¶
type TL_messages_getPollResults struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_getPollVotes ¶
type TL_messages_getPollVotes struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID int32
Option []byte // (optional)
Offset *string // (optional)
Limit int32
}
Returns messages.VotesList: TL_messages_votesList
type TL_messages_getPreparedInlineMessage ¶ added in v0.195.0
type TL_messages_getPreparedInlineMessage struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
ID string
}
Returns messages.PreparedInlineMessage: TL_messages_preparedInlineMessage
type TL_messages_getQuickReplies ¶ added in v0.181.0
type TL_messages_getQuickReplies struct {
Hash int64
}
Returns messages.QuickReplies: TL_messages_quickReplies | TL_messages_quickRepliesNotModified
type TL_messages_getQuickReplyMessages ¶ added in v0.181.0
type TL_messages_getQuickReplyMessages struct {
ShortcutID int32
ID []int32 // (optional)
Hash int64
}
Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified
type TL_messages_getRecentLocations ¶
type TL_messages_getRecentLocations struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Limit int32
Hash int64
}
Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified
type TL_messages_getRecentReactions ¶
Returns messages.Reactions: TL_messages_reactionsNotModified | TL_messages_reactions
type TL_messages_getRecentStickers ¶
Returns messages.RecentStickers: TL_messages_recentStickersNotModified | TL_messages_recentStickers
type TL_messages_getReplies ¶
type TL_messages_getReplies struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
OffsetID int32
OffsetDate int32
AddOffset int32
Limit int32
MaxID int32
MinID int32
Hash int64
}
Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified
type TL_messages_getSavedDialogs ¶ added in v0.181.0
type TL_messages_getSavedDialogs struct {
ExcludePinned bool
ParentPeer TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
OffsetDate int32
OffsetID int32
OffsetPeer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Limit int32
Hash int64
}
Returns messages.SavedDialogs: TL_messages_savedDialogs | TL_messages_savedDialogsSlice | TL_messages_savedDialogsNotModified
type TL_messages_getSavedDialogsByID ¶ added in v0.218.0
type TL_messages_getSavedDialogsByID struct {
ParentPeer TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
IDs []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns messages.SavedDialogs: TL_messages_savedDialogs | TL_messages_savedDialogsSlice | TL_messages_savedDialogsNotModified
type TL_messages_getSavedGIFs ¶ added in v0.166.2
type TL_messages_getSavedGIFs struct {
Hash int64
}
Returns messages.SavedGifs: TL_messages_savedGIFsNotModified | TL_messages_savedGIFs
type TL_messages_getSavedHistory ¶ added in v0.181.0
type TL_messages_getSavedHistory struct {
ParentPeer TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
OffsetID int32
OffsetDate int32
AddOffset int32
Limit int32
MaxID int32
MinID int32
Hash int64
}
Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified
type TL_messages_getSavedReactionTags ¶ added in v0.181.0
type TL_messages_getSavedReactionTags struct {
Peer TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Hash int64
}
Returns messages.SavedReactionTags: TL_messages_savedReactionTagsNotModified | TL_messages_savedReactionTags
type TL_messages_getScheduledHistory ¶
type TL_messages_getScheduledHistory struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Hash int64
}
Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified
type TL_messages_getScheduledMessages ¶
type TL_messages_getScheduledMessages struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID []int32
}
Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified
type TL_messages_getSearchCounters ¶
type TL_messages_getSearchCounters struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
SavedPeerID TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
TopMsgID *int32 // (optional)
Filters []TL // MessagesFilter: TL_inputMessagesFilterEmpty | TL_inputMessagesFilterPhotos | TL_inputMessagesFilterVideo | TL_inputMessagesFilterPhotoVideo | TL_inputMessagesFilterDocument | TL_inputMessagesFilterURL | TL_inputMessagesFilterGIF | TL_inputMessagesFilterVoice | TL_inputMessagesFilterMusic | TL_inputMessagesFilterChatPhotos | TL_inputMessagesFilterPhoneCalls | TL_inputMessagesFilterRoundVoice | TL_inputMessagesFilterRoundVideo | TL_inputMessagesFilterMyMentions | TL_inputMessagesFilterGeo | TL_inputMessagesFilterContacts | TL_inputMessagesFilterPinned
}
Returns Vector<messages.SearchCounter>: TL_messages_searchCounter
type TL_messages_getSearchResultsCalendar ¶
type TL_messages_getSearchResultsCalendar struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
SavedPeerID TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Filter TL // MessagesFilter: TL_inputMessagesFilterEmpty | TL_inputMessagesFilterPhotos | TL_inputMessagesFilterVideo | TL_inputMessagesFilterPhotoVideo | TL_inputMessagesFilterDocument | TL_inputMessagesFilterURL | TL_inputMessagesFilterGIF | TL_inputMessagesFilterVoice | TL_inputMessagesFilterMusic | TL_inputMessagesFilterChatPhotos | TL_inputMessagesFilterPhoneCalls | TL_inputMessagesFilterRoundVoice | TL_inputMessagesFilterRoundVideo | TL_inputMessagesFilterMyMentions | TL_inputMessagesFilterGeo | TL_inputMessagesFilterContacts | TL_inputMessagesFilterPinned
OffsetID int32
OffsetDate int32
}
Returns messages.SearchResultsCalendar: TL_messages_searchResultsCalendar
type TL_messages_getSearchResultsPositions ¶
type TL_messages_getSearchResultsPositions struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
SavedPeerID TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Filter TL // MessagesFilter: TL_inputMessagesFilterEmpty | TL_inputMessagesFilterPhotos | TL_inputMessagesFilterVideo | TL_inputMessagesFilterPhotoVideo | TL_inputMessagesFilterDocument | TL_inputMessagesFilterURL | TL_inputMessagesFilterGIF | TL_inputMessagesFilterVoice | TL_inputMessagesFilterMusic | TL_inputMessagesFilterChatPhotos | TL_inputMessagesFilterPhoneCalls | TL_inputMessagesFilterRoundVoice | TL_inputMessagesFilterRoundVideo | TL_inputMessagesFilterMyMentions | TL_inputMessagesFilterGeo | TL_inputMessagesFilterContacts | TL_inputMessagesFilterPinned
OffsetID int32
Limit int32
}
Returns messages.SearchResultsPositions: TL_messages_searchResultsPositions
type TL_messages_getSplitRanges ¶
type TL_messages_getSplitRanges struct {
}
Returns Vector<MessageRange>: TL_messageRange
type TL_messages_getSponsoredMessages ¶ added in v0.192.0
type TL_messages_getSponsoredMessages struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID *int32 // (optional)
}
Returns messages.SponsoredMessages: TL_messages_sponsoredMessages | TL_messages_sponsoredMessagesEmpty
type TL_messages_getStickerSet ¶
type TL_messages_getStickerSet struct {
Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses | TL_inputStickerSetTonGifts
Hash int32
}
Returns messages.StickerSet: TL_messages_stickerSet | TL_messages_stickerSetNotModified
type TL_messages_getStickers ¶
Returns messages.Stickers: TL_messages_stickersNotModified | TL_messages_stickers
type TL_messages_getSuggestedDialogFilters ¶
type TL_messages_getSuggestedDialogFilters struct {
}
Returns Vector<DialogFilterSuggested>: TL_dialogFilterSuggested
type TL_messages_getTopReactions ¶
Returns messages.Reactions: TL_messages_reactionsNotModified | TL_messages_reactions
type TL_messages_getUnreadMentions ¶
type TL_messages_getUnreadMentions struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
TopMsgID *int32 // (optional)
OffsetID int32
AddOffset int32
Limit int32
MaxID int32
MinID int32
}
Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified
type TL_messages_getUnreadReactions ¶
type TL_messages_getUnreadReactions struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
TopMsgID *int32 // (optional)
SavedPeerID TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
OffsetID int32
AddOffset int32
Limit int32
MaxID int32
MinID int32
}
Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified
type TL_messages_getWebPage ¶
Returns messages.WebPage: TL_messages_webPage
type TL_messages_getWebPagePreview ¶
type TL_messages_getWebPagePreview struct {
Message string
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
}
Returns messages.WebPagePreview: TL_messages_webPagePreview
type TL_messages_hideAllChatJoinRequests ¶
type TL_messages_hideAllChatJoinRequests struct {
Approved bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Link *string // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_hideChatJoinRequest ¶
type TL_messages_hideChatJoinRequest struct {
Approved bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_hidePeerSettingsBar ¶
type TL_messages_hidePeerSettingsBar struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_highScores ¶
type TL_messages_highScores struct {
Scores []TL_highScore
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.HighScores
type TL_messages_historyImport ¶
type TL_messages_historyImport struct {
ID int64
}
Constructs messages.HistoryImport
type TL_messages_historyImportParsed ¶
Constructs messages.HistoryImportParsed
type TL_messages_importChatInvite ¶
type TL_messages_importChatInvite struct {
Hash string
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_inactiveChats ¶
type TL_messages_inactiveChats struct {
Dates []int32
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.InactiveChats
type TL_messages_initHistoryImport ¶
type TL_messages_initHistoryImport struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
File TL // InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
MediaCount int32
}
Returns messages.HistoryImport: TL_messages_historyImport
type TL_messages_installStickerSet ¶
type TL_messages_installStickerSet struct {
Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses | TL_inputStickerSetTonGifts
Archived bool
}
Returns messages.StickerSetInstallResult: TL_messages_stickerSetInstallResultSuccess | TL_messages_stickerSetInstallResultArchive
type TL_messages_invitedUsers ¶ added in v0.181.0
type TL_messages_invitedUsers struct {
Updates TL // Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
MissingInvitees []TL_missingInvitee
}
Constructs messages.InvitedUsers
type TL_messages_markDialogUnread ¶
type TL_messages_markDialogUnread struct {
Unread bool
ParentPeer TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Peer TL // InputDialogPeer: TL_inputDialogPeer | TL_inputDialogPeerFolder
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_messageEditData ¶
type TL_messages_messageEditData struct {
Caption bool
}
Constructs messages.MessageEditData
type TL_messages_messageReactionsList ¶
type TL_messages_messageReactionsList struct {
Count int32
Reactions []TL_messagePeerReaction
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
NextOffset *string // (optional)
}
Constructs messages.MessageReactionsList
type TL_messages_messageViews ¶
type TL_messages_messageViews struct {
Views []TL_messageViews
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.MessageViews
type TL_messages_messages ¶
type TL_messages_messages struct {
Messages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
Topics []TL // ForumTopic: TL_forumTopicDeleted | TL_forumTopic
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.Messages
type TL_messages_messagesNotModified ¶
type TL_messages_messagesNotModified struct {
Count int32
}
Constructs messages.Messages
type TL_messages_messagesSlice ¶
type TL_messages_messagesSlice struct {
Inexact bool
Count int32
NextRate *int32 // (optional)
OffsetIDOffset *int32 // (optional)
SearchFlood *TL_searchPostsFlood // (optional)
Messages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
Topics []TL // ForumTopic: TL_forumTopicDeleted | TL_forumTopic
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.Messages
type TL_messages_migrateChat ¶
type TL_messages_migrateChat struct {
ChatID int64
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_myStickers ¶ added in v0.181.0
type TL_messages_myStickers struct {
Count int32
Sets []TL // StickerSetCovered: TL_stickerSetCovered | TL_stickerSetMultiCovered | TL_stickerSetFullCovered | TL_stickerSetNoCovered
}
Constructs messages.MyStickers
type TL_messages_peerDialogs ¶
type TL_messages_peerDialogs struct {
Dialogs []TL // Dialog: TL_dialog | TL_dialogFolder
Messages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
State TL_updates_state
}
Constructs messages.PeerDialogs
type TL_messages_peerSettings ¶
type TL_messages_peerSettings struct {
Settings TL_peerSettings
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.PeerSettings
type TL_messages_preparedInlineMessage ¶ added in v0.195.0
type TL_messages_preparedInlineMessage struct {
QueryID int64
Result TL // BotInlineResult: TL_botInlineResult | TL_botInlineMediaResult
PeerTypes []TL // InlineQueryPeerType: TL_inlineQueryPeerTypeSameBotPM | TL_inlineQueryPeerTypePM | TL_inlineQueryPeerTypeChat | TL_inlineQueryPeerTypeMegagroup | TL_inlineQueryPeerTypeBroadcast | TL_inlineQueryPeerTypeBotPM
CacheTime int32
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.PreparedInlineMessage
type TL_messages_prolongWebView ¶
type TL_messages_prolongWebView struct {
Silent bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
QueryID int64
ReplyTo TL // (optional) InputReplyTo: TL_inputReplyToMessage | TL_inputReplyToStory | TL_inputReplyToMonoForum
SendAs TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_quickReplies ¶ added in v0.181.0
type TL_messages_quickReplies struct {
QuickReplies []TL_quickReply
Messages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.QuickReplies
type TL_messages_quickRepliesNotModified ¶ added in v0.181.0
type TL_messages_quickRepliesNotModified struct {
}
Constructs messages.QuickReplies
type TL_messages_rateTranscribedAudio ¶
type TL_messages_rateTranscribedAudio struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
TranscriptionID int64
Good bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_reactions ¶
type TL_messages_reactions struct {
Hash int64
Reactions []TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}
Constructs messages.Reactions
type TL_messages_reactionsNotModified ¶
type TL_messages_reactionsNotModified struct {
}
Constructs messages.Reactions
type TL_messages_readDiscussion ¶
type TL_messages_readDiscussion struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
ReadMaxID int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_readEncryptedHistory ¶
type TL_messages_readEncryptedHistory struct {
Peer TL_inputEncryptedChat
MaxDate int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_readFeaturedStickers ¶
type TL_messages_readFeaturedStickers struct {
ID []int64
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_readHistory ¶
type TL_messages_readHistory struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MaxID int32
}
Returns messages.AffectedMessages: TL_messages_affectedMessages
type TL_messages_readMentions ¶
type TL_messages_readMentions struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
TopMsgID *int32 // (optional)
}
Returns messages.AffectedHistory: TL_messages_affectedHistory
type TL_messages_readMessageContents ¶
type TL_messages_readMessageContents struct {
ID []int32
}
Returns messages.AffectedMessages: TL_messages_affectedMessages
type TL_messages_readReactions ¶
type TL_messages_readReactions struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
TopMsgID *int32 // (optional)
SavedPeerID TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns messages.AffectedHistory: TL_messages_affectedHistory
type TL_messages_readSavedHistory ¶ added in v0.218.0
type TL_messages_readSavedHistory struct {
ParentPeer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MaxID int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_receivedMessages ¶
type TL_messages_receivedMessages struct {
MaxID int32
}
Returns Vector<ReceivedNotifyMessage>: TL_receivedNotifyMessage
type TL_messages_receivedQueue ¶
type TL_messages_receivedQueue struct {
MaxQTS int32
}
Returns Vector<long>:
type TL_messages_recentStickers ¶
type TL_messages_recentStickers struct {
Hash int64
Packs []TL_stickerPack
Stickers []TL // Document: TL_documentEmpty | TL_document
Dates []int32
}
Constructs messages.RecentStickers
type TL_messages_recentStickersNotModified ¶
type TL_messages_recentStickersNotModified struct {
}
Constructs messages.RecentStickers
type TL_messages_reorderPinnedDialogs ¶
type TL_messages_reorderPinnedDialogs struct {
Force bool
FolderID int32
Order []TL // InputDialogPeer: TL_inputDialogPeer | TL_inputDialogPeerFolder
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_reorderPinnedForumTopics ¶ added in v0.218.0
type TL_messages_reorderPinnedForumTopics struct {
Force bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Order []int32
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_reorderPinnedSavedDialogs ¶ added in v0.181.0
type TL_messages_reorderPinnedSavedDialogs struct {
Force bool
Order []TL // InputDialogPeer: TL_inputDialogPeer | TL_inputDialogPeerFolder
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_reorderQuickReplies ¶ added in v0.181.0
type TL_messages_reorderQuickReplies struct {
Order []int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_reorderStickerSets ¶
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_report ¶
type TL_messages_report struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID []int32
Option []byte
Message string
}
Returns ReportResult: TL_reportResultChooseOption | TL_reportResultAddComment | TL_reportResultReported
type TL_messages_reportEncryptedSpam ¶
type TL_messages_reportEncryptedSpam struct {
Peer TL_inputEncryptedChat
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_reportMessagesDelivery ¶ added in v0.196.0
type TL_messages_reportMessagesDelivery struct {
Push bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID []int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_reportReaction ¶
type TL_messages_reportReaction struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID int32
ReactionPeer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_reportSpam ¶
type TL_messages_reportSpam struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_reportSponsoredMessage ¶ added in v0.192.0
Returns channels.SponsoredMessageReportResult: TL_channels_sponsoredMessageReportResultChooseOption | TL_channels_sponsoredMessageReportResultAdsHidden | TL_channels_sponsoredMessageReportResultReported
type TL_messages_requestAppWebView ¶
type TL_messages_requestAppWebView struct {
WriteAllowed bool
Compact bool
Fullscreen bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
App TL // InputBotApp: TL_inputBotAppID | TL_inputBotAppShortName
StartParam *string // (optional)
ThemeParams *TL_dataJSON // (optional)
Platform string
}
Returns WebViewResult: TL_webViewResultURL
type TL_messages_requestEncryption ¶
type TL_messages_requestEncryption struct {
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
RandomID int32
GA []byte
}
Returns EncryptedChat: TL_encryptedChatEmpty | TL_encryptedChatWaiting | TL_encryptedChatRequested | TL_encryptedChat | TL_encryptedChatDiscarded
type TL_messages_requestMainWebView ¶ added in v0.185.0
type TL_messages_requestMainWebView struct {
Compact bool
Fullscreen bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
StartParam *string // (optional)
ThemeParams *TL_dataJSON // (optional)
Platform string
}
Returns WebViewResult: TL_webViewResultURL
type TL_messages_requestSimpleWebView ¶
type TL_messages_requestSimpleWebView struct {
FromSwitchWebview bool
FromSideMenu bool
Compact bool
Fullscreen bool
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
URL *string // (optional)
StartParam *string // (optional)
ThemeParams *TL_dataJSON // (optional)
Platform string
}
Returns WebViewResult: TL_webViewResultURL
type TL_messages_requestURLAuth ¶ added in v0.166.2
type TL_messages_requestURLAuth struct {
Peer TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID *int32 // (optional)
ButtonID *int32 // (optional)
URL *string // (optional)
}
Returns UrlAuthResult: TL_urlAuthResultRequest | TL_urlAuthResultAccepted | TL_urlAuthResultDefault
type TL_messages_requestWebView ¶
type TL_messages_requestWebView struct {
FromBotMenu bool
Silent bool
Compact bool
Fullscreen bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
URL *string // (optional)
StartParam *string // (optional)
ThemeParams *TL_dataJSON // (optional)
Platform string
ReplyTo TL // (optional) InputReplyTo: TL_inputReplyToMessage | TL_inputReplyToStory | TL_inputReplyToMonoForum
SendAs TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns WebViewResult: TL_webViewResultURL
type TL_messages_saveDefaultSendAs ¶
type TL_messages_saveDefaultSendAs struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
SendAs TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_saveDraft ¶
type TL_messages_saveDraft struct {
NoWebpage bool
InvertMedia bool
ReplyTo TL // (optional) InputReplyTo: TL_inputReplyToMessage | TL_inputReplyToStory | TL_inputReplyToMonoForum
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Message string
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
Media TL // (optional) InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia | TL_inputMediaTodo
Effect *int64 // (optional)
SuggestedPost *TL_suggestedPost // (optional)
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_saveGIF ¶ added in v0.166.2
type TL_messages_saveGIF struct {
ID TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
Unsave bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_savePreparedInlineMessage ¶ added in v0.195.0
type TL_messages_savePreparedInlineMessage struct {
Result TL // InputBotInlineResult: TL_inputBotInlineResult | TL_inputBotInlineResultPhoto | TL_inputBotInlineResultDocument | TL_inputBotInlineResultGame
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
PeerTypes []TL // (optional) InlineQueryPeerType: TL_inlineQueryPeerTypeSameBotPM | TL_inlineQueryPeerTypePM | TL_inlineQueryPeerTypeChat | TL_inlineQueryPeerTypeMegagroup | TL_inlineQueryPeerTypeBroadcast | TL_inlineQueryPeerTypeBotPM
}
Returns messages.BotPreparedInlineMessage: TL_messages_botPreparedInlineMessage
type TL_messages_saveRecentSticker ¶
type TL_messages_saveRecentSticker struct {
Attached bool
ID TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
Unsave bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_savedDialogs ¶ added in v0.181.0
type TL_messages_savedDialogs struct {
Dialogs []TL // SavedDialog: TL_savedDialog | TL_monoForumDialog
Messages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.SavedDialogs
type TL_messages_savedDialogsNotModified ¶ added in v0.181.0
type TL_messages_savedDialogsNotModified struct {
Count int32
}
Constructs messages.SavedDialogs
type TL_messages_savedDialogsSlice ¶ added in v0.181.0
type TL_messages_savedDialogsSlice struct {
Count int32
Dialogs []TL // SavedDialog: TL_savedDialog | TL_monoForumDialog
Messages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.SavedDialogs
type TL_messages_savedGIFs ¶ added in v0.166.2
type TL_messages_savedGIFs struct {
Hash int64
GIFs []TL // Document: TL_documentEmpty | TL_document
}
Constructs messages.SavedGifs
type TL_messages_savedGIFsNotModified ¶ added in v0.166.2
type TL_messages_savedGIFsNotModified struct {
}
Constructs messages.SavedGifs
type TL_messages_savedReactionTags ¶ added in v0.181.0
type TL_messages_savedReactionTags struct {
Tags []TL_savedReactionTag
Hash int64
}
Constructs messages.SavedReactionTags
type TL_messages_savedReactionTagsNotModified ¶ added in v0.181.0
type TL_messages_savedReactionTagsNotModified struct {
}
Constructs messages.SavedReactionTags
type TL_messages_search ¶
type TL_messages_search struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Q string
FromID TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
SavedPeerID TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
SavedReaction []TL // (optional) Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
TopMsgID *int32 // (optional)
Filter TL // MessagesFilter: TL_inputMessagesFilterEmpty | TL_inputMessagesFilterPhotos | TL_inputMessagesFilterVideo | TL_inputMessagesFilterPhotoVideo | TL_inputMessagesFilterDocument | TL_inputMessagesFilterURL | TL_inputMessagesFilterGIF | TL_inputMessagesFilterVoice | TL_inputMessagesFilterMusic | TL_inputMessagesFilterChatPhotos | TL_inputMessagesFilterPhoneCalls | TL_inputMessagesFilterRoundVoice | TL_inputMessagesFilterRoundVideo | TL_inputMessagesFilterMyMentions | TL_inputMessagesFilterGeo | TL_inputMessagesFilterContacts | TL_inputMessagesFilterPinned
MinDate int32
MaxDate int32
OffsetID int32
AddOffset int32
Limit int32
MaxID int32
MinID int32
Hash int64
}
Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified
type TL_messages_searchCounter ¶
type TL_messages_searchCounter struct {
Inexact bool
Filter TL // MessagesFilter: TL_inputMessagesFilterEmpty | TL_inputMessagesFilterPhotos | TL_inputMessagesFilterVideo | TL_inputMessagesFilterPhotoVideo | TL_inputMessagesFilterDocument | TL_inputMessagesFilterURL | TL_inputMessagesFilterGIF | TL_inputMessagesFilterVoice | TL_inputMessagesFilterMusic | TL_inputMessagesFilterChatPhotos | TL_inputMessagesFilterPhoneCalls | TL_inputMessagesFilterRoundVoice | TL_inputMessagesFilterRoundVideo | TL_inputMessagesFilterMyMentions | TL_inputMessagesFilterGeo | TL_inputMessagesFilterContacts | TL_inputMessagesFilterPinned
Count int32
}
Constructs messages.SearchCounter
type TL_messages_searchCustomEmoji ¶
Returns EmojiList: TL_emojiListNotModified | TL_emojiList
type TL_messages_searchEmojiStickerSets ¶ added in v0.167.0
Returns messages.FoundStickerSets: TL_messages_foundStickerSetsNotModified | TL_messages_foundStickerSets
type TL_messages_searchGlobal ¶
type TL_messages_searchGlobal struct {
BroadcastsOnly bool
GroupsOnly bool
UsersOnly bool
FolderID *int32 // (optional)
Q string
Filter TL // MessagesFilter: TL_inputMessagesFilterEmpty | TL_inputMessagesFilterPhotos | TL_inputMessagesFilterVideo | TL_inputMessagesFilterPhotoVideo | TL_inputMessagesFilterDocument | TL_inputMessagesFilterURL | TL_inputMessagesFilterGIF | TL_inputMessagesFilterVoice | TL_inputMessagesFilterMusic | TL_inputMessagesFilterChatPhotos | TL_inputMessagesFilterPhoneCalls | TL_inputMessagesFilterRoundVoice | TL_inputMessagesFilterRoundVideo | TL_inputMessagesFilterMyMentions | TL_inputMessagesFilterGeo | TL_inputMessagesFilterContacts | TL_inputMessagesFilterPinned
MinDate int32
MaxDate int32
OffsetRate int32
OffsetPeer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
OffsetID int32
Limit int32
}
Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified
type TL_messages_searchResultsCalendar ¶
type TL_messages_searchResultsCalendar struct {
Inexact bool
Count int32
MinDate int32
MinMsgID int32
OffsetIDOffset *int32 // (optional)
Periods []TL_searchResultsCalendarPeriod
Messages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.SearchResultsCalendar
type TL_messages_searchResultsPositions ¶
type TL_messages_searchResultsPositions struct {
Count int32
Positions []TL_searchResultPosition
}
Constructs messages.SearchResultsPositions
type TL_messages_searchSentMedia ¶
type TL_messages_searchSentMedia struct {
Q string
Filter TL // MessagesFilter: TL_inputMessagesFilterEmpty | TL_inputMessagesFilterPhotos | TL_inputMessagesFilterVideo | TL_inputMessagesFilterPhotoVideo | TL_inputMessagesFilterDocument | TL_inputMessagesFilterURL | TL_inputMessagesFilterGIF | TL_inputMessagesFilterVoice | TL_inputMessagesFilterMusic | TL_inputMessagesFilterChatPhotos | TL_inputMessagesFilterPhoneCalls | TL_inputMessagesFilterRoundVoice | TL_inputMessagesFilterRoundVideo | TL_inputMessagesFilterMyMentions | TL_inputMessagesFilterGeo | TL_inputMessagesFilterContacts | TL_inputMessagesFilterPinned
Limit int32
}
Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified
type TL_messages_searchStickerSets ¶
Returns messages.FoundStickerSets: TL_messages_foundStickerSetsNotModified | TL_messages_foundStickerSets
type TL_messages_searchStickers ¶ added in v0.195.0
type TL_messages_searchStickers struct {
Emojis bool
Q string
Emoticon string
LangCode []string
Offset int32
Limit int32
Hash int64
}
Returns messages.FoundStickers: TL_messages_foundStickersNotModified | TL_messages_foundStickers
type TL_messages_sendBotRequestedPeer ¶
type TL_messages_sendBotRequestedPeer struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
ButtonID int32
RequestedPeers []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_sendEncrypted ¶
type TL_messages_sendEncrypted struct {
Silent bool
Peer TL_inputEncryptedChat
RandomID int64
Data []byte
}
Returns messages.SentEncryptedMessage: TL_messages_sentEncryptedMessage | TL_messages_sentEncryptedFile
type TL_messages_sendEncryptedFile ¶
type TL_messages_sendEncryptedFile struct {
Silent bool
Peer TL_inputEncryptedChat
RandomID int64
Data []byte
File TL // InputEncryptedFile: TL_inputEncryptedFileEmpty | TL_inputEncryptedFileUploaded | TL_inputEncryptedFile | TL_inputEncryptedFileBigUploaded
}
Returns messages.SentEncryptedMessage: TL_messages_sentEncryptedMessage | TL_messages_sentEncryptedFile
type TL_messages_sendEncryptedService ¶
type TL_messages_sendEncryptedService struct {
Peer TL_inputEncryptedChat
RandomID int64
Data []byte
}
Returns messages.SentEncryptedMessage: TL_messages_sentEncryptedMessage | TL_messages_sentEncryptedFile
type TL_messages_sendInlineBotResult ¶
type TL_messages_sendInlineBotResult struct {
Silent bool
Background bool
ClearDraft bool
HideVia bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ReplyTo TL // (optional) InputReplyTo: TL_inputReplyToMessage | TL_inputReplyToStory | TL_inputReplyToMonoForum
RandomID int64
QueryID int64
ID string
ScheduleDate *int32 // (optional)
SendAs TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
QuickReplyShortcut TL // (optional) InputQuickReplyShortcut: TL_inputQuickReplyShortcut | TL_inputQuickReplyShortcutID
AllowPaidStars *int64 // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_sendMedia ¶
type TL_messages_sendMedia struct {
Silent bool
Background bool
ClearDraft bool
Noforwards bool
UpdateStickersetsOrder bool
InvertMedia bool
AllowPaidFloodskip bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ReplyTo TL // (optional) InputReplyTo: TL_inputReplyToMessage | TL_inputReplyToStory | TL_inputReplyToMonoForum
Media TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia | TL_inputMediaTodo
Message string
RandomID int64
ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
ScheduleDate *int32 // (optional)
ScheduleRepeatPeriod *int32 // (optional)
SendAs TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
QuickReplyShortcut TL // (optional) InputQuickReplyShortcut: TL_inputQuickReplyShortcut | TL_inputQuickReplyShortcutID
Effect *int64 // (optional)
AllowPaidStars *int64 // (optional)
SuggestedPost *TL_suggestedPost // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_sendMessage ¶
type TL_messages_sendMessage struct {
NoWebpage bool
Silent bool
Background bool
ClearDraft bool
Noforwards bool
UpdateStickersetsOrder bool
InvertMedia bool
AllowPaidFloodskip bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ReplyTo TL // (optional) InputReplyTo: TL_inputReplyToMessage | TL_inputReplyToStory | TL_inputReplyToMonoForum
Message string
RandomID int64
ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
ScheduleDate *int32 // (optional)
ScheduleRepeatPeriod *int32 // (optional)
SendAs TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
QuickReplyShortcut TL // (optional) InputQuickReplyShortcut: TL_inputQuickReplyShortcut | TL_inputQuickReplyShortcutID
Effect *int64 // (optional)
AllowPaidStars *int64 // (optional)
SuggestedPost *TL_suggestedPost // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_sendMultiMedia ¶
type TL_messages_sendMultiMedia struct {
Silent bool
Background bool
ClearDraft bool
Noforwards bool
UpdateStickersetsOrder bool
InvertMedia bool
AllowPaidFloodskip bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ReplyTo TL // (optional) InputReplyTo: TL_inputReplyToMessage | TL_inputReplyToStory | TL_inputReplyToMonoForum
MultiMedia []TL_inputSingleMedia
ScheduleDate *int32 // (optional)
SendAs TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
QuickReplyShortcut TL // (optional) InputQuickReplyShortcut: TL_inputQuickReplyShortcut | TL_inputQuickReplyShortcutID
Effect *int64 // (optional)
AllowPaidStars *int64 // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_sendPaidReaction ¶ added in v0.186.0
type TL_messages_sendPaidReaction struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
Count int32
RandomID int64
Private TL // (optional) PaidReactionPrivacy: TL_paidReactionPrivacyDefault | TL_paidReactionPrivacyAnonymous | TL_paidReactionPrivacyPeer
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_sendQuickReplyMessages ¶ added in v0.181.0
type TL_messages_sendQuickReplyMessages struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ShortcutID int32
ID []int32
RandomID []int64
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_sendReaction ¶
type TL_messages_sendReaction struct {
Big bool
AddToRecent bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
Reaction []TL // (optional) Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_sendScheduledMessages ¶
type TL_messages_sendScheduledMessages struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID []int32
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_sendScreenshotNotification ¶
type TL_messages_sendScreenshotNotification struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ReplyTo TL // InputReplyTo: TL_inputReplyToMessage | TL_inputReplyToStory | TL_inputReplyToMonoForum
RandomID int64
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_sendVote ¶
type TL_messages_sendVote struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
Options [][]byte
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_sendWebViewData ¶
type TL_messages_sendWebViewData struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
RandomID int64
ButtonText string
Data string
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_sendWebViewResultMessage ¶
type TL_messages_sendWebViewResultMessage struct {
BotQueryID string
Result TL // InputBotInlineResult: TL_inputBotInlineResult | TL_inputBotInlineResultPhoto | TL_inputBotInlineResultDocument | TL_inputBotInlineResultGame
}
Returns WebViewMessageSent: TL_webViewMessageSent
type TL_messages_sentEncryptedFile ¶
type TL_messages_sentEncryptedFile struct {
Date int32
File TL // EncryptedFile: TL_encryptedFileEmpty | TL_encryptedFile
}
Constructs messages.SentEncryptedMessage
type TL_messages_sentEncryptedMessage ¶
type TL_messages_sentEncryptedMessage struct {
Date int32
}
Constructs messages.SentEncryptedMessage
type TL_messages_setBotCallbackAnswer ¶
type TL_messages_setBotCallbackAnswer struct {
Alert bool
QueryID int64
Message *string // (optional)
URL *string // (optional)
CacheTime int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_setBotPrecheckoutResults ¶
type TL_messages_setBotPrecheckoutResults struct {
Success bool
QueryID int64
Error *string // (optional)
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_setBotShippingResults ¶
type TL_messages_setBotShippingResults struct {
QueryID int64
Error *string // (optional)
ShippingOptions []TL_shippingOption // (optional)
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_setChatAvailableReactions ¶
type TL_messages_setChatAvailableReactions struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
AvailableReactions TL // ChatReactions: TL_chatReactionsNone | TL_chatReactionsAll | TL_chatReactionsSome
ReactionsLimit *int32 // (optional)
PaidEnabled *bool // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_setChatTheme ¶
type TL_messages_setChatTheme struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Theme TL // InputChatTheme: TL_inputChatThemeEmpty | TL_inputChatTheme | TL_inputChatThemeUniqueGift
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_setChatWallPaper ¶
type TL_messages_setChatWallPaper struct {
ForBoth bool
Revert bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Wallpaper TL // (optional) InputWallPaper: TL_inputWallPaper | TL_inputWallPaperSlug | TL_inputWallPaperNoFile
Settings *TL_wallPaperSettings // (optional)
ID *int32 // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_setDefaultHistoryTTL ¶
type TL_messages_setDefaultHistoryTTL struct {
Period int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_setDefaultReaction ¶
type TL_messages_setDefaultReaction struct {
Reaction TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_setEncryptedTyping ¶
type TL_messages_setEncryptedTyping struct {
Peer TL_inputEncryptedChat
Typing bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_setGameScore ¶
type TL_messages_setGameScore struct {
EditMessage bool
Force bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID int32
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Score int32
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_setHistoryTTL ¶
type TL_messages_setHistoryTTL struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Period int32
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_setInlineBotResults ¶
type TL_messages_setInlineBotResults struct {
Gallery bool
Private bool
QueryID int64
Results []TL // InputBotInlineResult: TL_inputBotInlineResult | TL_inputBotInlineResultPhoto | TL_inputBotInlineResultDocument | TL_inputBotInlineResultGame
CacheTime int32
NextOffset *string // (optional)
SwitchPM *TL_inlineBotSwitchPM // (optional)
SwitchWebview *TL_inlineBotWebView // (optional)
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_setInlineGameScore ¶
type TL_messages_setInlineGameScore struct {
EditMessage bool
Force bool
ID TL // InputBotInlineMessageID: TL_inputBotInlineMessageID | TL_inputBotInlineMessageID64
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Score int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_setTyping ¶
type TL_messages_setTyping struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
TopMsgID *int32 // (optional)
Action TL // SendMessageAction: TL_sendMessageTypingAction | TL_sendMessageCancelAction | TL_sendMessageRecordVideoAction | TL_sendMessageUploadVideoAction | TL_sendMessageRecordAudioAction | TL_sendMessageUploadAudioAction | TL_sendMessageUploadPhotoAction | TL_sendMessageUploadDocumentAction | TL_sendMessageGeoLocationAction | TL_sendMessageChooseContactAction | TL_sendMessageGamePlayAction | TL_sendMessageRecordRoundAction | TL_sendMessageUploadRoundAction | TL_speakingInGroupCallAction | TL_sendMessageHistoryImportAction | TL_sendMessageChooseStickerAction | TL_sendMessageEmojiInteraction | TL_sendMessageEmojiInteractionSeen | TL_sendMessageTextDraftAction
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_sponsoredMessages ¶
type TL_messages_sponsoredMessages struct {
PostsBetween *int32 // (optional)
StartDelay *int32 // (optional)
BetweenDelay *int32 // (optional)
Messages []TL_sponsoredMessage
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.SponsoredMessages
type TL_messages_sponsoredMessagesEmpty ¶
type TL_messages_sponsoredMessagesEmpty struct {
}
Constructs messages.SponsoredMessages
type TL_messages_startBot ¶
type TL_messages_startBot struct {
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
RandomID int64
StartParam string
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_startHistoryImport ¶
type TL_messages_startHistoryImport struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ImportID int64
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_stickerSet ¶
type TL_messages_stickerSet struct {
Set TL_stickerSet
Packs []TL_stickerPack
Keywords []TL_stickerKeyword
Documents []TL // Document: TL_documentEmpty | TL_document
}
Constructs messages.StickerSet
type TL_messages_stickerSetInstallResultArchive ¶
type TL_messages_stickerSetInstallResultArchive struct {
Sets []TL // StickerSetCovered: TL_stickerSetCovered | TL_stickerSetMultiCovered | TL_stickerSetFullCovered | TL_stickerSetNoCovered
}
Constructs messages.StickerSetInstallResult
type TL_messages_stickerSetInstallResultSuccess ¶
type TL_messages_stickerSetInstallResultSuccess struct {
}
Constructs messages.StickerSetInstallResult
type TL_messages_stickerSetNotModified ¶
type TL_messages_stickerSetNotModified struct {
}
Constructs messages.StickerSet
type TL_messages_stickers ¶
type TL_messages_stickers struct {
Hash int64
Stickers []TL // Document: TL_documentEmpty | TL_document
}
Constructs messages.Stickers
type TL_messages_stickersNotModified ¶
type TL_messages_stickersNotModified struct {
}
Constructs messages.Stickers
type TL_messages_toggleBotInAttachMenu ¶
type TL_messages_toggleBotInAttachMenu struct {
WriteAllowed bool
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Enabled bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_toggleDialogFilterTags ¶ added in v0.181.0
type TL_messages_toggleDialogFilterTags struct {
Enabled bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_toggleDialogPIN ¶ added in v0.166.2
type TL_messages_toggleDialogPIN struct {
Pinned bool
Peer TL // InputDialogPeer: TL_inputDialogPeer | TL_inputDialogPeerFolder
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_toggleNoForwards ¶
type TL_messages_toggleNoForwards struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Enabled bool
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_togglePaidReactionPrivacy ¶ added in v0.186.0
type TL_messages_togglePaidReactionPrivacy struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
Private TL // PaidReactionPrivacy: TL_paidReactionPrivacyDefault | TL_paidReactionPrivacyAnonymous | TL_paidReactionPrivacyPeer
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_togglePeerTranslations ¶
type TL_messages_togglePeerTranslations struct {
Disabled bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_toggleSavedDialogPIN ¶ added in v0.181.0
type TL_messages_toggleSavedDialogPIN struct {
Pinned bool
Peer TL // InputDialogPeer: TL_inputDialogPeer | TL_inputDialogPeerFolder
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_toggleStickerSets ¶
type TL_messages_toggleStickerSets struct {
Uninstall bool
Archive bool
Unarchive bool
Stickersets []TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses | TL_inputStickerSetTonGifts
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_toggleSuggestedPostApproval ¶ added in v0.218.0
type TL_messages_toggleSuggestedPostApproval struct {
Reject bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
ScheduleDate *int32 // (optional)
RejectComment *string // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_toggleTodoCompleted ¶ added in v0.218.0
type TL_messages_toggleTodoCompleted struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
Completed []int32
Incompleted []int32
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_transcribeAudio ¶
type TL_messages_transcribeAudio struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
}
Returns messages.TranscribedAudio: TL_messages_transcribedAudio
type TL_messages_transcribedAudio ¶
type TL_messages_transcribedAudio struct {
Pending bool
TranscriptionID int64
Text string
TrialRemainsNum *int32 // (optional)
TrialRemainsUntilDate *int32 // (optional)
}
Constructs messages.TranscribedAudio
type TL_messages_translateResult ¶
type TL_messages_translateResult struct {
Result []TL_textWithEntities
}
Constructs messages.TranslatedText
type TL_messages_translateText ¶
type TL_messages_translateText struct {
Peer TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID []int32 // (optional)
Text []TL_textWithEntities // (optional)
ToLang string
}
Returns messages.TranslatedText: TL_messages_translateResult
type TL_messages_uninstallStickerSet ¶
type TL_messages_uninstallStickerSet struct {
Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses | TL_inputStickerSetTonGifts
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_unpinAllMessages ¶
type TL_messages_unpinAllMessages struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
TopMsgID *int32 // (optional)
SavedPeerID TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns messages.AffectedHistory: TL_messages_affectedHistory
type TL_messages_updateDialogFilter ¶
type TL_messages_updateDialogFilter struct {
ID int32
Filter TL // (optional) DialogFilter: TL_dialogFilter | TL_dialogFilterDefault | TL_dialogFilterChatlist
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_updateDialogFiltersOrder ¶
type TL_messages_updateDialogFiltersOrder struct {
Order []int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_updatePinnedForumTopic ¶ added in v0.218.0
type TL_messages_updatePinnedForumTopic struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
TopicID int32
Pinned bool
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_updatePinnedMessage ¶
type TL_messages_updatePinnedMessage struct {
Silent bool
Unpin bool
PMOneside bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID int32
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_messages_updateSavedReactionTag ¶ added in v0.181.0
type TL_messages_updateSavedReactionTag struct {
Reaction TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
Title *string // (optional)
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_uploadEncryptedFile ¶
type TL_messages_uploadEncryptedFile struct {
Peer TL_inputEncryptedChat
File TL // InputEncryptedFile: TL_inputEncryptedFileEmpty | TL_inputEncryptedFileUploaded | TL_inputEncryptedFile | TL_inputEncryptedFileBigUploaded
}
Returns EncryptedFile: TL_encryptedFileEmpty | TL_encryptedFile
type TL_messages_uploadImportedMedia ¶
type TL_messages_uploadImportedMedia struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ImportID int64
FileName string
Media TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia | TL_inputMediaTodo
}
Returns MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia | TL_messageMediaToDo | TL_messageMediaVideoStream
type TL_messages_uploadMedia ¶
type TL_messages_uploadMedia struct {
BusinessConnectionID *string // (optional)
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Media TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia | TL_inputMediaTodo
}
Returns MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia | TL_messageMediaToDo | TL_messageMediaVideoStream
type TL_messages_viewSponsoredMessage ¶ added in v0.192.0
type TL_messages_viewSponsoredMessage struct {
RandomID []byte
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_messages_votesList ¶
type TL_messages_votesList struct {
Count int32
Votes []TL // MessagePeerVote: TL_messagePeerVote | TL_messagePeerVoteInputOption | TL_messagePeerVoteMultiple
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
NextOffset *string // (optional)
}
Constructs messages.VotesList
type TL_messages_webPage ¶ added in v0.166.0
type TL_messages_webPage struct {
Webpage TL // WebPage: TL_webPageEmpty | TL_webPagePending | TL_webPage | TL_webPageNotModified
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.WebPage
type TL_messages_webPagePreview ¶ added in v0.218.0
type TL_messages_webPagePreview struct {
Media TL // MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia | TL_messageMediaToDo | TL_messageMediaVideoStream
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs messages.WebPagePreview
type TL_missingInvitee ¶ added in v0.181.0
type TL_missingInvitee struct {
PremiumWouldAllowInvite bool
PremiumRequiredForPM bool
UserID int64
}
Constructs MissingInvitee
type TL_monoForumDialog ¶ added in v0.218.0
type TL_monoForumDialog struct {
UnreadMark bool
NopaidMessagesException bool
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
TopMessage int32
ReadInboxMaxID int32
ReadOutboxMaxID int32
UnreadCount int32
UnreadReactionsCount int32
Draft TL // (optional) DraftMessage: TL_draftMessageEmpty | TL_draftMessage
}
Constructs SavedDialog
type TL_msgContainer ¶ added in v0.166.2
type TL_msgContainer struct {
Items []TL_mtMessage
}
type TL_msgDetailedInfo ¶ added in v0.166.2
Constructs MsgDetailedInfo
type TL_msgNewDetailedInfo ¶ added in v0.166.2
Constructs MsgDetailedInfo
type TL_msgResendReq ¶ added in v0.166.2
type TL_msgResendReq struct {
MsgIDs []int64
}
Constructs MsgResendReq
type TL_msgsAllInfo ¶ added in v0.166.2
Constructs MsgsAllInfo
type TL_msgsStateInfo ¶ added in v0.166.2
Constructs MsgsStateInfo
type TL_msgsStateReq ¶ added in v0.166.2
type TL_msgsStateReq struct {
MsgIDs []int64
}
Constructs MsgsStateReq
type TL_mtMessage ¶ added in v0.166.2
type TL_myBoost ¶ added in v0.166.0
type TL_myBoost struct {
Slot int32
Peer TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Date int32
Expires int32
CooldownUntilDate *int32 // (optional)
}
Constructs MyBoost
type TL_nearestDC ¶ added in v0.166.2
Constructs NearestDc
type TL_newSessionCreated ¶ added in v0.166.2
Constructs NewSession
type TL_notificationSoundDefault ¶
type TL_notificationSoundDefault struct {
}
Constructs NotificationSound
type TL_notificationSoundLocal ¶
Constructs NotificationSound
type TL_notificationSoundNone ¶
type TL_notificationSoundNone struct {
}
Constructs NotificationSound
type TL_notificationSoundRingtone ¶
type TL_notificationSoundRingtone struct {
ID int64
}
Constructs NotificationSound
type TL_notifyForumTopic ¶
type TL_notifyForumTopic struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
TopMsgID int32
}
Constructs NotifyPeer
type TL_notifyPeer ¶
type TL_notifyPeer struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}
Constructs NotifyPeer
type TL_outboxReadDate ¶ added in v0.181.0
type TL_outboxReadDate struct {
Date int32
}
Constructs OutboxReadDate
type TL_page ¶
type TL_page struct {
Part bool
RTL bool
V2 bool
URL string
Blocks []TL // PageBlock: TL_pageBlockUnsupported | TL_pageBlockTitle | TL_pageBlockSubtitle | TL_pageBlockAuthorDate | TL_pageBlockHeader | TL_pageBlockSubheader | TL_pageBlockParagraph | TL_pageBlockPreformatted | TL_pageBlockFooter | TL_pageBlockDivider | TL_pageBlockAnchor | TL_pageBlockList | TL_pageBlockBlockquote | TL_pageBlockPullquote | TL_pageBlockPhoto | TL_pageBlockVideo | TL_pageBlockCover | TL_pageBlockEmbed | TL_pageBlockEmbedPost | TL_pageBlockCollage | TL_pageBlockSlideshow | TL_pageBlockChannel | TL_pageBlockAudio | TL_pageBlockKicker | TL_pageBlockTable | TL_pageBlockOrderedList | TL_pageBlockDetails | TL_pageBlockRelatedArticles | TL_pageBlockMap
Photos []TL // Photo: TL_photoEmpty | TL_photo
Documents []TL // Document: TL_documentEmpty | TL_document
Views *int32 // (optional)
}
Constructs Page
type TL_pageBlockAudio ¶
type TL_pageBlockAudio struct {
AudioID int64
Caption TL_pageCaption
}
Constructs PageBlock
type TL_pageBlockAuthorDate ¶
type TL_pageBlockAuthorDate struct {
Author TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
PublishedDate int32
}
Constructs PageBlock
type TL_pageBlockBlockquote ¶
type TL_pageBlockBlockquote struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
Caption TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs PageBlock
type TL_pageBlockChannel ¶
type TL_pageBlockChannel struct {
Channel TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
}
Constructs PageBlock
type TL_pageBlockCollage ¶
type TL_pageBlockCollage struct {
Items []TL // PageBlock: TL_pageBlockUnsupported | TL_pageBlockTitle | TL_pageBlockSubtitle | TL_pageBlockAuthorDate | TL_pageBlockHeader | TL_pageBlockSubheader | TL_pageBlockParagraph | TL_pageBlockPreformatted | TL_pageBlockFooter | TL_pageBlockDivider | TL_pageBlockAnchor | TL_pageBlockList | TL_pageBlockBlockquote | TL_pageBlockPullquote | TL_pageBlockPhoto | TL_pageBlockVideo | TL_pageBlockCover | TL_pageBlockEmbed | TL_pageBlockEmbedPost | TL_pageBlockCollage | TL_pageBlockSlideshow | TL_pageBlockChannel | TL_pageBlockAudio | TL_pageBlockKicker | TL_pageBlockTable | TL_pageBlockOrderedList | TL_pageBlockDetails | TL_pageBlockRelatedArticles | TL_pageBlockMap
Caption TL_pageCaption
}
Constructs PageBlock
type TL_pageBlockCover ¶
type TL_pageBlockCover struct {
Cover TL // PageBlock: TL_pageBlockUnsupported | TL_pageBlockTitle | TL_pageBlockSubtitle | TL_pageBlockAuthorDate | TL_pageBlockHeader | TL_pageBlockSubheader | TL_pageBlockParagraph | TL_pageBlockPreformatted | TL_pageBlockFooter | TL_pageBlockDivider | TL_pageBlockAnchor | TL_pageBlockList | TL_pageBlockBlockquote | TL_pageBlockPullquote | TL_pageBlockPhoto | TL_pageBlockVideo | TL_pageBlockCover | TL_pageBlockEmbed | TL_pageBlockEmbedPost | TL_pageBlockCollage | TL_pageBlockSlideshow | TL_pageBlockChannel | TL_pageBlockAudio | TL_pageBlockKicker | TL_pageBlockTable | TL_pageBlockOrderedList | TL_pageBlockDetails | TL_pageBlockRelatedArticles | TL_pageBlockMap
}
Constructs PageBlock
type TL_pageBlockDetails ¶
type TL_pageBlockDetails struct {
Open bool
Blocks []TL // PageBlock: TL_pageBlockUnsupported | TL_pageBlockTitle | TL_pageBlockSubtitle | TL_pageBlockAuthorDate | TL_pageBlockHeader | TL_pageBlockSubheader | TL_pageBlockParagraph | TL_pageBlockPreformatted | TL_pageBlockFooter | TL_pageBlockDivider | TL_pageBlockAnchor | TL_pageBlockList | TL_pageBlockBlockquote | TL_pageBlockPullquote | TL_pageBlockPhoto | TL_pageBlockVideo | TL_pageBlockCover | TL_pageBlockEmbed | TL_pageBlockEmbedPost | TL_pageBlockCollage | TL_pageBlockSlideshow | TL_pageBlockChannel | TL_pageBlockAudio | TL_pageBlockKicker | TL_pageBlockTable | TL_pageBlockOrderedList | TL_pageBlockDetails | TL_pageBlockRelatedArticles | TL_pageBlockMap
Title TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs PageBlock
type TL_pageBlockEmbed ¶
type TL_pageBlockEmbed struct {
FullWidth bool
AllowScrolling bool
URL *string // (optional)
HTML *string // (optional)
PosterPhotoID *int64 // (optional)
W *int32 // (optional)
H *int32 // (optional)
Caption TL_pageCaption
}
Constructs PageBlock
type TL_pageBlockEmbedPost ¶
type TL_pageBlockEmbedPost struct {
URL string
WebpageID int64
AuthorPhotoID int64
Author string
Date int32
Blocks []TL // PageBlock: TL_pageBlockUnsupported | TL_pageBlockTitle | TL_pageBlockSubtitle | TL_pageBlockAuthorDate | TL_pageBlockHeader | TL_pageBlockSubheader | TL_pageBlockParagraph | TL_pageBlockPreformatted | TL_pageBlockFooter | TL_pageBlockDivider | TL_pageBlockAnchor | TL_pageBlockList | TL_pageBlockBlockquote | TL_pageBlockPullquote | TL_pageBlockPhoto | TL_pageBlockVideo | TL_pageBlockCover | TL_pageBlockEmbed | TL_pageBlockEmbedPost | TL_pageBlockCollage | TL_pageBlockSlideshow | TL_pageBlockChannel | TL_pageBlockAudio | TL_pageBlockKicker | TL_pageBlockTable | TL_pageBlockOrderedList | TL_pageBlockDetails | TL_pageBlockRelatedArticles | TL_pageBlockMap
Caption TL_pageCaption
}
Constructs PageBlock
type TL_pageBlockHeader ¶
type TL_pageBlockHeader struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs PageBlock
type TL_pageBlockKicker ¶
type TL_pageBlockKicker struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs PageBlock
type TL_pageBlockList ¶
type TL_pageBlockList struct {
Items []TL // PageListItem: TL_pageListItemText | TL_pageListItemBlocks
}
Constructs PageBlock
type TL_pageBlockMap ¶
type TL_pageBlockMap struct {
Geo TL // GeoPoint: TL_geoPointEmpty | TL_geoPoint
Zoom int32
W int32
H int32
Caption TL_pageCaption
}
Constructs PageBlock
type TL_pageBlockOrderedList ¶
type TL_pageBlockOrderedList struct {
Items []TL // PageListOrderedItem: TL_pageListOrderedItemText | TL_pageListOrderedItemBlocks
}
Constructs PageBlock
type TL_pageBlockParagraph ¶
type TL_pageBlockParagraph struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs PageBlock
type TL_pageBlockPhoto ¶
type TL_pageBlockPhoto struct {
PhotoID int64
Caption TL_pageCaption
URL *string // (optional)
WebpageID *int64 // (optional)
}
Constructs PageBlock
type TL_pageBlockPreformatted ¶
type TL_pageBlockPreformatted struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
Language string
}
Constructs PageBlock
type TL_pageBlockPullquote ¶
type TL_pageBlockPullquote struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
Caption TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs PageBlock
type TL_pageBlockRelatedArticles ¶
type TL_pageBlockRelatedArticles struct {
Title TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
Articles []TL_pageRelatedArticle
}
Constructs PageBlock
type TL_pageBlockSlideshow ¶
type TL_pageBlockSlideshow struct {
Items []TL // PageBlock: TL_pageBlockUnsupported | TL_pageBlockTitle | TL_pageBlockSubtitle | TL_pageBlockAuthorDate | TL_pageBlockHeader | TL_pageBlockSubheader | TL_pageBlockParagraph | TL_pageBlockPreformatted | TL_pageBlockFooter | TL_pageBlockDivider | TL_pageBlockAnchor | TL_pageBlockList | TL_pageBlockBlockquote | TL_pageBlockPullquote | TL_pageBlockPhoto | TL_pageBlockVideo | TL_pageBlockCover | TL_pageBlockEmbed | TL_pageBlockEmbedPost | TL_pageBlockCollage | TL_pageBlockSlideshow | TL_pageBlockChannel | TL_pageBlockAudio | TL_pageBlockKicker | TL_pageBlockTable | TL_pageBlockOrderedList | TL_pageBlockDetails | TL_pageBlockRelatedArticles | TL_pageBlockMap
Caption TL_pageCaption
}
Constructs PageBlock
type TL_pageBlockSubheader ¶
type TL_pageBlockSubheader struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs PageBlock
type TL_pageBlockSubtitle ¶
type TL_pageBlockSubtitle struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs PageBlock
type TL_pageBlockTable ¶
type TL_pageBlockTable struct {
Bordered bool
Striped bool
Title TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
Rows []TL_pageTableRow
}
Constructs PageBlock
type TL_pageBlockTitle ¶
type TL_pageBlockTitle struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs PageBlock
type TL_pageBlockVideo ¶
type TL_pageBlockVideo struct {
Autoplay bool
Loop bool
VideoID int64
Caption TL_pageCaption
}
Constructs PageBlock
type TL_pageCaption ¶
type TL_pageCaption struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
Credit TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs PageCaption
type TL_pageListItemBlocks ¶
type TL_pageListItemBlocks struct {
Blocks []TL // PageBlock: TL_pageBlockUnsupported | TL_pageBlockTitle | TL_pageBlockSubtitle | TL_pageBlockAuthorDate | TL_pageBlockHeader | TL_pageBlockSubheader | TL_pageBlockParagraph | TL_pageBlockPreformatted | TL_pageBlockFooter | TL_pageBlockDivider | TL_pageBlockAnchor | TL_pageBlockList | TL_pageBlockBlockquote | TL_pageBlockPullquote | TL_pageBlockPhoto | TL_pageBlockVideo | TL_pageBlockCover | TL_pageBlockEmbed | TL_pageBlockEmbedPost | TL_pageBlockCollage | TL_pageBlockSlideshow | TL_pageBlockChannel | TL_pageBlockAudio | TL_pageBlockKicker | TL_pageBlockTable | TL_pageBlockOrderedList | TL_pageBlockDetails | TL_pageBlockRelatedArticles | TL_pageBlockMap
}
Constructs PageListItem
type TL_pageListItemText ¶
type TL_pageListItemText struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs PageListItem
type TL_pageListOrderedItemBlocks ¶
type TL_pageListOrderedItemBlocks struct {
Num string
Blocks []TL // PageBlock: TL_pageBlockUnsupported | TL_pageBlockTitle | TL_pageBlockSubtitle | TL_pageBlockAuthorDate | TL_pageBlockHeader | TL_pageBlockSubheader | TL_pageBlockParagraph | TL_pageBlockPreformatted | TL_pageBlockFooter | TL_pageBlockDivider | TL_pageBlockAnchor | TL_pageBlockList | TL_pageBlockBlockquote | TL_pageBlockPullquote | TL_pageBlockPhoto | TL_pageBlockVideo | TL_pageBlockCover | TL_pageBlockEmbed | TL_pageBlockEmbedPost | TL_pageBlockCollage | TL_pageBlockSlideshow | TL_pageBlockChannel | TL_pageBlockAudio | TL_pageBlockKicker | TL_pageBlockTable | TL_pageBlockOrderedList | TL_pageBlockDetails | TL_pageBlockRelatedArticles | TL_pageBlockMap
}
Constructs PageListOrderedItem
type TL_pageListOrderedItemText ¶
type TL_pageListOrderedItemText struct {
Num string
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs PageListOrderedItem
type TL_pageRelatedArticle ¶
type TL_pageRelatedArticle struct {
URL string
WebpageID int64
Title *string // (optional)
Description *string // (optional)
PhotoID *int64 // (optional)
Author *string // (optional)
PublishedDate *int32 // (optional)
}
Constructs PageRelatedArticle
type TL_pageTableCell ¶
type TL_pageTableCell struct {
Header bool
AlignCenter bool
AlignRight bool
ValignMiddle bool
ValignBottom bool
Text TL // (optional) RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
Colspan *int32 // (optional)
Rowspan *int32 // (optional)
}
Constructs PageTableCell
type TL_pageTableRow ¶
type TL_pageTableRow struct {
Cells []TL_pageTableCell
}
Constructs PageTableRow
type TL_paidReactionPrivacyAnonymous ¶ added in v0.218.0
type TL_paidReactionPrivacyAnonymous struct {
}
Constructs PaidReactionPrivacy
type TL_paidReactionPrivacyDefault ¶ added in v0.218.0
type TL_paidReactionPrivacyDefault struct {
}
Constructs PaidReactionPrivacy
type TL_paidReactionPrivacyPeer ¶ added in v0.218.0
type TL_paidReactionPrivacyPeer struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Constructs PaidReactionPrivacy
type TL_passkey ¶ added in v0.220.0
type TL_passkey struct {
ID string
Name string
Date int32
SoftwareEmojiID *int64 // (optional)
LastUsageDate *int32 // (optional)
}
Constructs Passkey
type TL_passwordKDFAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow ¶ added in v0.166.2
type TL_passwordKDFAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow struct {
Salt1 []byte
Salt2 []byte
G int32
P []byte
}
Constructs PasswordKdfAlgo
type TL_passwordKDFAlgoUnknown ¶ added in v0.166.2
type TL_passwordKDFAlgoUnknown struct {
}
Constructs PasswordKdfAlgo
type TL_paymentCharge ¶
Constructs PaymentCharge
type TL_paymentFormMethod ¶
Constructs PaymentFormMethod
type TL_paymentRequestedInfo ¶
type TL_paymentRequestedInfo struct {
Name *string // (optional)
Phone *string // (optional)
Email *string // (optional)
ShippingAddress *TL_postAddress // (optional)
}
Constructs PaymentRequestedInfo
type TL_paymentSavedCredentialsCard ¶
Constructs PaymentSavedCredentials
type TL_payments_applyGiftCode ¶ added in v0.166.0
type TL_payments_applyGiftCode struct {
Slug string
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_payments_assignAppStoreTransaction ¶
type TL_payments_assignAppStoreTransaction struct {
Receipt []byte
Purpose TL // InputStorePaymentPurpose: TL_inputStorePaymentPremiumSubscription | TL_inputStorePaymentGiftPremium | TL_inputStorePaymentPremiumGiftCode | TL_inputStorePaymentPremiumGiveaway | TL_inputStorePaymentStarsTopup | TL_inputStorePaymentStarsGift | TL_inputStorePaymentStarsGiveaway | TL_inputStorePaymentAuthCode
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_payments_assignPlayMarketTransaction ¶
type TL_payments_assignPlayMarketTransaction struct {
Receipt TL_dataJSON
Purpose TL // InputStorePaymentPurpose: TL_inputStorePaymentPremiumSubscription | TL_inputStorePaymentGiftPremium | TL_inputStorePaymentPremiumGiftCode | TL_inputStorePaymentPremiumGiveaway | TL_inputStorePaymentStarsTopup | TL_inputStorePaymentStarsGift | TL_inputStorePaymentStarsGiveaway | TL_inputStorePaymentAuthCode
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_payments_bankCardData ¶
type TL_payments_bankCardData struct {
Title string
OpenURLs []TL_bankCardOpenURL
}
Constructs payments.BankCardData
type TL_payments_botCancelStarsSubscription ¶ added in v0.195.0
type TL_payments_botCancelStarsSubscription struct {
Restore bool
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
ChargeID string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_payments_canPurchaseStore ¶ added in v0.218.0
type TL_payments_canPurchaseStore struct {
Purpose TL // InputStorePaymentPurpose: TL_inputStorePaymentPremiumSubscription | TL_inputStorePaymentGiftPremium | TL_inputStorePaymentPremiumGiftCode | TL_inputStorePaymentPremiumGiveaway | TL_inputStorePaymentStarsTopup | TL_inputStorePaymentStarsGift | TL_inputStorePaymentStarsGiveaway | TL_inputStorePaymentAuthCode
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_payments_changeStarsSubscription ¶ added in v0.186.0
type TL_payments_changeStarsSubscription struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
SubscriptionID string
Canceled *bool // (optional)
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_payments_checkCanSendGift ¶ added in v0.218.0
type TL_payments_checkCanSendGift struct {
GiftID int64
}
Returns payments.CheckCanSendGiftResult: TL_payments_checkCanSendGiftResultOK | TL_payments_checkCanSendGiftResultFail
type TL_payments_checkCanSendGiftResultFail ¶ added in v0.218.0
type TL_payments_checkCanSendGiftResultFail struct {
Reason TL_textWithEntities
}
Constructs payments.CheckCanSendGiftResult
type TL_payments_checkCanSendGiftResultOK ¶ added in v0.218.0
type TL_payments_checkCanSendGiftResultOK struct {
}
Constructs payments.CheckCanSendGiftResult
type TL_payments_checkGiftCode ¶ added in v0.166.0
type TL_payments_checkGiftCode struct {
Slug string
}
Returns payments.CheckedGiftCode: TL_payments_checkedGiftCode
type TL_payments_checkedGiftCode ¶ added in v0.166.0
type TL_payments_checkedGiftCode struct {
ViaGiveaway bool
FromID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
GiveawayMsgID *int32 // (optional)
ToID *int64 // (optional)
Date int32
Days int32
UsedDate *int32 // (optional)
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs payments.CheckedGiftCode
type TL_payments_clearSavedInfo ¶
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_payments_connectStarRefBot ¶ added in v0.195.0
type TL_payments_connectStarRefBot struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns payments.ConnectedStarRefBots: TL_payments_connectedStarRefBots
type TL_payments_connectedStarRefBots ¶ added in v0.195.0
type TL_payments_connectedStarRefBots struct {
Count int32
ConnectedBots []TL_connectedBotStarRef
Users []TL // User: TL_userEmpty | TL_user
}
Constructs payments.ConnectedStarRefBots
type TL_payments_convertStarGift ¶ added in v0.192.0
type TL_payments_convertStarGift struct {
Stargift TL // InputSavedStarGift: TL_inputSavedStarGiftUser | TL_inputSavedStarGiftChat | TL_inputSavedStarGiftSlug
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_payments_createStarGiftCollection ¶ added in v0.218.0
type TL_payments_createStarGiftCollection struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Title string
Stargift []TL // InputSavedStarGift: TL_inputSavedStarGiftUser | TL_inputSavedStarGiftChat | TL_inputSavedStarGiftSlug
}
Returns StarGiftCollection: TL_starGiftCollection
type TL_payments_deleteStarGiftCollection ¶ added in v0.218.0
type TL_payments_deleteStarGiftCollection struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
CollectionID int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_payments_editConnectedStarRefBot ¶ added in v0.195.0
type TL_payments_editConnectedStarRefBot struct {
Revoked bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Link string
}
Returns payments.ConnectedStarRefBots: TL_payments_connectedStarRefBots
type TL_payments_exportInvoice ¶
type TL_payments_exportInvoice struct {
InvoiceMedia TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia | TL_inputMediaTodo
}
Returns payments.ExportedInvoice: TL_payments_exportedInvoice
type TL_payments_exportedInvoice ¶
type TL_payments_exportedInvoice struct {
URL string
}
Constructs payments.ExportedInvoice
type TL_payments_fulfillStarsSubscription ¶ added in v0.186.0
type TL_payments_fulfillStarsSubscription struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
SubscriptionID string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_payments_getBankCardData ¶
type TL_payments_getBankCardData struct {
Number string
}
Returns payments.BankCardData: TL_payments_bankCardData
type TL_payments_getConnectedStarRefBot ¶ added in v0.195.0
type TL_payments_getConnectedStarRefBot struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns payments.ConnectedStarRefBots: TL_payments_connectedStarRefBots
type TL_payments_getConnectedStarRefBots ¶ added in v0.195.0
type TL_payments_getConnectedStarRefBots struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
OffsetDate *int32 // (optional)
OffsetLink *string // (optional)
Limit int32
}
Returns payments.ConnectedStarRefBots: TL_payments_connectedStarRefBots
type TL_payments_getGiveawayInfo ¶ added in v0.166.0
type TL_payments_getGiveawayInfo struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
}
Returns payments.GiveawayInfo: TL_payments_giveawayInfo | TL_payments_giveawayInfoResults
type TL_payments_getPaymentForm ¶
type TL_payments_getPaymentForm struct {
Invoice TL // InputInvoice: TL_inputInvoiceMessage | TL_inputInvoiceSlug | TL_inputInvoicePremiumGiftCode | TL_inputInvoiceStars | TL_inputInvoiceChatInviteSubscription | TL_inputInvoiceStarGift | TL_inputInvoiceStarGiftUpgrade | TL_inputInvoiceStarGiftTransfer | TL_inputInvoicePremiumGiftStars | TL_inputInvoiceBusinessBotTransferStars | TL_inputInvoiceStarGiftResale | TL_inputInvoiceStarGiftPrepaidUpgrade | TL_inputInvoicePremiumAuthCode | TL_inputInvoiceStarGiftDropOriginalDetails | TL_inputInvoiceStarGiftAuctionBid
ThemeParams *TL_dataJSON // (optional)
}
Returns payments.PaymentForm: TL_payments_paymentForm | TL_payments_paymentFormStars | TL_payments_paymentFormStarGift
type TL_payments_getPaymentReceipt ¶
type TL_payments_getPaymentReceipt struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MsgID int32
}
Returns payments.PaymentReceipt: TL_payments_paymentReceipt | TL_payments_paymentReceiptStars
type TL_payments_getPremiumGiftCodeOptions ¶ added in v0.166.0
type TL_payments_getPremiumGiftCodeOptions struct {
BoostPeer TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Vector<PremiumGiftCodeOption>: TL_premiumGiftCodeOption
type TL_payments_getResaleStarGifts ¶ added in v0.218.0
type TL_payments_getResaleStarGifts struct {
SortByPrice bool
SortByNum bool
AttributesHash *int64 // (optional)
GiftID int64
Attributes []TL // (optional) StarGiftAttributeId: TL_starGiftAttributeIDModel | TL_starGiftAttributeIDPattern | TL_starGiftAttributeIDBackdrop
Offset string
Limit int32
}
Returns payments.ResaleStarGifts: TL_payments_resaleStarGifts
type TL_payments_getSavedInfo ¶
type TL_payments_getSavedInfo struct {
}
Returns payments.SavedInfo: TL_payments_savedInfo
type TL_payments_getSavedStarGift ¶ added in v0.218.0
type TL_payments_getSavedStarGift struct {
Stargift []TL // InputSavedStarGift: TL_inputSavedStarGiftUser | TL_inputSavedStarGiftChat | TL_inputSavedStarGiftSlug
}
Returns payments.SavedStarGifts: TL_payments_savedStarGifts
type TL_payments_getSavedStarGifts ¶ added in v0.218.0
type TL_payments_getSavedStarGifts struct {
ExcludeUnsaved bool
ExcludeSaved bool
ExcludeUnlimited bool
ExcludeUnique bool
SortByValue bool
ExcludeUpgradable bool
ExcludeUnupgradable bool
PeerColorAvailable bool
ExcludeHosted bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
CollectionID *int32 // (optional)
Offset string
Limit int32
}
Returns payments.SavedStarGifts: TL_payments_savedStarGifts
type TL_payments_getStarGiftActiveAuctions ¶ added in v0.218.0
type TL_payments_getStarGiftActiveAuctions struct {
Hash int64
}
Returns payments.StarGiftActiveAuctions: TL_payments_starGiftActiveAuctionsNotModified | TL_payments_starGiftActiveAuctions
type TL_payments_getStarGiftAuctionAcquiredGifts ¶ added in v0.218.0
type TL_payments_getStarGiftAuctionAcquiredGifts struct {
GiftID int64
}
Returns payments.StarGiftAuctionAcquiredGifts: TL_payments_starGiftAuctionAcquiredGifts
type TL_payments_getStarGiftAuctionState ¶ added in v0.218.0
type TL_payments_getStarGiftAuctionState struct {
Auction TL // InputStarGiftAuction: TL_inputStarGiftAuction | TL_inputStarGiftAuctionSlug
Version int32
}
Returns payments.StarGiftAuctionState: TL_payments_starGiftAuctionState
type TL_payments_getStarGiftCollections ¶ added in v0.218.0
type TL_payments_getStarGiftCollections struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Hash int64
}
Returns payments.StarGiftCollections: TL_payments_starGiftCollectionsNotModified | TL_payments_starGiftCollections
type TL_payments_getStarGiftUpgradeAttributes ¶ added in v0.220.0
type TL_payments_getStarGiftUpgradeAttributes struct {
GiftID int64
}
Returns payments.StarGiftUpgradeAttributes: TL_payments_starGiftUpgradeAttributes
type TL_payments_getStarGiftUpgradePreview ¶ added in v0.196.0
type TL_payments_getStarGiftUpgradePreview struct {
GiftID int64
}
Returns payments.StarGiftUpgradePreview: TL_payments_starGiftUpgradePreview
type TL_payments_getStarGiftWithdrawalURL ¶ added in v0.218.0
type TL_payments_getStarGiftWithdrawalURL struct {
Stargift TL // InputSavedStarGift: TL_inputSavedStarGiftUser | TL_inputSavedStarGiftChat | TL_inputSavedStarGiftSlug
Password TL // InputCheckPasswordSRP: TL_inputCheckPasswordEmpty | TL_inputCheckPasswordSRP
}
Returns payments.StarGiftWithdrawalUrl: TL_payments_starGiftWithdrawalURL
type TL_payments_getStarGifts ¶ added in v0.192.0
type TL_payments_getStarGifts struct {
Hash int32
}
Returns payments.StarGifts: TL_payments_starGiftsNotModified | TL_payments_starGifts
type TL_payments_getStarsGiftOptions ¶ added in v0.185.0
type TL_payments_getStarsGiftOptions struct {
UserID TL // (optional) InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns Vector<StarsGiftOption>: TL_starsGiftOption
type TL_payments_getStarsGiveawayOptions ¶ added in v0.187.0
type TL_payments_getStarsGiveawayOptions struct {
}
Returns Vector<StarsGiveawayOption>: TL_starsGiveawayOption
type TL_payments_getStarsRevenueAdsAccountURL ¶ added in v0.183.0
type TL_payments_getStarsRevenueAdsAccountURL struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns payments.StarsRevenueAdsAccountUrl: TL_payments_starsRevenueAdsAccountURL
type TL_payments_getStarsRevenueStats ¶ added in v0.183.0
type TL_payments_getStarsRevenueStats struct {
Dark bool
Ton bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns payments.StarsRevenueStats: TL_payments_starsRevenueStats
type TL_payments_getStarsRevenueWithdrawalURL ¶ added in v0.183.0
type TL_payments_getStarsRevenueWithdrawalURL struct {
Ton bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Amount *int64 // (optional)
Password TL // InputCheckPasswordSRP: TL_inputCheckPasswordEmpty | TL_inputCheckPasswordSRP
}
Returns payments.StarsRevenueWithdrawalUrl: TL_payments_starsRevenueWithdrawalURL
type TL_payments_getStarsStatus ¶ added in v0.181.0
type TL_payments_getStarsStatus struct {
Ton bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns payments.StarsStatus: TL_payments_starsStatus
type TL_payments_getStarsSubscriptions ¶ added in v0.186.0
type TL_payments_getStarsSubscriptions struct {
MissingBalance bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Offset string
}
Returns payments.StarsStatus: TL_payments_starsStatus
type TL_payments_getStarsTopupOptions ¶ added in v0.181.0
type TL_payments_getStarsTopupOptions struct {
}
Returns Vector<StarsTopupOption>: TL_starsTopupOption
type TL_payments_getStarsTransactions ¶ added in v0.181.0
type TL_payments_getStarsTransactions struct {
Inbound bool
Outbound bool
Ascending bool
Ton bool
SubscriptionID *string // (optional)
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Offset string
Limit int32
}
Returns payments.StarsStatus: TL_payments_starsStatus
type TL_payments_getStarsTransactionsByID ¶ added in v0.183.0
type TL_payments_getStarsTransactionsByID struct {
Ton bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID []TL_inputStarsTransaction
}
Returns payments.StarsStatus: TL_payments_starsStatus
type TL_payments_getSuggestedStarRefBots ¶ added in v0.195.0
type TL_payments_getSuggestedStarRefBots struct {
OrderByRevenue bool
OrderByDate bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Offset string
Limit int32
}
Returns payments.SuggestedStarRefBots: TL_payments_suggestedStarRefBots
type TL_payments_getUniqueStarGift ¶ added in v0.218.0
type TL_payments_getUniqueStarGift struct {
Slug string
}
Returns payments.UniqueStarGift: TL_payments_uniqueStarGift
type TL_payments_getUniqueStarGiftValueInfo ¶ added in v0.218.0
type TL_payments_getUniqueStarGiftValueInfo struct {
Slug string
}
Returns payments.UniqueStarGiftValueInfo: TL_payments_uniqueStarGiftValueInfo
type TL_payments_giveawayInfo ¶ added in v0.166.0
type TL_payments_giveawayInfo struct {
Participating bool
PreparingResults bool
StartDate int32
JoinedTooEarlyDate *int32 // (optional)
AdminDisallowedChatID *int64 // (optional)
DisallowedCountry *string // (optional)
}
Constructs payments.GiveawayInfo
type TL_payments_giveawayInfoResults ¶ added in v0.166.0
type TL_payments_giveawayInfoResults struct {
Winner bool
Refunded bool
StartDate int32
GiftCodeSlug *string // (optional)
StarsPrize *int64 // (optional)
FinishDate int32
WinnersCount int32
ActivatedCount *int32 // (optional)
}
Constructs payments.GiveawayInfo
type TL_payments_launchPrepaidGiveaway ¶ added in v0.166.0
type TL_payments_launchPrepaidGiveaway struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
GiveawayID int64
Purpose TL // InputStorePaymentPurpose: TL_inputStorePaymentPremiumSubscription | TL_inputStorePaymentGiftPremium | TL_inputStorePaymentPremiumGiftCode | TL_inputStorePaymentPremiumGiveaway | TL_inputStorePaymentStarsTopup | TL_inputStorePaymentStarsGift | TL_inputStorePaymentStarsGiveaway | TL_inputStorePaymentAuthCode
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_payments_paymentForm ¶
type TL_payments_paymentForm struct {
CanSaveCredentials bool
PasswordMissing bool
FormID int64
BotID int64
Title string
Description string
Photo TL // (optional) WebDocument: TL_webDocument | TL_webDocumentNoProxy
Invoice TL_invoice
ProviderID int64
URL string
NativeProvider *string // (optional)
NativeParams *TL_dataJSON // (optional)
AdditionalMethods []TL_paymentFormMethod // (optional)
SavedInfo *TL_paymentRequestedInfo // (optional)
SavedCredentials []TL_paymentSavedCredentialsCard // (optional)
Users []TL // User: TL_userEmpty | TL_user
}
Constructs payments.PaymentForm
type TL_payments_paymentFormStarGift ¶ added in v0.192.0
type TL_payments_paymentFormStarGift struct {
FormID int64
Invoice TL_invoice
}
Constructs payments.PaymentForm
type TL_payments_paymentFormStars ¶ added in v0.181.0
type TL_payments_paymentFormStars struct {
FormID int64
BotID int64
Title string
Description string
Photo TL // (optional) WebDocument: TL_webDocument | TL_webDocumentNoProxy
Invoice TL_invoice
Users []TL // User: TL_userEmpty | TL_user
}
Constructs payments.PaymentForm
type TL_payments_paymentReceipt ¶
type TL_payments_paymentReceipt struct {
Date int32
BotID int64
ProviderID int64
Title string
Description string
Photo TL // (optional) WebDocument: TL_webDocument | TL_webDocumentNoProxy
Invoice TL_invoice
Info *TL_paymentRequestedInfo // (optional)
Shipping *TL_shippingOption // (optional)
TipAmount *int64 // (optional)
Currency string
TotalAmount int64
CredentialsTitle string
Users []TL // User: TL_userEmpty | TL_user
}
Constructs payments.PaymentReceipt
type TL_payments_paymentReceiptStars ¶ added in v0.181.0
type TL_payments_paymentReceiptStars struct {
Date int32
BotID int64
Title string
Description string
Photo TL // (optional) WebDocument: TL_webDocument | TL_webDocumentNoProxy
Invoice TL_invoice
Currency string
TotalAmount int64
TransactionID string
Users []TL // User: TL_userEmpty | TL_user
}
Constructs payments.PaymentReceipt
type TL_payments_paymentResult ¶
type TL_payments_paymentResult struct {
Updates TL // Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
}
Constructs payments.PaymentResult
type TL_payments_paymentVerificationNeeded ¶
type TL_payments_paymentVerificationNeeded struct {
URL string
}
Constructs payments.PaymentResult
type TL_payments_refundStarsCharge ¶ added in v0.181.0
type TL_payments_refundStarsCharge struct {
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
ChargeID string
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_payments_reorderStarGiftCollections ¶ added in v0.218.0
type TL_payments_reorderStarGiftCollections struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Order []int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_payments_resaleStarGifts ¶ added in v0.218.0
type TL_payments_resaleStarGifts struct {
Count int32
Gifts []TL // StarGift: TL_starGift | TL_starGiftUnique
NextOffset *string // (optional)
Attributes []TL // (optional) StarGiftAttribute: TL_starGiftAttributeModel | TL_starGiftAttributePattern | TL_starGiftAttributeBackdrop | TL_starGiftAttributeOriginalDetails
AttributesHash *int64 // (optional)
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Counters []TL_starGiftAttributeCounter // (optional)
Users []TL // User: TL_userEmpty | TL_user
}
Constructs payments.ResaleStarGifts
type TL_payments_resolveStarGiftOffer ¶ added in v0.220.0
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_payments_saveStarGift ¶ added in v0.192.0
type TL_payments_saveStarGift struct {
Unsave bool
Stargift TL // InputSavedStarGift: TL_inputSavedStarGiftUser | TL_inputSavedStarGiftChat | TL_inputSavedStarGiftSlug
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_payments_savedInfo ¶
type TL_payments_savedInfo struct {
HasSavedCredentials bool
SavedInfo *TL_paymentRequestedInfo // (optional)
}
Constructs payments.SavedInfo
type TL_payments_savedStarGifts ¶ added in v0.218.0
type TL_payments_savedStarGifts struct {
Count int32
ChatNotificationsEnabled *bool // (optional)
Gifts []TL_savedStarGift
NextOffset *string // (optional)
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs payments.SavedStarGifts
type TL_payments_sendPaymentForm ¶
type TL_payments_sendPaymentForm struct {
FormID int64
Invoice TL // InputInvoice: TL_inputInvoiceMessage | TL_inputInvoiceSlug | TL_inputInvoicePremiumGiftCode | TL_inputInvoiceStars | TL_inputInvoiceChatInviteSubscription | TL_inputInvoiceStarGift | TL_inputInvoiceStarGiftUpgrade | TL_inputInvoiceStarGiftTransfer | TL_inputInvoicePremiumGiftStars | TL_inputInvoiceBusinessBotTransferStars | TL_inputInvoiceStarGiftResale | TL_inputInvoiceStarGiftPrepaidUpgrade | TL_inputInvoicePremiumAuthCode | TL_inputInvoiceStarGiftDropOriginalDetails | TL_inputInvoiceStarGiftAuctionBid
RequestedInfoID *string // (optional)
ShippingOptionID *string // (optional)
Credentials TL // InputPaymentCredentials: TL_inputPaymentCredentialsSaved | TL_inputPaymentCredentials | TL_inputPaymentCredentialsApplePay | TL_inputPaymentCredentialsGooglePay
TipAmount *int64 // (optional)
}
Returns payments.PaymentResult: TL_payments_paymentResult | TL_payments_paymentVerificationNeeded
type TL_payments_sendStarGiftOffer ¶ added in v0.220.0
type TL_payments_sendStarGiftOffer struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Slug string
Price TL // StarsAmount: TL_starsAmount | TL_starsTonAmount
Duration int32
RandomID int64
AllowPaidStars *int64 // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_payments_sendStarsForm ¶ added in v0.181.0
type TL_payments_sendStarsForm struct {
FormID int64
Invoice TL // InputInvoice: TL_inputInvoiceMessage | TL_inputInvoiceSlug | TL_inputInvoicePremiumGiftCode | TL_inputInvoiceStars | TL_inputInvoiceChatInviteSubscription | TL_inputInvoiceStarGift | TL_inputInvoiceStarGiftUpgrade | TL_inputInvoiceStarGiftTransfer | TL_inputInvoicePremiumGiftStars | TL_inputInvoiceBusinessBotTransferStars | TL_inputInvoiceStarGiftResale | TL_inputInvoiceStarGiftPrepaidUpgrade | TL_inputInvoicePremiumAuthCode | TL_inputInvoiceStarGiftDropOriginalDetails | TL_inputInvoiceStarGiftAuctionBid
}
Returns payments.PaymentResult: TL_payments_paymentResult | TL_payments_paymentVerificationNeeded
type TL_payments_starGiftActiveAuctions ¶ added in v0.218.0
type TL_payments_starGiftActiveAuctions struct {
Auctions []TL_starGiftActiveAuctionState
Users []TL // User: TL_userEmpty | TL_user
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
}
Constructs payments.StarGiftActiveAuctions
type TL_payments_starGiftActiveAuctionsNotModified ¶ added in v0.218.0
type TL_payments_starGiftActiveAuctionsNotModified struct {
}
Constructs payments.StarGiftActiveAuctions
type TL_payments_starGiftAuctionAcquiredGifts ¶ added in v0.218.0
type TL_payments_starGiftAuctionAcquiredGifts struct {
Gifts []TL_starGiftAuctionAcquiredGift
Users []TL // User: TL_userEmpty | TL_user
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
}
Constructs payments.StarGiftAuctionAcquiredGifts
type TL_payments_starGiftAuctionState ¶ added in v0.218.0
type TL_payments_starGiftAuctionState struct {
Gift TL // StarGift: TL_starGift | TL_starGiftUnique
State TL // StarGiftAuctionState: TL_starGiftAuctionStateNotModified | TL_starGiftAuctionState | TL_starGiftAuctionStateFinished
UserState TL_starGiftAuctionUserState
Timeout int32
Users []TL // User: TL_userEmpty | TL_user
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
}
Constructs payments.StarGiftAuctionState
type TL_payments_starGiftCollections ¶ added in v0.218.0
type TL_payments_starGiftCollections struct {
Collections []TL_starGiftCollection
}
Constructs payments.StarGiftCollections
type TL_payments_starGiftCollectionsNotModified ¶ added in v0.218.0
type TL_payments_starGiftCollectionsNotModified struct {
}
Constructs payments.StarGiftCollections
type TL_payments_starGiftUpgradeAttributes ¶ added in v0.220.0
type TL_payments_starGiftUpgradeAttributes struct {
Attributes []TL // StarGiftAttribute: TL_starGiftAttributeModel | TL_starGiftAttributePattern | TL_starGiftAttributeBackdrop | TL_starGiftAttributeOriginalDetails
}
Constructs payments.StarGiftUpgradeAttributes
type TL_payments_starGiftUpgradePreview ¶ added in v0.196.0
type TL_payments_starGiftUpgradePreview struct {
SampleAttributes []TL // StarGiftAttribute: TL_starGiftAttributeModel | TL_starGiftAttributePattern | TL_starGiftAttributeBackdrop | TL_starGiftAttributeOriginalDetails
Prices []TL_starGiftUpgradePrice
NextPrices []TL_starGiftUpgradePrice
}
Constructs payments.StarGiftUpgradePreview
type TL_payments_starGiftWithdrawalURL ¶ added in v0.218.0
type TL_payments_starGiftWithdrawalURL struct {
URL string
}
Constructs payments.StarGiftWithdrawalUrl
type TL_payments_starGifts ¶ added in v0.192.0
type TL_payments_starGifts struct {
Hash int32
Gifts []TL // StarGift: TL_starGift | TL_starGiftUnique
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs payments.StarGifts
type TL_payments_starGiftsNotModified ¶ added in v0.192.0
type TL_payments_starGiftsNotModified struct {
}
Constructs payments.StarGifts
type TL_payments_starsRevenueAdsAccountURL ¶ added in v0.183.0
type TL_payments_starsRevenueAdsAccountURL struct {
URL string
}
Constructs payments.StarsRevenueAdsAccountUrl
type TL_payments_starsRevenueStats ¶ added in v0.183.0
type TL_payments_starsRevenueStats struct {
TopHoursGraph TL // (optional) StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
RevenueGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
Status TL_starsRevenueStatus
UsdRate float64
}
Constructs payments.StarsRevenueStats
type TL_payments_starsRevenueWithdrawalURL ¶ added in v0.183.0
type TL_payments_starsRevenueWithdrawalURL struct {
URL string
}
Constructs payments.StarsRevenueWithdrawalUrl
type TL_payments_starsStatus ¶ added in v0.181.0
type TL_payments_starsStatus struct {
Balance TL // StarsAmount: TL_starsAmount | TL_starsTonAmount
Subscriptions []TL_starsSubscription // (optional)
SubscriptionsNextOffset *string // (optional)
SubscriptionsMissingBalance *int64 // (optional)
History []TL_starsTransaction // (optional)
NextOffset *string // (optional)
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs payments.StarsStatus
type TL_payments_suggestedStarRefBots ¶ added in v0.195.0
type TL_payments_suggestedStarRefBots struct {
Count int32
SuggestedBots []TL_starRefProgram
Users []TL // User: TL_userEmpty | TL_user
NextOffset *string // (optional)
}
Constructs payments.SuggestedStarRefBots
type TL_payments_toggleChatStarGiftNotifications ¶ added in v0.218.0
type TL_payments_toggleChatStarGiftNotifications struct {
Enabled bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_payments_toggleStarGiftsPinnedToTop ¶ added in v0.218.0
type TL_payments_toggleStarGiftsPinnedToTop struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Stargift []TL // InputSavedStarGift: TL_inputSavedStarGiftUser | TL_inputSavedStarGiftChat | TL_inputSavedStarGiftSlug
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_payments_transferStarGift ¶ added in v0.196.0
type TL_payments_transferStarGift struct {
Stargift TL // InputSavedStarGift: TL_inputSavedStarGiftUser | TL_inputSavedStarGiftChat | TL_inputSavedStarGiftSlug
ToID TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_payments_uniqueStarGift ¶ added in v0.218.0
type TL_payments_uniqueStarGift struct {
Gift TL // StarGift: TL_starGift | TL_starGiftUnique
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs payments.UniqueStarGift
type TL_payments_uniqueStarGiftValueInfo ¶ added in v0.218.0
type TL_payments_uniqueStarGiftValueInfo struct {
LastSaleOnFragment bool
ValueIsAverage bool
Currency string
Value int64
InitialSaleDate int32
InitialSaleStars int64
InitialSalePrice int64
LastSaleDate *int32 // (optional)
LastSalePrice *int64 // (optional)
FloorPrice *int64 // (optional)
AveragePrice *int64 // (optional)
ListedCount *int32 // (optional)
FragmentListedCount *int32 // (optional)
FragmentListedURL *string // (optional)
}
Constructs payments.UniqueStarGiftValueInfo
type TL_payments_updateStarGiftCollection ¶ added in v0.218.0
type TL_payments_updateStarGiftCollection struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
CollectionID int32
Title *string // (optional)
DeleteStargift []TL // (optional) InputSavedStarGift: TL_inputSavedStarGiftUser | TL_inputSavedStarGiftChat | TL_inputSavedStarGiftSlug
AddStargift []TL // (optional) InputSavedStarGift: TL_inputSavedStarGiftUser | TL_inputSavedStarGiftChat | TL_inputSavedStarGiftSlug
Order []TL // (optional) InputSavedStarGift: TL_inputSavedStarGiftUser | TL_inputSavedStarGiftChat | TL_inputSavedStarGiftSlug
}
Returns StarGiftCollection: TL_starGiftCollection
type TL_payments_updateStarGiftPrice ¶ added in v0.218.0
type TL_payments_updateStarGiftPrice struct {
Stargift TL // InputSavedStarGift: TL_inputSavedStarGiftUser | TL_inputSavedStarGiftChat | TL_inputSavedStarGiftSlug
ResellAmount TL // StarsAmount: TL_starsAmount | TL_starsTonAmount
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_payments_upgradeStarGift ¶ added in v0.196.0
type TL_payments_upgradeStarGift struct {
KeepOriginalDetails bool
Stargift TL // InputSavedStarGift: TL_inputSavedStarGiftUser | TL_inputSavedStarGiftChat | TL_inputSavedStarGiftSlug
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_payments_validateRequestedInfo ¶
type TL_payments_validateRequestedInfo struct {
Save bool
Invoice TL // InputInvoice: TL_inputInvoiceMessage | TL_inputInvoiceSlug | TL_inputInvoicePremiumGiftCode | TL_inputInvoiceStars | TL_inputInvoiceChatInviteSubscription | TL_inputInvoiceStarGift | TL_inputInvoiceStarGiftUpgrade | TL_inputInvoiceStarGiftTransfer | TL_inputInvoicePremiumGiftStars | TL_inputInvoiceBusinessBotTransferStars | TL_inputInvoiceStarGiftResale | TL_inputInvoiceStarGiftPrepaidUpgrade | TL_inputInvoicePremiumAuthCode | TL_inputInvoiceStarGiftDropOriginalDetails | TL_inputInvoiceStarGiftAuctionBid
Info TL_paymentRequestedInfo
}
Returns payments.ValidatedRequestedInfo: TL_payments_validatedRequestedInfo
type TL_payments_validatedRequestedInfo ¶
type TL_payments_validatedRequestedInfo struct {
ID *string // (optional)
ShippingOptions []TL_shippingOption // (optional)
}
Constructs payments.ValidatedRequestedInfo
type TL_peerBlocked ¶
type TL_peerBlocked struct {
PeerID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Date int32
}
Constructs PeerBlocked
type TL_peerColor ¶ added in v0.167.0
Constructs PeerColor
type TL_peerColorCollectible ¶ added in v0.218.0
type TL_peerColorCollectible struct {
CollectibleID int64
GiftEmojiID int64
BackgroundEmojiID int64
AccentColor int32
Colors []int32
DarkAccentColor *int32 // (optional)
DarkColors []int32 // (optional)
}
Constructs PeerColor
type TL_peerLocated ¶
type TL_peerLocated struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Expires int32
Distance int32
}
Constructs PeerLocated
type TL_peerNotifySettings ¶
type TL_peerNotifySettings struct {
ShowPreviews *bool // (optional)
Silent *bool // (optional)
MuteUntil *int32 // (optional)
IOSSound TL // (optional) NotificationSound: TL_notificationSoundDefault | TL_notificationSoundNone | TL_notificationSoundLocal | TL_notificationSoundRingtone
AndroidSound TL // (optional) NotificationSound: TL_notificationSoundDefault | TL_notificationSoundNone | TL_notificationSoundLocal | TL_notificationSoundRingtone
OtherSound TL // (optional) NotificationSound: TL_notificationSoundDefault | TL_notificationSoundNone | TL_notificationSoundLocal | TL_notificationSoundRingtone
StoriesMuted *bool // (optional)
StoriesHideSender *bool // (optional)
StoriesIOSSound TL // (optional) NotificationSound: TL_notificationSoundDefault | TL_notificationSoundNone | TL_notificationSoundLocal | TL_notificationSoundRingtone
StoriesAndroidSound TL // (optional) NotificationSound: TL_notificationSoundDefault | TL_notificationSoundNone | TL_notificationSoundLocal | TL_notificationSoundRingtone
StoriesOtherSound TL // (optional) NotificationSound: TL_notificationSoundDefault | TL_notificationSoundNone | TL_notificationSoundLocal | TL_notificationSoundRingtone
}
Constructs PeerNotifySettings
type TL_peerSettings ¶
type TL_peerSettings struct {
ReportSpam bool
AddContact bool
BlockContact bool
NeedContactsException bool
ReportGeo bool
Autoarchived bool
InviteMembers bool
RequestChatBroadcast bool
BusinessBotPaused bool
BusinessBotCanReply bool
GeoDistance *int32 // (optional)
RequestChatTitle *string // (optional)
RequestChatDate *int32 // (optional)
BusinessBotID *int64 // (optional)
BusinessBotManageURL *string // (optional)
ChargePaidMessageStars *int64 // (optional)
RegistrationMonth *string // (optional)
PhoneCountry *string // (optional)
NameChangeDate *int32 // (optional)
PhotoChangeDate *int32 // (optional)
}
Constructs PeerSettings
type TL_peerStories ¶ added in v0.166.0
type TL_peerStories struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
MaxReadID *int32 // (optional)
Stories []TL // StoryItem: TL_storyItemDeleted | TL_storyItemSkipped | TL_storyItem
}
Constructs PeerStories
type TL_pendingSuggestion ¶ added in v0.218.0
type TL_pendingSuggestion struct {
Suggestion string
Title TL_textWithEntities
Description TL_textWithEntities
URL string
}
Constructs PendingSuggestion
type TL_phoneCall ¶
type TL_phoneCall struct {
P2PAllowed bool
Video bool
ConferenceSupported bool
ID int64
AccessHash int64
Date int32
AdminID int64
ParticipantID int64
GAOrB []byte
KeyFingerprint int64
Protocol TL_phoneCallProtocol
Connections []TL // PhoneConnection: TL_phoneConnection | TL_phoneConnectionWebrtc
StartDate int32
CustomParameters *TL_dataJSON // (optional)
}
Constructs PhoneCall
type TL_phoneCallAccepted ¶
type TL_phoneCallAccepted struct {
Video bool
ID int64
AccessHash int64
Date int32
AdminID int64
ParticipantID int64
GB []byte
Protocol TL_phoneCallProtocol
}
Constructs PhoneCall
type TL_phoneCallDiscardReasonBusy ¶
type TL_phoneCallDiscardReasonBusy struct {
}
Constructs PhoneCallDiscardReason
type TL_phoneCallDiscardReasonDisconnect ¶
type TL_phoneCallDiscardReasonDisconnect struct {
}
Constructs PhoneCallDiscardReason
type TL_phoneCallDiscardReasonHangup ¶
type TL_phoneCallDiscardReasonHangup struct {
}
Constructs PhoneCallDiscardReason
type TL_phoneCallDiscardReasonMigrateConferenceCall ¶ added in v0.218.0
type TL_phoneCallDiscardReasonMigrateConferenceCall struct {
Slug string
}
Constructs PhoneCallDiscardReason
type TL_phoneCallDiscardReasonMissed ¶
type TL_phoneCallDiscardReasonMissed struct {
}
Constructs PhoneCallDiscardReason
type TL_phoneCallDiscarded ¶
type TL_phoneCallDiscarded struct {
NeedRating bool
NeedDebug bool
Video bool
ID int64
Reason TL // (optional) PhoneCallDiscardReason: TL_phoneCallDiscardReasonMissed | TL_phoneCallDiscardReasonDisconnect | TL_phoneCallDiscardReasonHangup | TL_phoneCallDiscardReasonBusy | TL_phoneCallDiscardReasonMigrateConferenceCall
Duration *int32 // (optional)
}
Constructs PhoneCall
type TL_phoneCallProtocol ¶
type TL_phoneCallProtocol struct {
UDPP2P bool
UDPReflector bool
MinLayer int32
MaxLayer int32
LibraryVersions []string
}
Constructs PhoneCallProtocol
type TL_phoneCallRequested ¶
type TL_phoneCallRequested struct {
Video bool
ID int64
AccessHash int64
Date int32
AdminID int64
ParticipantID int64
GAHash []byte
Protocol TL_phoneCallProtocol
}
Constructs PhoneCall
type TL_phoneCallWaiting ¶
type TL_phoneCallWaiting struct {
Video bool
ID int64
AccessHash int64
Date int32
AdminID int64
ParticipantID int64
Protocol TL_phoneCallProtocol
ReceiveDate *int32 // (optional)
}
Constructs PhoneCall
type TL_phoneConnection ¶
type TL_phoneConnection struct {
TCP bool
ID int64
IP string
IPv6 string
Port int32
PeerTag []byte
}
Constructs PhoneConnection
type TL_phoneConnectionWebrtc ¶
type TL_phoneConnectionWebrtc struct {
Turn bool
STUN bool
ID int64
IP string
IPv6 string
Port int32
Username string
Password string
}
Constructs PhoneConnection
type TL_phone_acceptCall ¶
type TL_phone_acceptCall struct {
Peer TL_inputPhoneCall
GB []byte
Protocol TL_phoneCallProtocol
}
Returns phone.PhoneCall: TL_phone_phoneCall
type TL_phone_checkGroupCall ¶
type TL_phone_checkGroupCall struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
Sources []int32
}
Returns Vector<int>:
type TL_phone_confirmCall ¶
type TL_phone_confirmCall struct {
Peer TL_inputPhoneCall
GA []byte
KeyFingerprint int64
Protocol TL_phoneCallProtocol
}
Returns phone.PhoneCall: TL_phone_phoneCall
type TL_phone_createConferenceCall ¶ added in v0.196.0
type TL_phone_createConferenceCall struct {
Muted bool
VideoStopped bool
Join bool
RandomID int32
PublicKey *[32]byte // (optional)
Block []byte // (optional)
Params *TL_dataJSON // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_createGroupCall ¶
type TL_phone_createGroupCall struct {
RTMPStream bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
RandomID int32
Title *string // (optional)
ScheduleDate *int32 // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_declineConferenceCallInvite ¶ added in v0.218.0
type TL_phone_declineConferenceCallInvite struct {
MsgID int32
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_deleteConferenceCallParticipants ¶ added in v0.218.0
type TL_phone_deleteConferenceCallParticipants struct {
OnlyLeft bool
Kick bool
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
IDs []int64
Block []byte
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_deleteGroupCallMessages ¶ added in v0.218.0
type TL_phone_deleteGroupCallMessages struct {
ReportSpam bool
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
Messages []int32
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_deleteGroupCallParticipantMessages ¶ added in v0.218.0
type TL_phone_deleteGroupCallParticipantMessages struct {
ReportSpam bool
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
Participant TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_discardCall ¶
type TL_phone_discardCall struct {
Video bool
Peer TL_inputPhoneCall
Duration int32
Reason TL // PhoneCallDiscardReason: TL_phoneCallDiscardReasonMissed | TL_phoneCallDiscardReasonDisconnect | TL_phoneCallDiscardReasonHangup | TL_phoneCallDiscardReasonBusy | TL_phoneCallDiscardReasonMigrateConferenceCall
ConnectionID int64
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_discardGroupCall ¶
type TL_phone_discardGroupCall struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_editGroupCallParticipant ¶
type TL_phone_editGroupCallParticipant struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
Participant TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Muted *bool // (optional)
Volume *int32 // (optional)
RaiseHand *bool // (optional)
VideoStopped *bool // (optional)
VideoPaused *bool // (optional)
PresentationPaused *bool // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_editGroupCallTitle ¶
type TL_phone_editGroupCallTitle struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
Title string
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_exportGroupCallInvite ¶
type TL_phone_exportGroupCallInvite struct {
CanSelfUnmute bool
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
}
Returns phone.ExportedGroupCallInvite: TL_phone_exportedGroupCallInvite
type TL_phone_exportedGroupCallInvite ¶
type TL_phone_exportedGroupCallInvite struct {
Link string
}
Constructs phone.ExportedGroupCallInvite
type TL_phone_getGroupCall ¶
type TL_phone_getGroupCall struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
Limit int32
}
Returns phone.GroupCall: TL_phone_groupCall
type TL_phone_getGroupCallChainBlocks ¶ added in v0.218.0
type TL_phone_getGroupCallChainBlocks struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
SubChainID int32
Offset int32
Limit int32
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_getGroupCallJoinAs ¶
type TL_phone_getGroupCallJoinAs struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns phone.JoinAsPeers: TL_phone_joinAsPeers
type TL_phone_getGroupCallStars ¶ added in v0.218.0
type TL_phone_getGroupCallStars struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
}
Returns phone.GroupCallStars: TL_phone_groupCallStars
type TL_phone_getGroupCallStreamChannels ¶
type TL_phone_getGroupCallStreamChannels struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
}
Returns phone.GroupCallStreamChannels: TL_phone_groupCallStreamChannels
type TL_phone_getGroupCallStreamRTMPURL ¶ added in v0.166.2
type TL_phone_getGroupCallStreamRTMPURL struct {
LiveStory bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Revoke bool
}
Returns phone.GroupCallStreamRtmpUrl: TL_phone_groupCallStreamRTMPURL
type TL_phone_getGroupParticipants ¶
type TL_phone_getGroupParticipants struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
IDs []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Sources []int32
Offset string
Limit int32
}
Returns phone.GroupParticipants: TL_phone_groupParticipants
type TL_phone_groupCall ¶
type TL_phone_groupCall struct {
Call TL // GroupCall: TL_groupCallDiscarded | TL_groupCall
Participants []TL_groupCallParticipant
ParticipantsNextOffset string
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs phone.GroupCall
type TL_phone_groupCallStars ¶ added in v0.218.0
type TL_phone_groupCallStars struct {
TotalStars int64
TopDonors []TL_groupCallDonor
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs phone.GroupCallStars
type TL_phone_groupCallStreamChannels ¶
type TL_phone_groupCallStreamChannels struct {
Channels []TL_groupCallStreamChannel
}
Constructs phone.GroupCallStreamChannels
type TL_phone_groupCallStreamRTMPURL ¶ added in v0.166.2
Constructs phone.GroupCallStreamRtmpUrl
type TL_phone_groupParticipants ¶
type TL_phone_groupParticipants struct {
Count int32
Participants []TL_groupCallParticipant
NextOffset string
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
Version int32
}
Constructs phone.GroupParticipants
type TL_phone_inviteConferenceCallParticipant ¶ added in v0.218.0
type TL_phone_inviteConferenceCallParticipant struct {
Video bool
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_inviteToGroupCall ¶
type TL_phone_inviteToGroupCall struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
Users []TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_joinAsPeers ¶
type TL_phone_joinAsPeers struct {
Peers []TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs phone.JoinAsPeers
type TL_phone_joinGroupCall ¶
type TL_phone_joinGroupCall struct {
Muted bool
VideoStopped bool
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
JoinAs TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
InviteHash *string // (optional)
PublicKey *[32]byte // (optional)
Block []byte // (optional)
Params TL_dataJSON
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_joinGroupCallPresentation ¶
type TL_phone_joinGroupCallPresentation struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
Params TL_dataJSON
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_leaveGroupCall ¶
type TL_phone_leaveGroupCall struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
Source int32
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_leaveGroupCallPresentation ¶
type TL_phone_leaveGroupCallPresentation struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_phoneCall ¶
type TL_phone_phoneCall struct {
PhoneCall TL // PhoneCall: TL_phoneCallEmpty | TL_phoneCallWaiting | TL_phoneCallRequested | TL_phoneCallAccepted | TL_phoneCall | TL_phoneCallDiscarded
Users []TL // User: TL_userEmpty | TL_user
}
Constructs phone.PhoneCall
type TL_phone_receivedCall ¶
type TL_phone_receivedCall struct {
Peer TL_inputPhoneCall
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_phone_requestCall ¶
type TL_phone_requestCall struct {
Video bool
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
RandomID int32
GAHash []byte
Protocol TL_phoneCallProtocol
}
Returns phone.PhoneCall: TL_phone_phoneCall
type TL_phone_saveCallDebug ¶
type TL_phone_saveCallDebug struct {
Peer TL_inputPhoneCall
Debug TL_dataJSON
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_phone_saveCallLog ¶
type TL_phone_saveCallLog struct {
Peer TL_inputPhoneCall
File TL // InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_phone_saveDefaultGroupCallJoinAs ¶
type TL_phone_saveDefaultGroupCallJoinAs struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
JoinAs TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_phone_saveDefaultSendAs ¶ added in v0.218.0
type TL_phone_saveDefaultSendAs struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
SendAs TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_phone_sendConferenceCallBroadcast ¶ added in v0.218.0
type TL_phone_sendConferenceCallBroadcast struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
Block []byte
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_sendGroupCallEncryptedMessage ¶ added in v0.218.0
type TL_phone_sendGroupCallEncryptedMessage struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
EncryptedMessage []byte
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_phone_sendGroupCallMessage ¶ added in v0.218.0
type TL_phone_sendGroupCallMessage struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
RandomID int64
Message TL_textWithEntities
AllowPaidStars *int64 // (optional)
SendAs TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_sendSignalingData ¶
type TL_phone_sendSignalingData struct {
Peer TL_inputPhoneCall
Data []byte
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_phone_setCallRating ¶
type TL_phone_setCallRating struct {
UserInitiative bool
Peer TL_inputPhoneCall
Rating int32
Comment string
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_startScheduledGroupCall ¶
type TL_phone_startScheduledGroupCall struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_toggleGroupCallRecord ¶
type TL_phone_toggleGroupCallRecord struct {
Start bool
Video bool
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
Title *string // (optional)
VideoPortrait *bool // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_toggleGroupCallSettings ¶
type TL_phone_toggleGroupCallSettings struct {
ResetInviteHash bool
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
JoinMuted *bool // (optional)
MessagesEnabled *bool // (optional)
SendPaidMessagesStars *int64 // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_phone_toggleGroupCallStartSubscription ¶
type TL_phone_toggleGroupCallStartSubscription struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
Subscribed bool
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_photo ¶
type TL_photo struct {
HasStickers bool
ID int64
AccessHash int64
FileReference []byte
Date int32
Sizes []TL // PhotoSize: TL_photoSizeEmpty | TL_photoSize | TL_photoCachedSize | TL_photoStrippedSize | TL_photoSizeProgressive | TL_photoPathSize
VideoSizes []TL // (optional) VideoSize: TL_videoSize | TL_videoSizeEmojiMarkup | TL_videoSizeStickerMarkup
DCID int32
}
Constructs Photo
type TL_photoCachedSize ¶
Constructs PhotoSize
type TL_photoPathSize ¶
Constructs PhotoSize
type TL_photoSize ¶
Constructs PhotoSize
type TL_photoSizeProgressive ¶
Constructs PhotoSize
type TL_photoStrippedSize ¶
Constructs PhotoSize
type TL_photos_deletePhotos ¶
type TL_photos_deletePhotos struct {
ID []TL // InputPhoto: TL_inputPhotoEmpty | TL_inputPhoto
}
Returns Vector<long>:
type TL_photos_getUserPhotos ¶
type TL_photos_getUserPhotos struct {
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Offset int32
MaxID int64
Limit int32
}
Returns photos.Photos: TL_photos_photos | TL_photos_photosSlice
type TL_photos_photo ¶
type TL_photos_photo struct {
Photo TL // Photo: TL_photoEmpty | TL_photo
Users []TL // User: TL_userEmpty | TL_user
}
Constructs photos.Photo
type TL_photos_photos ¶
type TL_photos_photos struct {
Photos []TL // Photo: TL_photoEmpty | TL_photo
Users []TL // User: TL_userEmpty | TL_user
}
Constructs photos.Photos
type TL_photos_photosSlice ¶
type TL_photos_photosSlice struct {
Count int32
Photos []TL // Photo: TL_photoEmpty | TL_photo
Users []TL // User: TL_userEmpty | TL_user
}
Constructs photos.Photos
type TL_photos_updateProfilePhoto ¶
type TL_photos_updateProfilePhoto struct {
Fallback bool
Bot TL // (optional) InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
ID TL // InputPhoto: TL_inputPhotoEmpty | TL_inputPhoto
}
Returns photos.Photo: TL_photos_photo
type TL_photos_uploadContactProfilePhoto ¶
type TL_photos_uploadContactProfilePhoto struct {
Suggest bool
Save bool
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
File TL // (optional) InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
Video TL // (optional) InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
VideoStartTS *float64 // (optional)
VideoEmojiMarkup TL // (optional) VideoSize: TL_videoSize | TL_videoSizeEmojiMarkup | TL_videoSizeStickerMarkup
}
Returns photos.Photo: TL_photos_photo
type TL_photos_uploadProfilePhoto ¶
type TL_photos_uploadProfilePhoto struct {
Fallback bool
Bot TL // (optional) InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
File TL // (optional) InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
Video TL // (optional) InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
VideoStartTS *float64 // (optional)
VideoEmojiMarkup TL // (optional) VideoSize: TL_videoSize | TL_videoSizeEmojiMarkup | TL_videoSizeStickerMarkup
}
Returns photos.Photo: TL_photos_photo
type TL_pingDelayDisconnect ¶ added in v0.166.2
Returns Pong: TL_pong
type TL_poll ¶
type TL_poll struct {
ID int64
Closed bool
PublicVoters bool
MultipleChoice bool
Quiz bool
Question TL_textWithEntities
Answers []TL_pollAnswer
ClosePeriod *int32 // (optional)
CloseDate *int32 // (optional)
}
Constructs Poll
type TL_pollAnswer ¶
type TL_pollAnswer struct {
Text TL_textWithEntities
Option []byte
}
Constructs PollAnswer
type TL_pollAnswerVoters ¶
Constructs PollAnswerVoters
type TL_pollResults ¶
type TL_pollResults struct {
Min bool
Results []TL_pollAnswerVoters // (optional)
TotalVoters *int32 // (optional)
RecentVoters []TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Solution *string // (optional)
SolutionEntities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
}
Constructs PollResults
type TL_popularContact ¶
Constructs PopularContact
type TL_postAddress ¶
type TL_postAddress struct {
StreetLine1 string
StreetLine2 string
City string
State string
CountryISO2 string
PostCode string
}
Constructs PostAddress
type TL_postInteractionCountersMessage ¶ added in v0.167.0
type TL_postInteractionCountersMessage struct {
MsgID int32
Views int32
Forwards int32
Reactions int32
}
Constructs PostInteractionCounters
type TL_postInteractionCountersStory ¶ added in v0.167.0
type TL_postInteractionCountersStory struct {
StoryID int32
Views int32
Forwards int32
Reactions int32
}
Constructs PostInteractionCounters
type TL_pqInnerData ¶ added in v0.166.2
type TL_pqInnerData struct {
PQ string
P string
Q string
Nonce [16]byte
ServerNonce [16]byte
NewNonce [32]byte
}
Constructs P_Q_inner_data
type TL_pqInnerDataDC ¶ added in v0.166.2
type TL_pqInnerDataDC struct {
PQ string
P string
Q string
Nonce [16]byte
ServerNonce [16]byte
NewNonce [32]byte
DC int32
}
Constructs P_Q_inner_data
type TL_pqInnerDataTemp ¶ added in v0.166.2
type TL_pqInnerDataTemp struct {
PQ string
P string
Q string
Nonce [16]byte
ServerNonce [16]byte
NewNonce [32]byte
ExpiresIn int32
}
Constructs P_Q_inner_data
type TL_pqInnerDataTempDC ¶ added in v0.166.2
type TL_pqInnerDataTempDC struct {
PQ string
P string
Q string
Nonce [16]byte
ServerNonce [16]byte
NewNonce [32]byte
DC int32
ExpiresIn int32
}
Constructs P_Q_inner_data
type TL_premiumGiftCodeOption ¶ added in v0.166.0
type TL_premiumGiftCodeOption struct {
}
Constructs PremiumGiftCodeOption
type TL_premiumSubscriptionOption ¶
type TL_premiumSubscriptionOption struct {
}
Constructs PremiumSubscriptionOption
type TL_premium_applyBoost ¶ added in v0.166.0
type TL_premium_applyBoost struct {
}
Returns premium.MyBoosts: TL_premium_myBoosts
type TL_premium_boostsList ¶ added in v0.166.0
type TL_premium_boostsList struct {
}
Constructs premium.BoostsList
type TL_premium_boostsStatus ¶ added in v0.166.0
type TL_premium_boostsStatus struct {
}
Constructs premium.BoostsStatus
type TL_premium_getBoostsList ¶ added in v0.166.0
type TL_premium_getBoostsList struct {
}
Returns premium.BoostsList: TL_premium_boostsList
type TL_premium_getBoostsStatus ¶ added in v0.166.0
type TL_premium_getBoostsStatus struct {
}
Returns premium.BoostsStatus: TL_premium_boostsStatus
type TL_premium_getMyBoosts ¶ added in v0.166.0
type TL_premium_getMyBoosts struct {
}
Returns premium.MyBoosts: TL_premium_myBoosts
type TL_premium_getUserBoosts ¶ added in v0.167.0
type TL_premium_getUserBoosts struct {
}
Returns premium.BoostsList: TL_premium_boostsList
type TL_premium_myBoosts ¶ added in v0.166.0
type TL_premium_myBoosts struct {
}
Constructs premium.MyBoosts
type TL_prepaidGiveaway ¶ added in v0.166.0
Constructs PrepaidGiveaway
type TL_prepaidStarsGiveaway ¶ added in v0.187.0
Constructs PrepaidGiveaway
type TL_privacyKeyAbout ¶ added in v0.166.0
type TL_privacyKeyAbout struct {
}
Constructs PrivacyKey
type TL_privacyKeyBirthday ¶ added in v0.181.0
type TL_privacyKeyBirthday struct {
}
Constructs PrivacyKey
type TL_privacyKeyNoPaidMessages ¶ added in v0.218.0
type TL_privacyKeyNoPaidMessages struct {
}
Constructs PrivacyKey
type TL_privacyKeySavedMusic ¶ added in v0.218.0
type TL_privacyKeySavedMusic struct {
}
Constructs PrivacyKey
type TL_privacyKeyStarGiftsAutoSave ¶ added in v0.195.0
type TL_privacyKeyStarGiftsAutoSave struct {
}
Constructs PrivacyKey
type TL_privacyKeyStatusTimestamp ¶
type TL_privacyKeyStatusTimestamp struct {
}
Constructs PrivacyKey
type TL_privacyValueAllowBots ¶ added in v0.195.0
type TL_privacyValueAllowBots struct {
}
Constructs PrivacyRule
type TL_privacyValueAllowChatParticipants ¶
type TL_privacyValueAllowChatParticipants struct {
Chats []int64
}
Constructs PrivacyRule
type TL_privacyValueAllowCloseFriends ¶ added in v0.166.0
type TL_privacyValueAllowCloseFriends struct {
}
Constructs PrivacyRule
type TL_privacyValueAllowContacts ¶
type TL_privacyValueAllowContacts struct {
}
Constructs PrivacyRule
type TL_privacyValueAllowPremium ¶ added in v0.181.0
type TL_privacyValueAllowPremium struct {
}
Constructs PrivacyRule
type TL_privacyValueAllowUsers ¶
type TL_privacyValueAllowUsers struct {
Users []int64
}
Constructs PrivacyRule
type TL_privacyValueDisallowBots ¶ added in v0.195.0
type TL_privacyValueDisallowBots struct {
}
Constructs PrivacyRule
type TL_privacyValueDisallowChatParticipants ¶
type TL_privacyValueDisallowChatParticipants struct {
Chats []int64
}
Constructs PrivacyRule
type TL_privacyValueDisallowContacts ¶
type TL_privacyValueDisallowContacts struct {
}
Constructs PrivacyRule
type TL_privacyValueDisallowUsers ¶
type TL_privacyValueDisallowUsers struct {
Users []int64
}
Constructs PrivacyRule
type TL_profileTabFiles ¶ added in v0.218.0
type TL_profileTabFiles struct {
}
Constructs ProfileTab
type TL_profileTabGifts ¶ added in v0.218.0
type TL_profileTabGifts struct {
}
Constructs ProfileTab
type TL_profileTabLinks ¶ added in v0.218.0
type TL_profileTabLinks struct {
}
Constructs ProfileTab
type TL_profileTabMedia ¶ added in v0.218.0
type TL_profileTabMedia struct {
}
Constructs ProfileTab
type TL_profileTabMusic ¶ added in v0.218.0
type TL_profileTabMusic struct {
}
Constructs ProfileTab
type TL_profileTabPosts ¶ added in v0.218.0
type TL_profileTabPosts struct {
}
Constructs ProfileTab
type TL_profileTabVoice ¶ added in v0.218.0
type TL_profileTabVoice struct {
}
Constructs ProfileTab
type TL_publicForwardMessage ¶ added in v0.167.0
type TL_publicForwardMessage struct {
Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
}
Constructs PublicForward
type TL_publicForwardStory ¶ added in v0.167.0
type TL_publicForwardStory struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Story TL // StoryItem: TL_storyItemDeleted | TL_storyItemSkipped | TL_storyItem
}
Constructs PublicForward
type TL_quickReply ¶ added in v0.181.0
Constructs QuickReply
type TL_reactionCount ¶
type TL_reactionCount struct {
ChosenOrder *int32 // (optional)
Reaction TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
Count int32
}
Constructs ReactionCount
type TL_reactionCustomEmoji ¶
type TL_reactionCustomEmoji struct {
DocumentID int64
}
Constructs Reaction
type TL_reactionNotificationsFromAll ¶ added in v0.181.0
type TL_reactionNotificationsFromAll struct {
}
Constructs ReactionNotificationsFrom
type TL_reactionNotificationsFromContacts ¶ added in v0.181.0
type TL_reactionNotificationsFromContacts struct {
}
Constructs ReactionNotificationsFrom
type TL_reactionsNotifySettings ¶ added in v0.181.0
type TL_reactionsNotifySettings struct {
MessagesNotifyFrom TL // (optional) ReactionNotificationsFrom: TL_reactionNotificationsFromContacts | TL_reactionNotificationsFromAll
StoriesNotifyFrom TL // (optional) ReactionNotificationsFrom: TL_reactionNotificationsFromContacts | TL_reactionNotificationsFromAll
Sound TL // NotificationSound: TL_notificationSoundDefault | TL_notificationSoundNone | TL_notificationSoundLocal | TL_notificationSoundRingtone
ShowPreviews bool
}
Constructs ReactionsNotifySettings
type TL_readParticipantDate ¶
Constructs ReadParticipantDate
type TL_receivedNotifyMessage ¶
Constructs ReceivedNotifyMessage
type TL_recentMeURLChat ¶ added in v0.166.2
Constructs RecentMeUrl
type TL_recentMeURLChatInvite ¶ added in v0.166.2
type TL_recentMeURLChatInvite struct {
URL string
ChatInvite TL // ChatInvite: TL_chatInviteAlready | TL_chatInvite | TL_chatInvitePeek
}
Constructs RecentMeUrl
type TL_recentMeURLStickerSet ¶ added in v0.166.2
type TL_recentMeURLStickerSet struct {
URL string
Set TL // StickerSetCovered: TL_stickerSetCovered | TL_stickerSetMultiCovered | TL_stickerSetFullCovered | TL_stickerSetNoCovered
}
Constructs RecentMeUrl
type TL_recentMeURLUnknown ¶ added in v0.166.2
type TL_recentMeURLUnknown struct {
URL string
}
Constructs RecentMeUrl
type TL_recentMeURLUser ¶ added in v0.166.2
Constructs RecentMeUrl
type TL_recentStory ¶ added in v0.218.0
Constructs RecentStory
type TL_replyInlineMarkup ¶
type TL_replyInlineMarkup struct {
Rows []TL_keyboardButtonRow
}
Constructs ReplyMarkup
type TL_replyKeyboardForceReply ¶
type TL_replyKeyboardForceReply struct {
SingleUse bool
Selective bool
Placeholder *string // (optional)
}
Constructs ReplyMarkup
type TL_replyKeyboardHide ¶
type TL_replyKeyboardHide struct {
Selective bool
}
Constructs ReplyMarkup
type TL_replyKeyboardMarkup ¶
type TL_replyKeyboardMarkup struct {
Resize bool
SingleUse bool
Selective bool
Persistent bool
Rows []TL_keyboardButtonRow
Placeholder *string // (optional)
}
Constructs ReplyMarkup
type TL_reportResultAddComment ¶ added in v0.192.0
Constructs ReportResult
type TL_reportResultChooseOption ¶ added in v0.192.0
type TL_reportResultChooseOption struct {
Title string
Options []TL_messageReportOption
}
Constructs ReportResult
type TL_reportResultReported ¶ added in v0.192.0
type TL_reportResultReported struct {
}
Constructs ReportResult
type TL_reqDHParams ¶ added in v0.166.2
type TL_reqDHParams struct {
Nonce [16]byte
ServerNonce [16]byte
P string
Q string
PublicKeyFingerprint int64
EncryptedData string
}
Returns Server_DH_Params: TL_serverDHParamsFail | TL_serverDHParamsOK
type TL_reqPQMulti ¶ added in v0.166.2
type TL_reqPQMulti struct {
Nonce [16]byte
}
Returns ResPQ: TL_resPQ
type TL_requestPeerTypeBroadcast ¶
type TL_requestPeerTypeBroadcast struct {
Creator bool
HasUsername *bool // (optional)
UserAdminRights *TL_chatAdminRights // (optional)
BotAdminRights *TL_chatAdminRights // (optional)
}
Constructs RequestPeerType
type TL_requestPeerTypeChat ¶
type TL_requestPeerTypeChat struct {
Creator bool
BotParticipant bool
HasUsername *bool // (optional)
Forum *bool // (optional)
UserAdminRights *TL_chatAdminRights // (optional)
BotAdminRights *TL_chatAdminRights // (optional)
}
Constructs RequestPeerType
type TL_requestPeerTypeUser ¶
Constructs RequestPeerType
type TL_requestedPeerChannel ¶ added in v0.181.0
type TL_requestedPeerChannel struct {
ChannelID int64
Title *string // (optional)
Username *string // (optional)
Photo TL // (optional) Photo: TL_photoEmpty | TL_photo
}
Constructs RequestedPeer
type TL_requestedPeerChat ¶ added in v0.181.0
type TL_requestedPeerChat struct {
ChatID int64
Title *string // (optional)
Photo TL // (optional) Photo: TL_photoEmpty | TL_photo
}
Constructs RequestedPeer
type TL_requestedPeerUser ¶ added in v0.181.0
type TL_requestedPeerUser struct {
UserID int64
FirstName *string // (optional)
LastName *string // (optional)
Username *string // (optional)
Photo TL // (optional) Photo: TL_photoEmpty | TL_photo
}
Constructs RequestedPeer
type TL_requirementToContactEmpty ¶ added in v0.218.0
type TL_requirementToContactEmpty struct {
}
Constructs RequirementToContact
type TL_requirementToContactPaidMessages ¶ added in v0.218.0
type TL_requirementToContactPaidMessages struct {
StarsAmount int64
}
Constructs RequirementToContact
type TL_requirementToContactPremium ¶ added in v0.218.0
type TL_requirementToContactPremium struct {
}
Constructs RequirementToContact
type TL_resPQ ¶
type TL_resPQ struct {
Nonce [16]byte
ServerNonce [16]byte
PQ string
ServerPublicKeyFingerprints []int64
}
Constructs ResPQ
type TL_restrictionReason ¶
Constructs RestrictionReason
type TL_rpcAnswerDropped ¶ added in v0.166.2
Constructs RpcDropAnswer
type TL_rpcAnswerDroppedRunning ¶ added in v0.166.2
type TL_rpcAnswerDroppedRunning struct {
}
Constructs RpcDropAnswer
type TL_rpcAnswerUnknown ¶ added in v0.166.2
type TL_rpcAnswerUnknown struct {
}
Constructs RpcDropAnswer
type TL_rpcDropAnswer ¶ added in v0.166.2
type TL_rpcDropAnswer struct {
ReqMsgID int64
}
Returns RpcDropAnswer: TL_rpcAnswerUnknown | TL_rpcAnswerDroppedRunning | TL_rpcAnswerDropped
type TL_rpcError ¶ added in v0.166.2
Constructs RpcError
type TL_rpcResult ¶ added in v0.166.2
type TL_rpcResult struct {
// contains filtered or unexported fields
}
type TL_savedDialog ¶ added in v0.181.0
type TL_savedDialog struct {
Pinned bool
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
TopMessage int32
}
Constructs SavedDialog
type TL_savedPhoneContact ¶
Constructs SavedContact
type TL_savedReactionTag ¶ added in v0.181.0
type TL_savedReactionTag struct {
Reaction TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
Title *string // (optional)
Count int32
}
Constructs SavedReactionTag
type TL_savedStarGift ¶ added in v0.218.0
type TL_savedStarGift struct {
NameHidden bool
Unsaved bool
Refunded bool
CanUpgrade bool
PinnedToTop bool
UpgradeSeparate bool
FromID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Date int32
Gift TL // StarGift: TL_starGift | TL_starGiftUnique
Message *TL_textWithEntities // (optional)
MsgID *int32 // (optional)
SavedID *int64 // (optional)
ConvertStars *int64 // (optional)
UpgradeStars *int64 // (optional)
CanExportAt *int32 // (optional)
TransferStars *int64 // (optional)
CanTransferAt *int32 // (optional)
CanResellAt *int32 // (optional)
CollectionID []int32 // (optional)
PrepaidUpgradeHash *string // (optional)
DropOriginalDetailsStars *int64 // (optional)
GiftNum *int32 // (optional)
}
Constructs SavedStarGift
type TL_searchPostsFlood ¶ added in v0.218.0
type TL_searchPostsFlood struct {
QueryIsFree bool
TotalDaily int32
Remains int32
WaitTill *int32 // (optional)
StarsAmount int64
}
Constructs SearchPostsFlood
type TL_searchResultPosition ¶
Constructs SearchResultsPosition
type TL_searchResultsCalendarPeriod ¶
Constructs SearchResultsCalendarPeriod
type TL_secureCredentialsEncrypted ¶
Constructs SecureCredentialsEncrypted
type TL_secureData ¶
Constructs SecureData
type TL_secureFile ¶
type TL_secureFile struct {
ID int64
AccessHash int64
Size int64
DCID int32
Date int32
FileHash []byte
Secret []byte
}
Constructs SecureFile
type TL_securePasswordKDFAlgoPBKDF2HMACSHA512iter100000 ¶ added in v0.166.2
type TL_securePasswordKDFAlgoPBKDF2HMACSHA512iter100000 struct {
Salt []byte
}
Constructs SecurePasswordKdfAlgo
type TL_securePasswordKDFAlgoSHA512 ¶ added in v0.166.2
type TL_securePasswordKDFAlgoSHA512 struct {
Salt []byte
}
Constructs SecurePasswordKdfAlgo
type TL_securePasswordKDFAlgoUnknown ¶ added in v0.166.2
type TL_securePasswordKDFAlgoUnknown struct {
}
Constructs SecurePasswordKdfAlgo
type TL_securePlainEmail ¶
type TL_securePlainEmail struct {
Email string
}
Constructs SecurePlainData
type TL_securePlainPhone ¶
type TL_securePlainPhone struct {
Phone string
}
Constructs SecurePlainData
type TL_secureRequiredType ¶
type TL_secureRequiredType struct {
NativeNames bool
SelfieRequired bool
TranslationRequired bool
Type TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
}
Constructs SecureRequiredType
type TL_secureRequiredTypeOneOf ¶
type TL_secureRequiredTypeOneOf struct {
Types []TL // SecureRequiredType: TL_secureRequiredType | TL_secureRequiredTypeOneOf
}
Constructs SecureRequiredType
type TL_secureSecretSettings ¶
type TL_secureSecretSettings struct {
SecureAlgo TL // SecurePasswordKdfAlgo: TL_securePasswordKDFAlgoUnknown | TL_securePasswordKDFAlgoPBKDF2HMACSHA512iter100000 | TL_securePasswordKDFAlgoSHA512
SecureSecret []byte
SecureSecretID int64
}
Constructs SecureSecretSettings
type TL_secureValue ¶
type TL_secureValue struct {
Type TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
Data *TL_secureData // (optional)
FrontSide TL // (optional) SecureFile: TL_secureFileEmpty | TL_secureFile
ReverseSide TL // (optional) SecureFile: TL_secureFileEmpty | TL_secureFile
Selfie TL // (optional) SecureFile: TL_secureFileEmpty | TL_secureFile
Translation []TL // (optional) SecureFile: TL_secureFileEmpty | TL_secureFile
Files []TL // (optional) SecureFile: TL_secureFileEmpty | TL_secureFile
PlainData TL // (optional) SecurePlainData: TL_securePlainPhone | TL_securePlainEmail
Hash []byte
}
Constructs SecureValue
type TL_secureValueError ¶
type TL_secureValueError struct {
Type TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
Hash []byte
Text string
}
Constructs SecureValueError
type TL_secureValueErrorData ¶
type TL_secureValueErrorData struct {
Type TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
DataHash []byte
Field string
Text string
}
Constructs SecureValueError
type TL_secureValueErrorFile ¶
type TL_secureValueErrorFile struct {
Type TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
FileHash []byte
Text string
}
Constructs SecureValueError
type TL_secureValueErrorFiles ¶
type TL_secureValueErrorFiles struct {
Type TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
FileHash [][]byte
Text string
}
Constructs SecureValueError
type TL_secureValueErrorFrontSide ¶
type TL_secureValueErrorFrontSide struct {
Type TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
FileHash []byte
Text string
}
Constructs SecureValueError
type TL_secureValueErrorReverseSide ¶
type TL_secureValueErrorReverseSide struct {
Type TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
FileHash []byte
Text string
}
Constructs SecureValueError
type TL_secureValueErrorSelfie ¶
type TL_secureValueErrorSelfie struct {
Type TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
FileHash []byte
Text string
}
Constructs SecureValueError
type TL_secureValueErrorTranslationFile ¶
type TL_secureValueErrorTranslationFile struct {
Type TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
FileHash []byte
Text string
}
Constructs SecureValueError
type TL_secureValueErrorTranslationFiles ¶
type TL_secureValueErrorTranslationFiles struct {
Type TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
FileHash [][]byte
Text string
}
Constructs SecureValueError
type TL_secureValueHash ¶
type TL_secureValueHash struct {
Type TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
Hash []byte
}
Constructs SecureValueHash
type TL_secureValueTypeAddress ¶
type TL_secureValueTypeAddress struct {
}
Constructs SecureValueType
type TL_secureValueTypeBankStatement ¶
type TL_secureValueTypeBankStatement struct {
}
Constructs SecureValueType
type TL_secureValueTypeDriverLicense ¶
type TL_secureValueTypeDriverLicense struct {
}
Constructs SecureValueType
type TL_secureValueTypeIdentityCard ¶
type TL_secureValueTypeIdentityCard struct {
}
Constructs SecureValueType
type TL_secureValueTypeInternalPassport ¶
type TL_secureValueTypeInternalPassport struct {
}
Constructs SecureValueType
type TL_secureValueTypePassport ¶
type TL_secureValueTypePassport struct {
}
Constructs SecureValueType
type TL_secureValueTypePassportRegistration ¶
type TL_secureValueTypePassportRegistration struct {
}
Constructs SecureValueType
type TL_secureValueTypePersonalDetails ¶
type TL_secureValueTypePersonalDetails struct {
}
Constructs SecureValueType
type TL_secureValueTypeRentalAgreement ¶
type TL_secureValueTypeRentalAgreement struct {
}
Constructs SecureValueType
type TL_secureValueTypeTemporaryRegistration ¶
type TL_secureValueTypeTemporaryRegistration struct {
}
Constructs SecureValueType
type TL_secureValueTypeUtilityBill ¶
type TL_secureValueTypeUtilityBill struct {
}
Constructs SecureValueType
type TL_sendAsPeer ¶
type TL_sendAsPeer struct {
PremiumRequired bool
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}
Constructs SendAsPeer
type TL_sendMessageCancelAction ¶
type TL_sendMessageCancelAction struct {
}
Constructs SendMessageAction
type TL_sendMessageChooseContactAction ¶
type TL_sendMessageChooseContactAction struct {
}
Constructs SendMessageAction
type TL_sendMessageChooseStickerAction ¶
type TL_sendMessageChooseStickerAction struct {
}
Constructs SendMessageAction
type TL_sendMessageEmojiInteraction ¶
type TL_sendMessageEmojiInteraction struct {
Emoticon string
MsgID int32
Interaction TL_dataJSON
}
Constructs SendMessageAction
type TL_sendMessageEmojiInteractionSeen ¶
type TL_sendMessageEmojiInteractionSeen struct {
Emoticon string
}
Constructs SendMessageAction
type TL_sendMessageGamePlayAction ¶
type TL_sendMessageGamePlayAction struct {
}
Constructs SendMessageAction
type TL_sendMessageGeoLocationAction ¶
type TL_sendMessageGeoLocationAction struct {
}
Constructs SendMessageAction
type TL_sendMessageHistoryImportAction ¶
type TL_sendMessageHistoryImportAction struct {
Progress int32
}
Constructs SendMessageAction
type TL_sendMessageRecordAudioAction ¶
type TL_sendMessageRecordAudioAction struct {
}
Constructs SendMessageAction
type TL_sendMessageRecordRoundAction ¶
type TL_sendMessageRecordRoundAction struct {
}
Constructs SendMessageAction
type TL_sendMessageRecordVideoAction ¶
type TL_sendMessageRecordVideoAction struct {
}
Constructs SendMessageAction
type TL_sendMessageTextDraftAction ¶ added in v0.218.0
type TL_sendMessageTextDraftAction struct {
RandomID int64
Text TL_textWithEntities
}
Constructs SendMessageAction
type TL_sendMessageTypingAction ¶
type TL_sendMessageTypingAction struct {
}
Constructs SendMessageAction
type TL_sendMessageUploadAudioAction ¶
type TL_sendMessageUploadAudioAction struct {
Progress int32
}
Constructs SendMessageAction
type TL_sendMessageUploadDocumentAction ¶
type TL_sendMessageUploadDocumentAction struct {
Progress int32
}
Constructs SendMessageAction
type TL_sendMessageUploadPhotoAction ¶
type TL_sendMessageUploadPhotoAction struct {
Progress int32
}
Constructs SendMessageAction
type TL_sendMessageUploadRoundAction ¶
type TL_sendMessageUploadRoundAction struct {
Progress int32
}
Constructs SendMessageAction
type TL_sendMessageUploadVideoAction ¶
type TL_sendMessageUploadVideoAction struct {
Progress int32
}
Constructs SendMessageAction
type TL_serverDHInnerData ¶ added in v0.166.2
type TL_serverDHInnerData struct {
Nonce [16]byte
ServerNonce [16]byte
G int32
DHPrime string
GA string
ServerTime int32
}
Constructs Server_DH_inner_data
type TL_serverDHParamsFail ¶ added in v0.166.2
Constructs Server_DH_Params
type TL_serverDHParamsOK ¶ added in v0.166.2
Constructs Server_DH_Params
type TL_setClientDHParams ¶ added in v0.166.2
Returns Set_client_DH_params_answer: TL_dhGenOK | TL_dhGenRetry | TL_dhGenFail
type TL_shippingOption ¶
type TL_shippingOption struct {
ID string
Title string
Prices []TL_labeledPrice
}
Constructs ShippingOption
type TL_smsjobs_eligibleToJoin ¶ added in v0.181.0
Constructs smsjobs.EligibilityToJoin
type TL_smsjobs_finishJob ¶ added in v0.181.0
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_smsjobs_getSMSJob ¶ added in v0.181.0
type TL_smsjobs_getSMSJob struct {
JobID string
}
Returns SmsJob: TL_smsJob
type TL_smsjobs_getStatus ¶ added in v0.181.0
type TL_smsjobs_getStatus struct {
}
Returns smsjobs.Status: TL_smsjobs_status
type TL_smsjobs_isEligibleToJoin ¶ added in v0.181.0
type TL_smsjobs_isEligibleToJoin struct {
}
Returns smsjobs.EligibilityToJoin: TL_smsjobs_eligibleToJoin
type TL_smsjobs_join ¶ added in v0.181.0
type TL_smsjobs_join struct {
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_smsjobs_leave ¶ added in v0.181.0
type TL_smsjobs_leave struct {
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_smsjobs_status ¶ added in v0.181.0
type TL_smsjobs_status struct {
AllowInternational bool
RecentSent int32
RecentSince int32
RecentRemains int32
TotalSent int32
TotalSince int32
LastGiftSlug *string // (optional)
TermsURL string
}
Constructs smsjobs.Status
type TL_smsjobs_updateSettings ¶ added in v0.181.0
type TL_smsjobs_updateSettings struct {
AllowInternational bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_speakingInGroupCallAction ¶
type TL_speakingInGroupCallAction struct {
}
Constructs SendMessageAction
type TL_sponsoredMessage ¶
type TL_sponsoredMessage struct {
Recommended bool
CanReport bool
RandomID []byte
URL string
Title string
Message string
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
Photo TL // (optional) Photo: TL_photoEmpty | TL_photo
Media TL // (optional) MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia | TL_messageMediaToDo | TL_messageMediaVideoStream
Color TL // (optional) PeerColor: TL_peerColor | TL_peerColorCollectible | TL_inputPeerColorCollectible
ButtonText string
SponsorInfo *string // (optional)
AdditionalInfo *string // (optional)
MinDisplayDuration *int32 // (optional)
MaxDisplayDuration *int32 // (optional)
}
Constructs SponsoredMessage
type TL_sponsoredMessageReportOption ¶ added in v0.181.0
Constructs SponsoredMessageReportOption
type TL_sponsoredPeer ¶ added in v0.218.0
type TL_sponsoredPeer struct {
RandomID []byte
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
SponsorInfo *string // (optional)
AdditionalInfo *string // (optional)
}
Constructs SponsoredPeer
type TL_starGift ¶ added in v0.192.0
type TL_starGift struct {
Limited bool
SoldOut bool
Birthday bool
RequirePremium bool
LimitedPerUser bool
PeerColorAvailable bool
Auction bool
ID int64
Sticker TL // Document: TL_documentEmpty | TL_document
Stars int64
AvailabilityRemains *int32 // (optional)
AvailabilityTotal *int32 // (optional)
AvailabilityResale *int64 // (optional)
ConvertStars int64
FirstSaleDate *int32 // (optional)
LastSaleDate *int32 // (optional)
UpgradeStars *int64 // (optional)
ResellMinStars *int64 // (optional)
Title *string // (optional)
ReleasedBy TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
PerUserTotal *int32 // (optional)
PerUserRemains *int32 // (optional)
LockedUntilDate *int32 // (optional)
AuctionSlug *string // (optional)
GiftsPerRound *int32 // (optional)
AuctionStartDate *int32 // (optional)
UpgradeVariants *int32 // (optional)
Background *TL_starGiftBackground // (optional)
}
Constructs StarGift
type TL_starGiftActiveAuctionState ¶ added in v0.218.0
type TL_starGiftActiveAuctionState struct {
Gift TL // StarGift: TL_starGift | TL_starGiftUnique
State TL // StarGiftAuctionState: TL_starGiftAuctionStateNotModified | TL_starGiftAuctionState | TL_starGiftAuctionStateFinished
UserState TL_starGiftAuctionUserState
}
Constructs StarGiftActiveAuctionState
type TL_starGiftAttributeBackdrop ¶ added in v0.196.0
type TL_starGiftAttributeBackdrop struct {
Name string
BackdropID int32
CenterColor int32
EdgeColor int32
PatternColor int32
TextColor int32
RarityPermille int32
}
Constructs StarGiftAttribute
type TL_starGiftAttributeCounter ¶ added in v0.218.0
type TL_starGiftAttributeCounter struct {
Attribute TL // StarGiftAttributeId: TL_starGiftAttributeIDModel | TL_starGiftAttributeIDPattern | TL_starGiftAttributeIDBackdrop
Count int32
}
Constructs StarGiftAttributeCounter
type TL_starGiftAttributeIDBackdrop ¶ added in v0.218.0
type TL_starGiftAttributeIDBackdrop struct {
BackdropID int32
}
Constructs StarGiftAttributeId
type TL_starGiftAttributeIDModel ¶ added in v0.218.0
type TL_starGiftAttributeIDModel struct {
DocumentID int64
}
Constructs StarGiftAttributeId
type TL_starGiftAttributeIDPattern ¶ added in v0.218.0
type TL_starGiftAttributeIDPattern struct {
DocumentID int64
}
Constructs StarGiftAttributeId
type TL_starGiftAttributeModel ¶ added in v0.196.0
type TL_starGiftAttributeModel struct {
Name string
Document TL // Document: TL_documentEmpty | TL_document
RarityPermille int32
}
Constructs StarGiftAttribute
type TL_starGiftAttributeOriginalDetails ¶ added in v0.196.0
type TL_starGiftAttributeOriginalDetails struct {
SenderID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
RecipientID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Date int32
Message *TL_textWithEntities // (optional)
}
Constructs StarGiftAttribute
type TL_starGiftAttributePattern ¶ added in v0.196.0
type TL_starGiftAttributePattern struct {
Name string
Document TL // Document: TL_documentEmpty | TL_document
RarityPermille int32
}
Constructs StarGiftAttribute
type TL_starGiftAuctionAcquiredGift ¶ added in v0.218.0
type TL_starGiftAuctionAcquiredGift struct {
NameHidden bool
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Date int32
BidAmount int64
Round int32
Pos int32
Message *TL_textWithEntities // (optional)
GiftNum *int32 // (optional)
}
Constructs StarGiftAuctionAcquiredGift
type TL_starGiftAuctionRound ¶ added in v0.220.0
Constructs StarGiftAuctionRound
type TL_starGiftAuctionRoundExtendable ¶ added in v0.220.0
type TL_starGiftAuctionRoundExtendable struct {
Num int32
Duration int32
ExtendTop int32
ExtendWindow int32
}
Constructs StarGiftAuctionRound
type TL_starGiftAuctionState ¶ added in v0.218.0
type TL_starGiftAuctionState struct {
Version int32
StartDate int32
EndDate int32
MinBidAmount int64
BidLevels []TL_auctionBidLevel
TopBidders []int64
NextRoundAt int32
LastGiftNum int32
GiftsLeft int32
CurrentRound int32
TotalRounds int32
Rounds []TL // StarGiftAuctionRound: TL_starGiftAuctionRound | TL_starGiftAuctionRoundExtendable
}
Constructs StarGiftAuctionState
type TL_starGiftAuctionStateFinished ¶ added in v0.218.0
type TL_starGiftAuctionStateFinished struct {
StartDate int32
EndDate int32
AveragePrice int64
ListedCount *int32 // (optional)
FragmentListedCount *int32 // (optional)
FragmentListedURL *string // (optional)
}
Constructs StarGiftAuctionState
type TL_starGiftAuctionStateNotModified ¶ added in v0.218.0
type TL_starGiftAuctionStateNotModified struct {
}
Constructs StarGiftAuctionState
type TL_starGiftAuctionUserState ¶ added in v0.218.0
type TL_starGiftAuctionUserState struct {
Returned bool
BidAmount *int64 // (optional)
BidDate *int32 // (optional)
MinBidAmount *int64 // (optional)
BidPeer TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
AcquiredCount int32
}
Constructs StarGiftAuctionUserState
type TL_starGiftBackground ¶ added in v0.220.0
Constructs StarGiftBackground
type TL_starGiftCollection ¶ added in v0.218.0
type TL_starGiftCollection struct {
CollectionID int32
Title string
Icon TL // (optional) Document: TL_documentEmpty | TL_document
GiftsCount int32
Hash int64
}
Constructs StarGiftCollection
type TL_starGiftUnique ¶ added in v0.196.0
type TL_starGiftUnique struct {
RequirePremium bool
ResaleTonOnly bool
ThemeAvailable bool
ID int64
GiftID int64
Title string
Slug string
Num int32
OwnerID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
OwnerName *string // (optional)
OwnerAddress *string // (optional)
Attributes []TL // StarGiftAttribute: TL_starGiftAttributeModel | TL_starGiftAttributePattern | TL_starGiftAttributeBackdrop | TL_starGiftAttributeOriginalDetails
AvailabilityIssued int32
AvailabilityTotal int32
GiftAddress *string // (optional)
ResellAmount []TL // (optional) StarsAmount: TL_starsAmount | TL_starsTonAmount
ReleasedBy TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
ValueAmount *int64 // (optional)
ValueCurrency *string // (optional)
ValueUsdAmount *int64 // (optional)
ThemePeer TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
PeerColor TL // (optional) PeerColor: TL_peerColor | TL_peerColorCollectible | TL_inputPeerColorCollectible
HostID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
OfferMinStars *int32 // (optional)
}
Constructs StarGift
type TL_starGiftUpgradePrice ¶ added in v0.218.0
Constructs StarGiftUpgradePrice
type TL_starRefProgram ¶ added in v0.195.0
type TL_starRefProgram struct {
BotID int64
CommissionPermille int32
DurationMonths *int32 // (optional)
EndDate *int32 // (optional)
DailyRevenuePerUser TL // (optional) StarsAmount: TL_starsAmount | TL_starsTonAmount
}
Constructs StarRefProgram
type TL_starsAmount ¶ added in v0.195.0
Constructs StarsAmount
type TL_starsGiftOption ¶ added in v0.185.0
type TL_starsGiftOption struct {
Extended bool
Stars int64
StoreProduct *string // (optional)
Currency string
Amount int64
}
Constructs StarsGiftOption
type TL_starsGiveawayOption ¶ added in v0.187.0
type TL_starsGiveawayOption struct {
Extended bool
Default bool
Stars int64
YearlyBoosts int32
StoreProduct *string // (optional)
Currency string
Amount int64
Winners []TL_starsGiveawayWinnersOption
}
Constructs StarsGiveawayOption
type TL_starsGiveawayWinnersOption ¶ added in v0.187.0
Constructs StarsGiveawayWinnersOption
type TL_starsRating ¶ added in v0.218.0
type TL_starsRating struct {
Level int32
CurrentLevelStars int64
Stars int64
NextLevelStars *int64 // (optional)
}
Constructs StarsRating
type TL_starsRevenueStatus ¶ added in v0.183.0
type TL_starsRevenueStatus struct {
WithdrawalEnabled bool
CurrentBalance TL // StarsAmount: TL_starsAmount | TL_starsTonAmount
AvailableBalance TL // StarsAmount: TL_starsAmount | TL_starsTonAmount
OverallRevenue TL // StarsAmount: TL_starsAmount | TL_starsTonAmount
NextWithdrawalAt *int32 // (optional)
}
Constructs StarsRevenueStatus
type TL_starsSubscription ¶ added in v0.186.0
type TL_starsSubscription struct {
Canceled bool
CanRefulfill bool
MissingBalance bool
BotCanceled bool
ID string
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
UntilDate int32
Pricing TL_starsSubscriptionPricing
ChatInviteHash *string // (optional)
Title *string // (optional)
Photo TL // (optional) WebDocument: TL_webDocument | TL_webDocumentNoProxy
InvoiceSlug *string // (optional)
}
Constructs StarsSubscription
type TL_starsSubscriptionPricing ¶ added in v0.186.0
Constructs StarsSubscriptionPricing
type TL_starsTonAmount ¶ added in v0.218.0
type TL_starsTonAmount struct {
Amount int64
}
Constructs StarsAmount
type TL_starsTopupOption ¶ added in v0.181.0
type TL_starsTopupOption struct {
Extended bool
Stars int64
StoreProduct *string // (optional)
Currency string
Amount int64
}
Constructs StarsTopupOption
type TL_starsTransaction ¶ added in v0.181.0
type TL_starsTransaction struct {
Refund bool
Pending bool
Failed bool
Gift bool
Reaction bool
StargiftUpgrade bool
BusinessTransfer bool
StargiftResale bool
PostsSearch bool
StargiftPrepaidUpgrade bool
StargiftDropOriginalDetails bool
PhonegroupMessage bool
StargiftAuctionBid bool
Offer bool
ID string
Amount TL // StarsAmount: TL_starsAmount | TL_starsTonAmount
Date int32
Peer TL // StarsTransactionPeer: TL_starsTransactionPeerUnsupported | TL_starsTransactionPeerAppStore | TL_starsTransactionPeerPlayMarket | TL_starsTransactionPeerPremiumBot | TL_starsTransactionPeerFragment | TL_starsTransactionPeer | TL_starsTransactionPeerAds | TL_starsTransactionPeerAPI
Title *string // (optional)
Description *string // (optional)
Photo TL // (optional) WebDocument: TL_webDocument | TL_webDocumentNoProxy
TransactionDate *int32 // (optional)
TransactionURL *string // (optional)
BotPayload []byte // (optional)
MsgID *int32 // (optional)
ExtendedMedia []TL // (optional) MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia | TL_messageMediaToDo | TL_messageMediaVideoStream
SubscriptionPeriod *int32 // (optional)
GiveawayPostID *int32 // (optional)
Stargift TL // (optional) StarGift: TL_starGift | TL_starGiftUnique
FloodskipNumber *int32 // (optional)
StarrefCommissionPermille *int32 // (optional)
StarrefPeer TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
StarrefAmount TL // (optional) StarsAmount: TL_starsAmount | TL_starsTonAmount
PaidMessages *int32 // (optional)
PremiumGiftMonths *int32 // (optional)
AdsProceedsFromDate *int32 // (optional)
AdsProceedsToDate *int32 // (optional)
}
Constructs StarsTransaction
type TL_starsTransactionPeer ¶ added in v0.181.0
type TL_starsTransactionPeer struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}
Constructs StarsTransactionPeer
type TL_starsTransactionPeerAPI ¶ added in v0.192.0
type TL_starsTransactionPeerAPI struct {
}
Constructs StarsTransactionPeer
type TL_starsTransactionPeerAds ¶ added in v0.183.0
type TL_starsTransactionPeerAds struct {
}
Constructs StarsTransactionPeer
type TL_starsTransactionPeerAppStore ¶ added in v0.181.0
type TL_starsTransactionPeerAppStore struct {
}
Constructs StarsTransactionPeer
type TL_starsTransactionPeerFragment ¶ added in v0.181.0
type TL_starsTransactionPeerFragment struct {
}
Constructs StarsTransactionPeer
type TL_starsTransactionPeerPlayMarket ¶ added in v0.181.0
type TL_starsTransactionPeerPlayMarket struct {
}
Constructs StarsTransactionPeer
type TL_starsTransactionPeerPremiumBot ¶ added in v0.181.0
type TL_starsTransactionPeerPremiumBot struct {
}
Constructs StarsTransactionPeer
type TL_starsTransactionPeerUnsupported ¶ added in v0.181.0
type TL_starsTransactionPeerUnsupported struct {
}
Constructs StarsTransactionPeer
type TL_statsAbsValueAndPrev ¶
Constructs StatsAbsValueAndPrev
type TL_statsDateRangeDays ¶
Constructs StatsDateRangeDays
type TL_statsGraph ¶
type TL_statsGraph struct {
JSON TL_dataJSON
ZoomToken *string // (optional)
}
Constructs StatsGraph
type TL_statsGroupTopAdmin ¶
Constructs StatsGroupTopAdmin
type TL_statsGroupTopInviter ¶
Constructs StatsGroupTopInviter
type TL_statsGroupTopPoster ¶
Constructs StatsGroupTopPoster
type TL_statsPercentValue ¶
Constructs StatsPercentValue
type TL_stats_broadcastStats ¶
type TL_stats_broadcastStats struct {
Period TL_statsDateRangeDays
Followers TL_statsAbsValueAndPrev
ViewsPerPost TL_statsAbsValueAndPrev
ReactionsPerPost TL_statsAbsValueAndPrev
ViewsPerStory TL_statsAbsValueAndPrev
ReactionsPerStory TL_statsAbsValueAndPrev
EnabledNotifications TL_statsPercentValue
GrowthGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
FollowersGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
MuteGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
TopHoursGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
InteractionsGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
IVInteractionsGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
ViewsBySourceGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
NewFollowersBySourceGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
LanguagesGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
ReactionsByEmotionGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
StoryInteractionsGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
StoryReactionsByEmotionGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
RecentPostsInteractions []TL // PostInteractionCounters: TL_postInteractionCountersMessage | TL_postInteractionCountersStory
}
Constructs stats.BroadcastStats
type TL_stats_getBroadcastStats ¶
type TL_stats_getBroadcastStats struct {
Dark bool
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}
Returns stats.BroadcastStats: TL_stats_broadcastStats
type TL_stats_getMegagroupStats ¶
type TL_stats_getMegagroupStats struct {
Dark bool
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}
Returns stats.MegagroupStats: TL_stats_megagroupStats
type TL_stats_getMessagePublicForwards ¶
type TL_stats_getMessagePublicForwards struct {
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
MsgID int32
Offset string
Limit int32
}
Returns stats.PublicForwards: TL_stats_publicForwards
type TL_stats_getMessageStats ¶
type TL_stats_getMessageStats struct {
Dark bool
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
MsgID int32
}
Returns stats.MessageStats: TL_stats_messageStats
type TL_stats_getStoryPublicForwards ¶ added in v0.167.0
type TL_stats_getStoryPublicForwards struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID int32
Offset string
Limit int32
}
Returns stats.PublicForwards: TL_stats_publicForwards
type TL_stats_getStoryStats ¶ added in v0.167.0
type TL_stats_getStoryStats struct {
Dark bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID int32
}
Returns stats.StoryStats: TL_stats_storyStats
type TL_stats_loadAsyncGraph ¶
Returns StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
type TL_stats_megagroupStats ¶
type TL_stats_megagroupStats struct {
Period TL_statsDateRangeDays
Members TL_statsAbsValueAndPrev
Messages TL_statsAbsValueAndPrev
Viewers TL_statsAbsValueAndPrev
Posters TL_statsAbsValueAndPrev
GrowthGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
MembersGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
NewMembersBySourceGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
LanguagesGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
MessagesGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
ActionsGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
TopHoursGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
WeekdaysGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
TopPosters []TL_statsGroupTopPoster
TopAdmins []TL_statsGroupTopAdmin
TopInviters []TL_statsGroupTopInviter
Users []TL // User: TL_userEmpty | TL_user
}
Constructs stats.MegagroupStats
type TL_stats_messageStats ¶
type TL_stats_messageStats struct {
ViewsGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
ReactionsByEmotionGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
}
Constructs stats.MessageStats
type TL_stats_publicForwards ¶ added in v0.167.0
type TL_stats_publicForwards struct {
Count int32
Forwards []TL // PublicForward: TL_publicForwardMessage | TL_publicForwardStory
NextOffset *string // (optional)
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs stats.PublicForwards
type TL_stats_storyStats ¶ added in v0.167.0
type TL_stats_storyStats struct {
ViewsGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
ReactionsByEmotionGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
}
Constructs stats.StoryStats
type TL_stickerKeyword ¶
Constructs StickerKeyword
type TL_stickerPack ¶
Constructs StickerPack
type TL_stickerSet ¶
type TL_stickerSet struct {
Archived bool
Official bool
Masks bool
Emojis bool
TextColor bool
ChannelEmojiStatus bool
Creator bool
InstalledDate *int32 // (optional)
ID int64
AccessHash int64
Title string
ShortName string
Thumbs []TL // (optional) PhotoSize: TL_photoSizeEmpty | TL_photoSize | TL_photoCachedSize | TL_photoStrippedSize | TL_photoSizeProgressive | TL_photoPathSize
ThumbDCID *int32 // (optional)
ThumbVersion *int32 // (optional)
ThumbDocumentID *int64 // (optional)
Count int32
Hash int32
}
Constructs StickerSet
type TL_stickerSetCovered ¶
type TL_stickerSetCovered struct {
Set TL_stickerSet
Cover TL // Document: TL_documentEmpty | TL_document
}
Constructs StickerSetCovered
type TL_stickerSetFullCovered ¶
type TL_stickerSetFullCovered struct {
Set TL_stickerSet
Packs []TL_stickerPack
Keywords []TL_stickerKeyword
Documents []TL // Document: TL_documentEmpty | TL_document
}
Constructs StickerSetCovered
type TL_stickerSetMultiCovered ¶
type TL_stickerSetMultiCovered struct {
Set TL_stickerSet
Covers []TL // Document: TL_documentEmpty | TL_document
}
Constructs StickerSetCovered
type TL_stickerSetNoCovered ¶
type TL_stickerSetNoCovered struct {
Set TL_stickerSet
}
Constructs StickerSetCovered
type TL_stickers_addStickerToSet ¶
type TL_stickers_addStickerToSet struct {
Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses | TL_inputStickerSetTonGifts
Sticker TL_inputStickerSetItem
}
Returns messages.StickerSet: TL_messages_stickerSet | TL_messages_stickerSetNotModified
type TL_stickers_changeSticker ¶
type TL_stickers_changeSticker struct {
Sticker TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
Emoji *string // (optional)
MaskCoords *TL_maskCoords // (optional)
Keywords *string // (optional)
}
Returns messages.StickerSet: TL_messages_stickerSet | TL_messages_stickerSetNotModified
type TL_stickers_changeStickerPosition ¶
type TL_stickers_changeStickerPosition struct {
Sticker TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
Position int32
}
Returns messages.StickerSet: TL_messages_stickerSet | TL_messages_stickerSetNotModified
type TL_stickers_checkShortName ¶
type TL_stickers_checkShortName struct {
ShortName string
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_stickers_createStickerSet ¶
type TL_stickers_createStickerSet struct {
Masks bool
Emojis bool
TextColor bool
UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Title string
ShortName string
Thumb TL // (optional) InputDocument: TL_inputDocumentEmpty | TL_inputDocument
Stickers []TL_inputStickerSetItem
Software *string // (optional)
}
Returns messages.StickerSet: TL_messages_stickerSet | TL_messages_stickerSetNotModified
type TL_stickers_deleteStickerSet ¶
type TL_stickers_deleteStickerSet struct {
Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses | TL_inputStickerSetTonGifts
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_stickers_removeStickerFromSet ¶
type TL_stickers_removeStickerFromSet struct {
Sticker TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
}
Returns messages.StickerSet: TL_messages_stickerSet | TL_messages_stickerSetNotModified
type TL_stickers_renameStickerSet ¶
type TL_stickers_renameStickerSet struct {
Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses | TL_inputStickerSetTonGifts
Title string
}
Returns messages.StickerSet: TL_messages_stickerSet | TL_messages_stickerSetNotModified
type TL_stickers_replaceSticker ¶ added in v0.181.0
type TL_stickers_replaceSticker struct {
Sticker TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
NewSticker TL_inputStickerSetItem
}
Returns messages.StickerSet: TL_messages_stickerSet | TL_messages_stickerSetNotModified
type TL_stickers_setStickerSetThumb ¶
type TL_stickers_setStickerSetThumb struct {
Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses | TL_inputStickerSetTonGifts
Thumb TL // (optional) InputDocument: TL_inputDocumentEmpty | TL_inputDocument
ThumbDocumentID *int64 // (optional)
}
Returns messages.StickerSet: TL_messages_stickerSet | TL_messages_stickerSetNotModified
type TL_stickers_suggestShortName ¶
type TL_stickers_suggestShortName struct {
Title string
}
Returns stickers.SuggestedShortName: TL_stickers_suggestedShortName
type TL_stickers_suggestedShortName ¶
type TL_stickers_suggestedShortName struct {
ShortName string
}
Constructs stickers.SuggestedShortName
type TL_storage_fileGIF ¶ added in v0.166.2
type TL_storage_fileGIF struct {
}
Constructs storage.FileType
type TL_storage_fileJPEG ¶ added in v0.166.2
type TL_storage_fileJPEG struct {
}
Constructs storage.FileType
type TL_storage_fileMOV ¶ added in v0.166.2
type TL_storage_fileMOV struct {
}
Constructs storage.FileType
type TL_storage_fileMP3 ¶ added in v0.166.2
type TL_storage_fileMP3 struct {
}
Constructs storage.FileType
type TL_storage_fileMP4 ¶ added in v0.166.2
type TL_storage_fileMP4 struct {
}
Constructs storage.FileType
type TL_storage_filePDF ¶ added in v0.166.2
type TL_storage_filePDF struct {
}
Constructs storage.FileType
type TL_storage_filePNG ¶ added in v0.166.2
type TL_storage_filePNG struct {
}
Constructs storage.FileType
type TL_storage_fileWEBP ¶ added in v0.166.2
type TL_storage_fileWEBP struct {
}
Constructs storage.FileType
type TL_storiesStealthMode ¶ added in v0.166.0
type TL_storiesStealthMode struct {
ActiveUntilDate *int32 // (optional)
CooldownUntilDate *int32 // (optional)
}
Constructs StoriesStealthMode
type TL_stories_activateStealthMode ¶ added in v0.166.0
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_stories_albums ¶ added in v0.218.0
type TL_stories_albums struct {
Hash int64
Albums []TL_storyAlbum
}
Constructs stories.Albums
type TL_stories_albumsNotModified ¶ added in v0.218.0
type TL_stories_albumsNotModified struct {
}
Constructs stories.Albums
type TL_stories_allStories ¶ added in v0.166.0
type TL_stories_allStories struct {
HasMore bool
Count int32
State string
PeerStories []TL_peerStories
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
StealthMode TL_storiesStealthMode
}
Constructs stories.AllStories
type TL_stories_allStoriesNotModified ¶ added in v0.166.0
type TL_stories_allStoriesNotModified struct {
State string
StealthMode TL_storiesStealthMode
}
Constructs stories.AllStories
type TL_stories_canSendStory ¶ added in v0.166.0
type TL_stories_canSendStory struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns stories.CanSendStoryCount: TL_stories_canSendStoryCount
type TL_stories_canSendStoryCount ¶ added in v0.218.0
type TL_stories_canSendStoryCount struct {
CountRemains int32
}
Constructs stories.CanSendStoryCount
type TL_stories_createAlbum ¶ added in v0.218.0
type TL_stories_createAlbum struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Title string
Stories []int32
}
Returns StoryAlbum: TL_storyAlbum
type TL_stories_deleteAlbum ¶ added in v0.218.0
type TL_stories_deleteAlbum struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
AlbumID int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_stories_deleteStories ¶ added in v0.166.0
type TL_stories_deleteStories struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID []int32
}
Returns Vector<int>:
type TL_stories_editStory ¶ added in v0.166.0
type TL_stories_editStory struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID int32
Media TL // (optional) InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia | TL_inputMediaTodo
MediaAreas []TL // (optional) MediaArea: TL_mediaAreaVenue | TL_inputMediaAreaVenue | TL_mediaAreaGeoPoint | TL_mediaAreaSuggestedReaction | TL_mediaAreaChannelPost | TL_inputMediaAreaChannelPost | TL_mediaAreaURL | TL_mediaAreaWeather | TL_mediaAreaStarGift
Caption *string // (optional)
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
PrivacyRules []TL // (optional) InputPrivacyRule: TL_inputPrivacyValueAllowContacts | TL_inputPrivacyValueAllowAll | TL_inputPrivacyValueAllowUsers | TL_inputPrivacyValueDisallowContacts | TL_inputPrivacyValueDisallowAll | TL_inputPrivacyValueDisallowUsers | TL_inputPrivacyValueAllowChatParticipants | TL_inputPrivacyValueDisallowChatParticipants | TL_inputPrivacyValueAllowCloseFriends | TL_inputPrivacyValueAllowPremium | TL_inputPrivacyValueAllowBots | TL_inputPrivacyValueDisallowBots
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_stories_exportStoryLink ¶ added in v0.166.0
type TL_stories_exportStoryLink struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID int32
}
Returns ExportedStoryLink: TL_exportedStoryLink
type TL_stories_foundStories ¶ added in v0.183.0
type TL_stories_foundStories struct {
Count int32
Stories []TL_foundStory
NextOffset *string // (optional)
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs stories.FoundStories
type TL_stories_getAlbumStories ¶ added in v0.218.0
type TL_stories_getAlbumStories struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
AlbumID int32
Offset int32
Limit int32
}
Returns stories.Stories: TL_stories_stories
type TL_stories_getAlbums ¶ added in v0.218.0
type TL_stories_getAlbums struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Hash int64
}
Returns stories.Albums: TL_stories_albumsNotModified | TL_stories_albums
type TL_stories_getAllReadPeerStories ¶ added in v0.166.0
type TL_stories_getAllReadPeerStories struct {
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_stories_getAllStories ¶ added in v0.166.0
Returns stories.AllStories: TL_stories_allStoriesNotModified | TL_stories_allStories
type TL_stories_getChatsToSend ¶ added in v0.166.0
type TL_stories_getChatsToSend struct {
}
Returns messages.Chats: TL_messages_chats | TL_messages_chatsSlice
type TL_stories_getPeerMaxIDs ¶ added in v0.166.0
type TL_stories_getPeerMaxIDs struct {
ID []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns Vector<RecentStory>: TL_recentStory
type TL_stories_getPeerStories ¶ added in v0.166.0
type TL_stories_getPeerStories struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}
Returns stories.PeerStories: TL_stories_peerStories
type TL_stories_getPinnedStories ¶ added in v0.166.0
type TL_stories_getPinnedStories struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
OffsetID int32
Limit int32
}
Returns stories.Stories: TL_stories_stories
type TL_stories_getStoriesArchive ¶ added in v0.166.0
type TL_stories_getStoriesArchive struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
OffsetID int32
Limit int32
}
Returns stories.Stories: TL_stories_stories
type TL_stories_getStoriesByID ¶ added in v0.166.0
type TL_stories_getStoriesByID struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID []int32
}
Returns stories.Stories: TL_stories_stories
type TL_stories_getStoriesViews ¶ added in v0.166.0
type TL_stories_getStoriesViews struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID []int32
}
Returns stories.StoryViews: TL_stories_storyViews
type TL_stories_getStoryReactionsList ¶ added in v0.181.0
type TL_stories_getStoryReactionsList struct {
ForwardsFirst bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID int32
Reaction TL // (optional) Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
Offset *string // (optional)
Limit int32
}
Returns stories.StoryReactionsList: TL_stories_storyReactionsList
type TL_stories_getStoryViewsList ¶ added in v0.166.0
type TL_stories_getStoryViewsList struct {
JustContacts bool
ReactionsFirst bool
ForwardsFirst bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Q *string // (optional)
ID int32
Offset string
Limit int32
}
Returns stories.StoryViewsList: TL_stories_storyViewsList
type TL_stories_incrementStoryViews ¶ added in v0.166.0
type TL_stories_incrementStoryViews struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID []int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_stories_peerStories ¶ added in v0.166.0
type TL_stories_peerStories struct {
Stories TL_peerStories
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs stories.PeerStories
type TL_stories_readStories ¶ added in v0.166.0
type TL_stories_readStories struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
MaxID int32
}
Returns Vector<int>:
type TL_stories_reorderAlbums ¶ added in v0.218.0
type TL_stories_reorderAlbums struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Order []int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_stories_report ¶ added in v0.166.0
type TL_stories_report struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID []int32
Option []byte
Message string
}
Returns ReportResult: TL_reportResultChooseOption | TL_reportResultAddComment | TL_reportResultReported
type TL_stories_searchPosts ¶ added in v0.183.0
type TL_stories_searchPosts struct {
Hashtag *string // (optional)
Area TL // (optional) MediaArea: TL_mediaAreaVenue | TL_inputMediaAreaVenue | TL_mediaAreaGeoPoint | TL_mediaAreaSuggestedReaction | TL_mediaAreaChannelPost | TL_inputMediaAreaChannelPost | TL_mediaAreaURL | TL_mediaAreaWeather | TL_mediaAreaStarGift
Peer TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Offset string
Limit int32
}
Returns stories.FoundStories: TL_stories_foundStories
type TL_stories_sendReaction ¶ added in v0.166.0
type TL_stories_sendReaction struct {
AddToRecent bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
StoryID int32
Reaction TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_stories_sendStory ¶ added in v0.166.0
type TL_stories_sendStory struct {
Pinned bool
Noforwards bool
FwdModified bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Media TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia | TL_inputMediaTodo
MediaAreas []TL // (optional) MediaArea: TL_mediaAreaVenue | TL_inputMediaAreaVenue | TL_mediaAreaGeoPoint | TL_mediaAreaSuggestedReaction | TL_mediaAreaChannelPost | TL_inputMediaAreaChannelPost | TL_mediaAreaURL | TL_mediaAreaWeather | TL_mediaAreaStarGift
Caption *string // (optional)
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
PrivacyRules []TL // InputPrivacyRule: TL_inputPrivacyValueAllowContacts | TL_inputPrivacyValueAllowAll | TL_inputPrivacyValueAllowUsers | TL_inputPrivacyValueDisallowContacts | TL_inputPrivacyValueDisallowAll | TL_inputPrivacyValueDisallowUsers | TL_inputPrivacyValueAllowChatParticipants | TL_inputPrivacyValueDisallowChatParticipants | TL_inputPrivacyValueAllowCloseFriends | TL_inputPrivacyValueAllowPremium | TL_inputPrivacyValueAllowBots | TL_inputPrivacyValueDisallowBots
RandomID int64
Period *int32 // (optional)
FwdFromID TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
FwdFromStory *int32 // (optional)
Albums []int32 // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_stories_startLive ¶ added in v0.218.0
type TL_stories_startLive struct {
Pinned bool
Noforwards bool
RTMPStream bool
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Caption *string // (optional)
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
PrivacyRules []TL // InputPrivacyRule: TL_inputPrivacyValueAllowContacts | TL_inputPrivacyValueAllowAll | TL_inputPrivacyValueAllowUsers | TL_inputPrivacyValueDisallowContacts | TL_inputPrivacyValueDisallowAll | TL_inputPrivacyValueDisallowUsers | TL_inputPrivacyValueAllowChatParticipants | TL_inputPrivacyValueDisallowChatParticipants | TL_inputPrivacyValueAllowCloseFriends | TL_inputPrivacyValueAllowPremium | TL_inputPrivacyValueAllowBots | TL_inputPrivacyValueDisallowBots
RandomID int64
MessagesEnabled *bool // (optional)
SendPaidMessagesStars *int64 // (optional)
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_stories_stories ¶ added in v0.166.0
type TL_stories_stories struct {
Count int32
Stories []TL // StoryItem: TL_storyItemDeleted | TL_storyItemSkipped | TL_storyItem
PinnedToTop []int32 // (optional)
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs stories.Stories
type TL_stories_storyReactionsList ¶ added in v0.181.0
type TL_stories_storyReactionsList struct {
Count int32
Reactions []TL // StoryReaction: TL_storyReaction | TL_storyReactionPublicForward | TL_storyReactionPublicRepost
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
NextOffset *string // (optional)
}
Constructs stories.StoryReactionsList
type TL_stories_storyViews ¶ added in v0.166.0
type TL_stories_storyViews struct {
Views []TL_storyViews
Users []TL // User: TL_userEmpty | TL_user
}
Constructs stories.StoryViews
type TL_stories_storyViewsList ¶ added in v0.166.0
type TL_stories_storyViewsList struct {
Count int32
ViewsCount int32
ForwardsCount int32
ReactionsCount int32
Views []TL // StoryView: TL_storyView | TL_storyViewPublicForward | TL_storyViewPublicRepost
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
NextOffset *string // (optional)
}
Constructs stories.StoryViewsList
type TL_stories_toggleAllStoriesHidden ¶ added in v0.166.0
type TL_stories_toggleAllStoriesHidden struct {
Hidden bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_stories_togglePeerStoriesHidden ¶ added in v0.166.0
type TL_stories_togglePeerStoriesHidden struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
Hidden bool
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_stories_togglePinned ¶ added in v0.166.0
type TL_stories_togglePinned struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID []int32
Pinned bool
}
Returns Vector<int>:
type TL_stories_togglePinnedToTop ¶ added in v0.181.0
type TL_stories_togglePinnedToTop struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
ID []int32
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_stories_updateAlbum ¶ added in v0.218.0
type TL_stories_updateAlbum struct {
Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
AlbumID int32
Title *string // (optional)
DeleteStories []int32 // (optional)
AddStories []int32 // (optional)
Order []int32 // (optional)
}
Returns StoryAlbum: TL_storyAlbum
type TL_storyAlbum ¶ added in v0.218.0
type TL_storyAlbum struct {
AlbumID int32
Title string
IconPhoto TL // (optional) Photo: TL_photoEmpty | TL_photo
IconVideo TL // (optional) Document: TL_documentEmpty | TL_document
}
Constructs StoryAlbum
type TL_storyFwdHeader ¶ added in v0.167.0
type TL_storyFwdHeader struct {
Modified bool
From TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
FromName *string // (optional)
StoryID *int32 // (optional)
}
Constructs StoryFwdHeader
type TL_storyItem ¶ added in v0.166.0
type TL_storyItem struct {
Pinned bool
Public bool
CloseFriends bool
Min bool
Noforwards bool
Edited bool
Contacts bool
SelectedContacts bool
Out bool
ID int32
Date int32
FromID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
FwdFrom *TL_storyFwdHeader // (optional)
ExpireDate int32
Caption *string // (optional)
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
Media TL // MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia | TL_messageMediaToDo | TL_messageMediaVideoStream
MediaAreas []TL // (optional) MediaArea: TL_mediaAreaVenue | TL_inputMediaAreaVenue | TL_mediaAreaGeoPoint | TL_mediaAreaSuggestedReaction | TL_mediaAreaChannelPost | TL_inputMediaAreaChannelPost | TL_mediaAreaURL | TL_mediaAreaWeather | TL_mediaAreaStarGift
Privacy []TL // (optional) PrivacyRule: TL_privacyValueAllowContacts | TL_privacyValueAllowAll | TL_privacyValueAllowUsers | TL_privacyValueDisallowContacts | TL_privacyValueDisallowAll | TL_privacyValueDisallowUsers | TL_privacyValueAllowChatParticipants | TL_privacyValueDisallowChatParticipants | TL_privacyValueAllowCloseFriends | TL_privacyValueAllowPremium | TL_privacyValueAllowBots | TL_privacyValueDisallowBots
Views *TL_storyViews // (optional)
SentReaction TL // (optional) Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
Albums []int32 // (optional)
}
Constructs StoryItem
type TL_storyItemDeleted ¶ added in v0.166.0
type TL_storyItemDeleted struct {
ID int32
}
Constructs StoryItem
type TL_storyItemSkipped ¶ added in v0.166.0
type TL_storyItemSkipped struct {
CloseFriends bool
Live bool
ID int32
Date int32
ExpireDate int32
}
Constructs StoryItem
type TL_storyReaction ¶ added in v0.181.0
type TL_storyReaction struct {
PeerID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Date int32
Reaction TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}
Constructs StoryReaction
type TL_storyReactionPublicForward ¶ added in v0.181.0
type TL_storyReactionPublicForward struct {
Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
}
Constructs StoryReaction
type TL_storyReactionPublicRepost ¶ added in v0.181.0
type TL_storyReactionPublicRepost struct {
PeerID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Story TL // StoryItem: TL_storyItemDeleted | TL_storyItemSkipped | TL_storyItem
}
Constructs StoryReaction
type TL_storyView ¶ added in v0.166.0
type TL_storyView struct {
Blocked bool
BlockedMyStoriesFrom bool
UserID int64
Date int32
Reaction TL // (optional) Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}
Constructs StoryView
type TL_storyViewPublicForward ¶ added in v0.181.0
type TL_storyViewPublicForward struct {
Blocked bool
BlockedMyStoriesFrom bool
Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
}
Constructs StoryView
type TL_storyViewPublicRepost ¶ added in v0.181.0
type TL_storyViewPublicRepost struct {
Blocked bool
BlockedMyStoriesFrom bool
PeerID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Story TL // StoryItem: TL_storyItemDeleted | TL_storyItemSkipped | TL_storyItem
}
Constructs StoryView
type TL_storyViews ¶ added in v0.166.0
type TL_storyViews struct {
HasViewers bool
ViewsCount int32
ForwardsCount *int32 // (optional)
Reactions []TL_reactionCount // (optional)
ReactionsCount *int32 // (optional)
RecentViewers []int64 // (optional)
}
Constructs StoryViews
type TL_suggestedPost ¶ added in v0.218.0
type TL_suggestedPost struct {
Accepted bool
Rejected bool
Price TL // (optional) StarsAmount: TL_starsAmount | TL_starsTonAmount
ScheduleDate *int32 // (optional)
}
Constructs SuggestedPost
type TL_textAnchor ¶
type TL_textAnchor struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
Name string
}
Constructs RichText
type TL_textBold ¶
type TL_textBold struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs RichText
type TL_textConcat ¶
type TL_textConcat struct {
Texts []TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs RichText
type TL_textEmail ¶
type TL_textEmail struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
Email string
}
Constructs RichText
type TL_textFixed ¶
type TL_textFixed struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs RichText
type TL_textImage ¶
Constructs RichText
type TL_textItalic ¶
type TL_textItalic struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs RichText
type TL_textMarked ¶
type TL_textMarked struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs RichText
type TL_textPhone ¶
type TL_textPhone struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
Phone string
}
Constructs RichText
type TL_textStrike ¶
type TL_textStrike struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs RichText
type TL_textSubscript ¶
type TL_textSubscript struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs RichText
type TL_textSuperscript ¶
type TL_textSuperscript struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs RichText
type TL_textURL ¶ added in v0.166.2
type TL_textURL struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
URL string
WebpageID int64
}
Constructs RichText
type TL_textUnderline ¶
type TL_textUnderline struct {
Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}
Constructs RichText
type TL_textWithEntities ¶
type TL_textWithEntities struct {
Text string
Entities []TL // MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
}
Constructs TextWithEntities
type TL_theme ¶
type TL_theme struct {
Creator bool
Default bool
ForChat bool
ID int64
AccessHash int64
Slug string
Title string
Document TL // (optional) Document: TL_documentEmpty | TL_document
Settings []TL_themeSettings // (optional)
Emoticon *string // (optional)
InstallsCount *int32 // (optional)
}
Constructs Theme
type TL_themeSettings ¶
type TL_themeSettings struct {
MessageColorsAnimated bool
BaseTheme TL // BaseTheme: TL_baseThemeClassic | TL_baseThemeDay | TL_baseThemeNight | TL_baseThemeTinted | TL_baseThemeArctic
AccentColor int32
OutboxAccentColor *int32 // (optional)
MessageColors []int32 // (optional)
Wallpaper TL // (optional) WallPaper: TL_wallPaper | TL_wallPaperNoFile
}
Constructs ThemeSettings
type TL_timezone ¶ added in v0.181.0
Constructs Timezone
type TL_tlsBlockPermutation ¶
type TL_tlsBlockPermutation struct {
Entries [][]TL // TlsBlock: TL_tlsBlockString | TL_tlsBlockRandom | TL_tlsBlockZero | TL_tlsBlockDomain | TL_tlsBlockGrease | TL_tlsBlockPublicKey | TL_tlsBlockScope | TL_tlsBlockPermutation | TL_tlsBlockM | TL_tlsBlockE | TL_tlsBlockPadding
}
Constructs TlsBlock
type TL_tlsBlockScope ¶
type TL_tlsBlockScope struct {
Entries []TL // TlsBlock: TL_tlsBlockString | TL_tlsBlockRandom | TL_tlsBlockZero | TL_tlsBlockDomain | TL_tlsBlockGrease | TL_tlsBlockPublicKey | TL_tlsBlockScope | TL_tlsBlockPermutation | TL_tlsBlockM | TL_tlsBlockE | TL_tlsBlockPadding
}
Constructs TlsBlock
type TL_tlsClientHello ¶
type TL_tlsClientHello struct {
Blocks []TL // TlsBlock: TL_tlsBlockString | TL_tlsBlockRandom | TL_tlsBlockZero | TL_tlsBlockDomain | TL_tlsBlockGrease | TL_tlsBlockPublicKey | TL_tlsBlockScope | TL_tlsBlockPermutation | TL_tlsBlockM | TL_tlsBlockE | TL_tlsBlockPadding
}
Constructs TlsClientHello
type TL_todoCompletion ¶ added in v0.218.0
type TL_todoCompletion struct {
ID int32
CompletedBy TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Date int32
}
Constructs TodoCompletion
type TL_todoItem ¶ added in v0.218.0
type TL_todoItem struct {
ID int32
Title TL_textWithEntities
}
Constructs TodoItem
type TL_todoList ¶ added in v0.218.0
type TL_todoList struct {
OthersCanAppend bool
OthersCanComplete bool
Title TL_textWithEntities
List []TL_todoItem
}
Constructs TodoList
type TL_topPeer ¶
type TL_topPeer struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Rating float64
}
Constructs TopPeer
type TL_topPeerCategoryBotsApp ¶ added in v0.185.0
type TL_topPeerCategoryBotsApp struct {
}
Constructs TopPeerCategory
type TL_topPeerCategoryBotsInline ¶
type TL_topPeerCategoryBotsInline struct {
}
Constructs TopPeerCategory
type TL_topPeerCategoryChannels ¶
type TL_topPeerCategoryChannels struct {
}
Constructs TopPeerCategory
type TL_topPeerCategoryCorrespondents ¶
type TL_topPeerCategoryCorrespondents struct {
}
Constructs TopPeerCategory
type TL_topPeerCategoryForwardChats ¶
type TL_topPeerCategoryForwardChats struct {
}
Constructs TopPeerCategory
type TL_topPeerCategoryForwardUsers ¶
type TL_topPeerCategoryForwardUsers struct {
}
Constructs TopPeerCategory
type TL_topPeerCategoryPeers ¶
type TL_topPeerCategoryPeers struct {
Category TL // TopPeerCategory: TL_topPeerCategoryBotsPM | TL_topPeerCategoryBotsInline | TL_topPeerCategoryCorrespondents | TL_topPeerCategoryGroups | TL_topPeerCategoryChannels | TL_topPeerCategoryPhoneCalls | TL_topPeerCategoryForwardUsers | TL_topPeerCategoryForwardChats | TL_topPeerCategoryBotsApp
Count int32
Peers []TL_topPeer
}
Constructs TopPeerCategoryPeers
type TL_topPeerCategoryPhoneCalls ¶
type TL_topPeerCategoryPhoneCalls struct {
}
Constructs TopPeerCategory
type TL_updateBotBusinessConnect ¶ added in v0.181.0
type TL_updateBotBusinessConnect struct {
Connection TL_botBusinessConnection
QTS int32
}
Constructs Update
type TL_updateBotCallbackQuery ¶
type TL_updateBotCallbackQuery struct {
QueryID int64
UserID int64
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
MsgID int32
ChatInstance int64
Data []byte // (optional)
GameShortName *string // (optional)
}
Constructs Update
type TL_updateBotChatBoost ¶ added in v0.167.0
type TL_updateBotChatBoost struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Boost TL_boost
QTS int32
}
Constructs Update
type TL_updateBotChatInviteRequester ¶
type TL_updateBotChatInviteRequester struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Date int32
UserID int64
About string
Invite TL // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
QTS int32
}
Constructs Update
type TL_updateBotCommands ¶
type TL_updateBotCommands struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
BotID int64
Commands []TL_botCommand
}
Constructs Update
type TL_updateBotDeleteBusinessMessage ¶ added in v0.181.0
type TL_updateBotDeleteBusinessMessage struct {
ConnectionID string
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Messages []int32
QTS int32
}
Constructs Update
type TL_updateBotEditBusinessMessage ¶ added in v0.181.0
type TL_updateBotEditBusinessMessage struct {
ConnectionID string
Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
ReplyToMessage TL // (optional) Message: TL_messageEmpty | TL_message | TL_messageService
QTS int32
}
Constructs Update
type TL_updateBotInlineQuery ¶
type TL_updateBotInlineQuery struct {
QueryID int64
UserID int64
Query string
Geo TL // (optional) GeoPoint: TL_geoPointEmpty | TL_geoPoint
PeerType TL // (optional) InlineQueryPeerType: TL_inlineQueryPeerTypeSameBotPM | TL_inlineQueryPeerTypePM | TL_inlineQueryPeerTypeChat | TL_inlineQueryPeerTypeMegagroup | TL_inlineQueryPeerTypeBroadcast | TL_inlineQueryPeerTypeBotPM
Offset string
}
Constructs Update
type TL_updateBotInlineSend ¶
type TL_updateBotInlineSend struct {
UserID int64
Query string
Geo TL // (optional) GeoPoint: TL_geoPointEmpty | TL_geoPoint
ID string
MsgID TL // (optional) InputBotInlineMessageID: TL_inputBotInlineMessageID | TL_inputBotInlineMessageID64
}
Constructs Update
type TL_updateBotMenuButton ¶
type TL_updateBotMenuButton struct {
BotID int64
Button TL // BotMenuButton: TL_botMenuButtonDefault | TL_botMenuButtonCommands | TL_botMenuButton
}
Constructs Update
type TL_updateBotMessageReaction ¶ added in v0.181.0
type TL_updateBotMessageReaction struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
MsgID int32
Date int32
Actor TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
OldReactions []TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
NewReactions []TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
QTS int32
}
Constructs Update
type TL_updateBotMessageReactions ¶ added in v0.181.0
type TL_updateBotMessageReactions struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
MsgID int32
Date int32
Reactions []TL_reactionCount
QTS int32
}
Constructs Update
type TL_updateBotNewBusinessMessage ¶ added in v0.181.0
type TL_updateBotNewBusinessMessage struct {
ConnectionID string
Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
ReplyToMessage TL // (optional) Message: TL_messageEmpty | TL_message | TL_messageService
QTS int32
}
Constructs Update
type TL_updateBotPrecheckoutQuery ¶
type TL_updateBotPrecheckoutQuery struct {
QueryID int64
UserID int64
Payload []byte
Info *TL_paymentRequestedInfo // (optional)
ShippingOptionID *string // (optional)
Currency string
TotalAmount int64
}
Constructs Update
type TL_updateBotPurchasedPaidMedia ¶ added in v0.187.0
Constructs Update
type TL_updateBotShippingQuery ¶
type TL_updateBotShippingQuery struct {
QueryID int64
UserID int64
Payload []byte
ShippingAddress TL_postAddress
}
Constructs Update
type TL_updateBotStopped ¶
Constructs Update
type TL_updateBotWebhookJSON ¶
type TL_updateBotWebhookJSON struct {
Data TL_dataJSON
}
Constructs Update
type TL_updateBotWebhookJSONQuery ¶
type TL_updateBotWebhookJSONQuery struct {
QueryID int64
Data TL_dataJSON
Timeout int32
}
Constructs Update
type TL_updateBusinessBotCallbackQuery ¶ added in v0.183.0
type TL_updateBusinessBotCallbackQuery struct {
QueryID int64
UserID int64
ConnectionID string
Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
ReplyToMessage TL // (optional) Message: TL_messageEmpty | TL_message | TL_messageService
ChatInstance int64
Data []byte // (optional)
}
Constructs Update
type TL_updateChannelAvailableMessages ¶
Constructs Update
type TL_updateChannelMessageForwards ¶
Constructs Update
type TL_updateChannelMessageViews ¶
Constructs Update
type TL_updateChannelParticipant ¶
type TL_updateChannelParticipant struct {
ViaChatlist bool
ChannelID int64
Date int32
ActorID int64
UserID int64
PrevParticipant TL // (optional) ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
NewParticipant TL // (optional) ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
Invite TL // (optional) ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
QTS int32
}
Constructs Update
type TL_updateChannelReadMessagesContents ¶
type TL_updateChannelReadMessagesContents struct {
ChannelID int64
TopMsgID *int32 // (optional)
SavedPeerID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Messages []int32
}
Constructs Update
type TL_updateChannelTooLong ¶
Constructs Update
type TL_updateChannelUserTyping ¶
type TL_updateChannelUserTyping struct {
ChannelID int64
TopMsgID *int32 // (optional)
FromID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Action TL // SendMessageAction: TL_sendMessageTypingAction | TL_sendMessageCancelAction | TL_sendMessageRecordVideoAction | TL_sendMessageUploadVideoAction | TL_sendMessageRecordAudioAction | TL_sendMessageUploadAudioAction | TL_sendMessageUploadPhotoAction | TL_sendMessageUploadDocumentAction | TL_sendMessageGeoLocationAction | TL_sendMessageChooseContactAction | TL_sendMessageGamePlayAction | TL_sendMessageRecordRoundAction | TL_sendMessageUploadRoundAction | TL_speakingInGroupCallAction | TL_sendMessageHistoryImportAction | TL_sendMessageChooseStickerAction | TL_sendMessageEmojiInteraction | TL_sendMessageEmojiInteractionSeen | TL_sendMessageTextDraftAction
}
Constructs Update
type TL_updateChannelViewForumAsMessages ¶ added in v0.167.0
Constructs Update
type TL_updateChannelWebPage ¶
type TL_updateChannelWebPage struct {
ChannelID int64
Webpage TL // WebPage: TL_webPageEmpty | TL_webPagePending | TL_webPage | TL_webPageNotModified
PTS int32
PTSCount int32
}
Constructs Update
type TL_updateChatDefaultBannedRights ¶
type TL_updateChatDefaultBannedRights struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
DefaultBannedRights TL_chatBannedRights
Version int32
}
Constructs Update
type TL_updateChatParticipant ¶
type TL_updateChatParticipant struct {
ChatID int64
Date int32
ActorID int64
UserID int64
PrevParticipant TL // (optional) ChatParticipant: TL_chatParticipant | TL_chatParticipantCreator | TL_chatParticipantAdmin
NewParticipant TL // (optional) ChatParticipant: TL_chatParticipant | TL_chatParticipantCreator | TL_chatParticipantAdmin
Invite TL // (optional) ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
QTS int32
}
Constructs Update
type TL_updateChatParticipantAdd ¶
type TL_updateChatParticipantAdd struct {
ChatID int64
UserID int64
InviterID int64
Date int32
Version int32
}
Constructs Update
type TL_updateChatParticipantAdmin ¶
Constructs Update
type TL_updateChatParticipantDelete ¶
Constructs Update
type TL_updateChatParticipants ¶
type TL_updateChatParticipants struct {
Participants TL // ChatParticipants: TL_chatParticipantsForbidden | TL_chatParticipants
}
Constructs Update
type TL_updateChatUserTyping ¶
type TL_updateChatUserTyping struct {
ChatID int64
FromID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Action TL // SendMessageAction: TL_sendMessageTypingAction | TL_sendMessageCancelAction | TL_sendMessageRecordVideoAction | TL_sendMessageUploadVideoAction | TL_sendMessageRecordAudioAction | TL_sendMessageUploadAudioAction | TL_sendMessageUploadPhotoAction | TL_sendMessageUploadDocumentAction | TL_sendMessageGeoLocationAction | TL_sendMessageChooseContactAction | TL_sendMessageGamePlayAction | TL_sendMessageRecordRoundAction | TL_sendMessageUploadRoundAction | TL_speakingInGroupCallAction | TL_sendMessageHistoryImportAction | TL_sendMessageChooseStickerAction | TL_sendMessageEmojiInteraction | TL_sendMessageEmojiInteractionSeen | TL_sendMessageTextDraftAction
}
Constructs Update
type TL_updateDCOptions ¶ added in v0.166.2
type TL_updateDCOptions struct {
DCOptions []TL_dcOption
}
Constructs Update
type TL_updateDeleteChannelMessages ¶
type TL_updateDeleteChannelMessages struct {
ChannelID int64
Messages []int32
PTS int32
PTSCount int32
}
Constructs Update
type TL_updateDeleteGroupCallMessages ¶ added in v0.218.0
type TL_updateDeleteGroupCallMessages struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
Messages []int32
}
Constructs Update
type TL_updateDeleteMessages ¶
Constructs Update
type TL_updateDeleteQuickReply ¶ added in v0.181.0
type TL_updateDeleteQuickReply struct {
ShortcutID int32
}
Constructs Update
type TL_updateDeleteQuickReplyMessages ¶ added in v0.181.0
Constructs Update
type TL_updateDeleteScheduledMessages ¶
type TL_updateDeleteScheduledMessages struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Messages []int32
SentMessages []int32 // (optional)
}
Constructs Update
type TL_updateDialogFilter ¶
type TL_updateDialogFilter struct {
ID int32
Filter TL // (optional) DialogFilter: TL_dialogFilter | TL_dialogFilterDefault | TL_dialogFilterChatlist
}
Constructs Update
type TL_updateDialogFilterOrder ¶
type TL_updateDialogFilterOrder struct {
Order []int32
}
Constructs Update
type TL_updateDialogPinned ¶
type TL_updateDialogPinned struct {
Pinned bool
FolderID *int32 // (optional)
Peer TL // DialogPeer: TL_dialogPeer | TL_dialogPeerFolder
}
Constructs Update
type TL_updateDialogUnreadMark ¶
type TL_updateDialogUnreadMark struct {
Unread bool
Peer TL // DialogPeer: TL_dialogPeer | TL_dialogPeerFolder
SavedPeerID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}
Constructs Update
type TL_updateDraftMessage ¶
type TL_updateDraftMessage struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
TopMsgID *int32 // (optional)
SavedPeerID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Draft TL // DraftMessage: TL_draftMessageEmpty | TL_draftMessage
}
Constructs Update
type TL_updateEditChannelMessage ¶
type TL_updateEditChannelMessage struct {
Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
PTS int32
PTSCount int32
}
Constructs Update
type TL_updateEditMessage ¶
type TL_updateEditMessage struct {
Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
PTS int32
PTSCount int32
}
Constructs Update
type TL_updateEncryptedChatTyping ¶
type TL_updateEncryptedChatTyping struct {
ChatID int32
}
Constructs Update
type TL_updateEncryptedMessagesRead ¶
Constructs Update
type TL_updateEncryption ¶
type TL_updateEncryption struct {
Chat TL // EncryptedChat: TL_encryptedChatEmpty | TL_encryptedChatWaiting | TL_encryptedChatRequested | TL_encryptedChat | TL_encryptedChatDiscarded
Date int32
}
Constructs Update
type TL_updateFolderPeers ¶
type TL_updateFolderPeers struct {
FolderPeers []TL_folderPeer
PTS int32
PTSCount int32
}
Constructs Update
type TL_updateGeoLiveViewed ¶
type TL_updateGeoLiveViewed struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
MsgID int32
}
Constructs Update
type TL_updateGroupCall ¶
type TL_updateGroupCall struct {
LiveStory bool
Peer TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Call TL // GroupCall: TL_groupCallDiscarded | TL_groupCall
}
Constructs Update
type TL_updateGroupCallChainBlocks ¶ added in v0.218.0
type TL_updateGroupCallChainBlocks struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
SubChainID int32
Blocks [][]byte
NextOffset int32
}
Constructs Update
type TL_updateGroupCallConnection ¶
type TL_updateGroupCallConnection struct {
Presentation bool
Params TL_dataJSON
}
Constructs Update
type TL_updateGroupCallEncryptedMessage ¶ added in v0.218.0
type TL_updateGroupCallEncryptedMessage struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
FromID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
EncryptedMessage []byte
}
Constructs Update
type TL_updateGroupCallMessage ¶ added in v0.218.0
type TL_updateGroupCallMessage struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
Message TL_groupCallMessage
}
Constructs Update
type TL_updateGroupCallParticipants ¶
type TL_updateGroupCallParticipants struct {
Call TL // InputGroupCall: TL_inputGroupCall | TL_inputGroupCallSlug | TL_inputGroupCallInviteMessage
Participants []TL_groupCallParticipant
Version int32
}
Constructs Update
type TL_updateInlineBotCallbackQuery ¶
type TL_updateInlineBotCallbackQuery struct {
QueryID int64
UserID int64
MsgID TL // InputBotInlineMessageID: TL_inputBotInlineMessageID | TL_inputBotInlineMessageID64
ChatInstance int64
Data []byte // (optional)
GameShortName *string // (optional)
}
Constructs Update
type TL_updateLangPack ¶
type TL_updateLangPack struct {
Difference TL_langPackDifference
}
Constructs Update
type TL_updateLangPackTooLong ¶
type TL_updateLangPackTooLong struct {
LangCode string
}
Constructs Update
type TL_updateMessageExtendedMedia ¶
type TL_updateMessageExtendedMedia struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
MsgID int32
ExtendedMedia []TL // MessageExtendedMedia: TL_messageExtendedMediaPreview | TL_messageExtendedMedia
}
Constructs Update
type TL_updateMessageID ¶
Constructs Update
type TL_updateMessagePoll ¶
type TL_updateMessagePoll struct {
PollID int64
Poll *TL_poll // (optional)
Results TL_pollResults
}
Constructs Update
type TL_updateMessagePollVote ¶
type TL_updateMessagePollVote struct {
PollID int64
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Options [][]byte
QTS int32
}
Constructs Update
type TL_updateMessageReactions ¶
type TL_updateMessageReactions struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
MsgID int32
TopMsgID *int32 // (optional)
SavedPeerID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Reactions TL_messageReactions
}
Constructs Update
type TL_updateMonoForumNoPaidException ¶ added in v0.218.0
type TL_updateMonoForumNoPaidException struct {
Exception bool
ChannelID int64
SavedPeerID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}
Constructs Update
type TL_updateMoveStickerSetToTop ¶
Constructs Update
type TL_updateNewAuthorization ¶ added in v0.166.0
type TL_updateNewAuthorization struct {
Unconfirmed bool
Hash int64
Date *int32 // (optional)
Device *string // (optional)
Location *string // (optional)
}
Constructs Update
type TL_updateNewChannelMessage ¶
type TL_updateNewChannelMessage struct {
Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
PTS int32
PTSCount int32
}
Constructs Update
type TL_updateNewEncryptedMessage ¶
type TL_updateNewEncryptedMessage struct {
Message TL // EncryptedMessage: TL_encryptedMessage | TL_encryptedMessageService
QTS int32
}
Constructs Update
type TL_updateNewMessage ¶
type TL_updateNewMessage struct {
Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
PTS int32
PTSCount int32
}
Constructs Update
type TL_updateNewQuickReply ¶ added in v0.181.0
type TL_updateNewQuickReply struct {
QuickReply TL_quickReply
}
Constructs Update
type TL_updateNewScheduledMessage ¶
type TL_updateNewScheduledMessage struct {
Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
}
Constructs Update
type TL_updateNewStickerSet ¶
type TL_updateNewStickerSet struct {
Stickerset TL // messages.StickerSet: TL_messages_stickerSet | TL_messages_stickerSetNotModified
}
Constructs Update
type TL_updateNewStoryReaction ¶ added in v0.181.0
type TL_updateNewStoryReaction struct {
StoryID int32
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Reaction TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}
Constructs Update
type TL_updateNotifySettings ¶
type TL_updateNotifySettings struct {
Peer TL // NotifyPeer: TL_notifyPeer | TL_notifyUsers | TL_notifyChats | TL_notifyBroadcasts | TL_notifyForumTopic
NotifySettings TL_peerNotifySettings
}
Constructs Update
type TL_updatePaidReactionPrivacy ¶ added in v0.187.0
type TL_updatePaidReactionPrivacy struct {
Private TL // PaidReactionPrivacy: TL_paidReactionPrivacyDefault | TL_paidReactionPrivacyAnonymous | TL_paidReactionPrivacyPeer
}
Constructs Update
type TL_updatePeerBlocked ¶
type TL_updatePeerBlocked struct {
Blocked bool
BlockedMyStoriesFrom bool
PeerID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}
Constructs Update
type TL_updatePeerHistoryTTL ¶
type TL_updatePeerHistoryTTL struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
TTLPeriod *int32 // (optional)
}
Constructs Update
type TL_updatePeerLocated ¶
type TL_updatePeerLocated struct {
Peers []TL // PeerLocated: TL_peerLocated | TL_peerSelfLocated
}
Constructs Update
type TL_updatePeerSettings ¶
type TL_updatePeerSettings struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Settings TL_peerSettings
}
Constructs Update
type TL_updatePeerWallpaper ¶ added in v0.167.0
type TL_updatePeerWallpaper struct {
WallpaperOverridden bool
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Wallpaper TL // (optional) WallPaper: TL_wallPaper | TL_wallPaperNoFile
}
Constructs Update
type TL_updatePendingJoinRequests ¶
type TL_updatePendingJoinRequests struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
RequestsPending int32
RecentRequesters []int64
}
Constructs Update
type TL_updatePhoneCall ¶
type TL_updatePhoneCall struct {
PhoneCall TL // PhoneCall: TL_phoneCallEmpty | TL_phoneCallWaiting | TL_phoneCallRequested | TL_phoneCallAccepted | TL_phoneCall | TL_phoneCallDiscarded
}
Constructs Update
type TL_updatePhoneCallSignalingData ¶
Constructs Update
type TL_updatePinnedChannelMessages ¶
type TL_updatePinnedChannelMessages struct {
Pinned bool
ChannelID int64
Messages []int32
PTS int32
PTSCount int32
}
Constructs Update
type TL_updatePinnedDialogs ¶
type TL_updatePinnedDialogs struct {
FolderID *int32 // (optional)
Order []TL // (optional) DialogPeer: TL_dialogPeer | TL_dialogPeerFolder
}
Constructs Update
type TL_updatePinnedForumTopic ¶ added in v0.218.0
type TL_updatePinnedForumTopic struct {
Pinned bool
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
TopicID int32
}
Constructs Update
type TL_updatePinnedForumTopics ¶ added in v0.218.0
type TL_updatePinnedForumTopics struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Order []int32 // (optional)
}
Constructs Update
type TL_updatePinnedMessages ¶
type TL_updatePinnedMessages struct {
Pinned bool
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Messages []int32
PTS int32
PTSCount int32
}
Constructs Update
type TL_updatePinnedSavedDialogs ¶ added in v0.181.0
type TL_updatePinnedSavedDialogs struct {
Order []TL // (optional) DialogPeer: TL_dialogPeer | TL_dialogPeerFolder
}
Constructs Update
type TL_updatePrivacy ¶
type TL_updatePrivacy struct {
Key TL // PrivacyKey: TL_privacyKeyStatusTimestamp | TL_privacyKeyChatInvite | TL_privacyKeyPhoneCall | TL_privacyKeyPhoneP2P | TL_privacyKeyForwards | TL_privacyKeyProfilePhoto | TL_privacyKeyPhoneNumber | TL_privacyKeyAddedByPhone | TL_privacyKeyVoiceMessages | TL_privacyKeyAbout | TL_privacyKeyBirthday | TL_privacyKeyStarGiftsAutoSave | TL_privacyKeyNoPaidMessages | TL_privacyKeySavedMusic
Rules []TL // PrivacyRule: TL_privacyValueAllowContacts | TL_privacyValueAllowAll | TL_privacyValueAllowUsers | TL_privacyValueDisallowContacts | TL_privacyValueDisallowAll | TL_privacyValueDisallowUsers | TL_privacyValueAllowChatParticipants | TL_privacyValueDisallowChatParticipants | TL_privacyValueAllowCloseFriends | TL_privacyValueAllowPremium | TL_privacyValueAllowBots | TL_privacyValueDisallowBots
}
Constructs Update
type TL_updateQuickReplies ¶ added in v0.181.0
type TL_updateQuickReplies struct {
QuickReplies []TL_quickReply
}
Constructs Update
type TL_updateQuickReplyMessage ¶ added in v0.181.0
type TL_updateQuickReplyMessage struct {
Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
}
Constructs Update
type TL_updateReadChannelDiscussionInbox ¶
type TL_updateReadChannelDiscussionInbox struct {
ChannelID int64
TopMsgID int32
ReadMaxID int32
BroadcastID *int64 // (optional)
BroadcastPost *int32 // (optional)
}
Constructs Update
type TL_updateReadChannelDiscussionOutbox ¶
Constructs Update
type TL_updateReadChannelInbox ¶
type TL_updateReadChannelInbox struct {
FolderID *int32 // (optional)
ChannelID int64
MaxID int32
StillUnreadCount int32
PTS int32
}
Constructs Update
type TL_updateReadChannelOutbox ¶
Constructs Update
type TL_updateReadFeaturedEmojiStickers ¶
type TL_updateReadFeaturedEmojiStickers struct {
}
Constructs Update
type TL_updateReadFeaturedStickers ¶
type TL_updateReadFeaturedStickers struct {
}
Constructs Update
type TL_updateReadHistoryInbox ¶
type TL_updateReadHistoryInbox struct {
FolderID *int32 // (optional)
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
TopMsgID *int32 // (optional)
MaxID int32
StillUnreadCount int32
PTS int32
PTSCount int32
}
Constructs Update
type TL_updateReadHistoryOutbox ¶
type TL_updateReadHistoryOutbox struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
MaxID int32
PTS int32
PTSCount int32
}
Constructs Update
type TL_updateReadMessagesContents ¶
type TL_updateReadMessagesContents struct {
Messages []int32
PTS int32
PTSCount int32
Date *int32 // (optional)
}
Constructs Update
type TL_updateReadMonoForumInbox ¶ added in v0.218.0
type TL_updateReadMonoForumInbox struct {
ChannelID int64
SavedPeerID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
ReadMaxID int32
}
Constructs Update
type TL_updateReadMonoForumOutbox ¶ added in v0.218.0
type TL_updateReadMonoForumOutbox struct {
ChannelID int64
SavedPeerID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
ReadMaxID int32
}
Constructs Update
type TL_updateReadStories ¶ added in v0.166.0
type TL_updateReadStories struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
MaxID int32
}
Constructs Update
type TL_updateSMSJob ¶ added in v0.181.0
type TL_updateSMSJob struct {
JobID string
}
Constructs Update
type TL_updateSavedDialogPinned ¶ added in v0.181.0
type TL_updateSavedDialogPinned struct {
Pinned bool
Peer TL // DialogPeer: TL_dialogPeer | TL_dialogPeerFolder
}
Constructs Update
type TL_updateSavedReactionTags ¶ added in v0.181.0
type TL_updateSavedReactionTags struct {
}
Constructs Update
type TL_updateSentPhoneCode ¶ added in v0.218.0
type TL_updateSentPhoneCode struct {
SentCode TL // auth.SentCode: TL_auth_sentCode | TL_auth_sentCodeSuccess | TL_auth_sentCodePaymentRequired
}
Constructs Update
type TL_updateSentStoryReaction ¶ added in v0.166.0
type TL_updateSentStoryReaction struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
StoryID int32
Reaction TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}
Constructs Update
type TL_updateServiceNotification ¶
type TL_updateServiceNotification struct {
Popup bool
InvertMedia bool
InboxDate *int32 // (optional)
Type string
Message string
Media TL // MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia | TL_messageMediaToDo | TL_messageMediaVideoStream
Entities []TL // MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
}
Constructs Update
type TL_updateShort ¶
type TL_updateShort struct {
Update TL // Update: TL_updateNewMessage | TL_updateMessageID | TL_updateDeleteMessages | TL_updateUserTyping | TL_updateChatUserTyping | TL_updateChatParticipants | TL_updateUserStatus | TL_updateUserName | TL_updateNewAuthorization | TL_updateNewEncryptedMessage | TL_updateEncryptedChatTyping | TL_updateEncryption | TL_updateEncryptedMessagesRead | TL_updateChatParticipantAdd | TL_updateChatParticipantDelete | TL_updateDCOptions | TL_updateNotifySettings | TL_updateServiceNotification | TL_updatePrivacy | TL_updateUserPhone | TL_updateReadHistoryInbox | TL_updateReadHistoryOutbox | TL_updateWebPage | TL_updateReadMessagesContents | TL_updateChannelTooLong | TL_updateChannel | TL_updateNewChannelMessage | TL_updateReadChannelInbox | TL_updateDeleteChannelMessages | TL_updateChannelMessageViews | TL_updateChatParticipantAdmin | TL_updateNewStickerSet | TL_updateStickerSetsOrder | TL_updateStickerSets | TL_updateSavedGIFs | TL_updateBotInlineQuery | TL_updateBotInlineSend | TL_updateEditChannelMessage | TL_updateBotCallbackQuery | TL_updateEditMessage | TL_updateInlineBotCallbackQuery | TL_updateReadChannelOutbox | TL_updateDraftMessage | TL_updateReadFeaturedStickers | TL_updateRecentStickers | TL_updateConfig | TL_updatePTSChanged | TL_updateChannelWebPage | TL_updateDialogPinned | TL_updatePinnedDialogs | TL_updateBotWebhookJSON | TL_updateBotWebhookJSONQuery | TL_updateBotShippingQuery | TL_updateBotPrecheckoutQuery | TL_updatePhoneCall | TL_updateLangPackTooLong | TL_updateLangPack | TL_updateFavedStickers | TL_updateChannelReadMessagesContents | TL_updateContactsReset | TL_updateChannelAvailableMessages | TL_updateDialogUnreadMark | TL_updateMessagePoll | TL_updateChatDefaultBannedRights | TL_updateFolderPeers | TL_updatePeerSettings | TL_updatePeerLocated | TL_updateNewScheduledMessage | TL_updateDeleteScheduledMessages | TL_updateTheme | TL_updateGeoLiveViewed | TL_updateLoginToken | TL_updateMessagePollVote | TL_updateDialogFilter | TL_updateDialogFilterOrder | TL_updateDialogFilters | TL_updatePhoneCallSignalingData | TL_updateChannelMessageForwards | TL_updateReadChannelDiscussionInbox | TL_updateReadChannelDiscussionOutbox | TL_updatePeerBlocked | TL_updateChannelUserTyping | TL_updatePinnedMessages | TL_updatePinnedChannelMessages | TL_updateChat | TL_updateGroupCallParticipants | TL_updateGroupCall | TL_updatePeerHistoryTTL | TL_updateChatParticipant | TL_updateChannelParticipant | TL_updateBotStopped | TL_updateGroupCallConnection | TL_updateBotCommands | TL_updatePendingJoinRequests | TL_updateBotChatInviteRequester | TL_updateMessageReactions | TL_updateAttachMenuBots | TL_updateWebViewResultSent | TL_updateBotMenuButton | TL_updateSavedRingtones | TL_updateTranscribedAudio | TL_updateReadFeaturedEmojiStickers | TL_updateUserEmojiStatus | TL_updateRecentEmojiStatuses | TL_updateRecentReactions | TL_updateMoveStickerSetToTop | TL_updateMessageExtendedMedia | TL_updateUser | TL_updateAutoSaveSettings | TL_updateStory | TL_updateReadStories | TL_updateStoryID | TL_updateStoriesStealthMode | TL_updateSentStoryReaction | TL_updateBotChatBoost | TL_updateChannelViewForumAsMessages | TL_updatePeerWallpaper | TL_updateBotMessageReaction | TL_updateBotMessageReactions | TL_updateSavedDialogPinned | TL_updatePinnedSavedDialogs | TL_updateSavedReactionTags | TL_updateSMSJob | TL_updateQuickReplies | TL_updateNewQuickReply | TL_updateDeleteQuickReply | TL_updateQuickReplyMessage | TL_updateDeleteQuickReplyMessages | TL_updateBotBusinessConnect | TL_updateBotNewBusinessMessage | TL_updateBotEditBusinessMessage | TL_updateBotDeleteBusinessMessage | TL_updateNewStoryReaction | TL_updateStarsBalance | TL_updateBusinessBotCallbackQuery | TL_updateStarsRevenueStatus | TL_updateBotPurchasedPaidMedia | TL_updatePaidReactionPrivacy | TL_updateSentPhoneCode | TL_updateGroupCallChainBlocks | TL_updateReadMonoForumInbox | TL_updateReadMonoForumOutbox | TL_updateMonoForumNoPaidException | TL_updateGroupCallMessage | TL_updateGroupCallEncryptedMessage | TL_updatePinnedForumTopic | TL_updatePinnedForumTopics | TL_updateDeleteGroupCallMessages | TL_updateStarGiftAuctionState | TL_updateStarGiftAuctionUserState
Date int32
}
Constructs Updates
type TL_updateShortChatMessage ¶
type TL_updateShortChatMessage struct {
Out bool
Mentioned bool
MediaUnread bool
Silent bool
ID int32
FromID int64
ChatID int64
Message string
PTS int32
PTSCount int32
Date int32
FwdFrom *TL_messageFwdHeader // (optional)
ViaBotID *int64 // (optional)
ReplyTo TL // (optional) MessageReplyHeader: TL_messageReplyHeader | TL_messageReplyStoryHeader
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
TTLPeriod *int32 // (optional)
}
Constructs Updates
type TL_updateShortMessage ¶
type TL_updateShortMessage struct {
Out bool
Mentioned bool
MediaUnread bool
Silent bool
ID int32
UserID int64
Message string
PTS int32
PTSCount int32
Date int32
FwdFrom *TL_messageFwdHeader // (optional)
ViaBotID *int64 // (optional)
ReplyTo TL // (optional) MessageReplyHeader: TL_messageReplyHeader | TL_messageReplyStoryHeader
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
TTLPeriod *int32 // (optional)
}
Constructs Updates
type TL_updateShortSentMessage ¶
type TL_updateShortSentMessage struct {
Out bool
ID int32
PTS int32
PTSCount int32
Date int32
Media TL // (optional) MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia | TL_messageMediaToDo | TL_messageMediaVideoStream
Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
TTLPeriod *int32 // (optional)
}
Constructs Updates
type TL_updateStarGiftAuctionState ¶ added in v0.218.0
type TL_updateStarGiftAuctionState struct {
GiftID int64
State TL // StarGiftAuctionState: TL_starGiftAuctionStateNotModified | TL_starGiftAuctionState | TL_starGiftAuctionStateFinished
}
Constructs Update
type TL_updateStarGiftAuctionUserState ¶ added in v0.218.0
type TL_updateStarGiftAuctionUserState struct {
GiftID int64
UserState TL_starGiftAuctionUserState
}
Constructs Update
type TL_updateStarsBalance ¶ added in v0.181.0
type TL_updateStarsBalance struct {
Balance TL // StarsAmount: TL_starsAmount | TL_starsTonAmount
}
Constructs Update
type TL_updateStarsRevenueStatus ¶ added in v0.183.0
type TL_updateStarsRevenueStatus struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Status TL_starsRevenueStatus
}
Constructs Update
type TL_updateStickerSets ¶
Constructs Update
type TL_updateStickerSetsOrder ¶
Constructs Update
type TL_updateStoriesStealthMode ¶ added in v0.166.0
type TL_updateStoriesStealthMode struct {
StealthMode TL_storiesStealthMode
}
Constructs Update
type TL_updateStory ¶ added in v0.166.0
type TL_updateStory struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
Story TL // StoryItem: TL_storyItemDeleted | TL_storyItemSkipped | TL_storyItem
}
Constructs Update
type TL_updateStoryID ¶ added in v0.166.0
Constructs Update
type TL_updateTranscribedAudio ¶
type TL_updateTranscribedAudio struct {
Pending bool
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
MsgID int32
TranscriptionID int64
Text string
}
Constructs Update
type TL_updateUserEmojiStatus ¶
type TL_updateUserEmojiStatus struct {
UserID int64
EmojiStatus TL // EmojiStatus: TL_emojiStatusEmpty | TL_emojiStatus | TL_emojiStatusCollectible | TL_inputEmojiStatusCollectible
}
Constructs Update
type TL_updateUserName ¶
type TL_updateUserName struct {
UserID int64
FirstName string
LastName string
Usernames []TL_username
}
Constructs Update
type TL_updateUserPhone ¶
Constructs Update
type TL_updateUserStatus ¶
type TL_updateUserStatus struct {
UserID int64
Status TL // UserStatus: TL_userStatusEmpty | TL_userStatusOnline | TL_userStatusOffline | TL_userStatusRecently | TL_userStatusLastWeek | TL_userStatusLastMonth
}
Constructs Update
type TL_updateUserTyping ¶
type TL_updateUserTyping struct {
UserID int64
TopMsgID *int32 // (optional)
Action TL // SendMessageAction: TL_sendMessageTypingAction | TL_sendMessageCancelAction | TL_sendMessageRecordVideoAction | TL_sendMessageUploadVideoAction | TL_sendMessageRecordAudioAction | TL_sendMessageUploadAudioAction | TL_sendMessageUploadPhotoAction | TL_sendMessageUploadDocumentAction | TL_sendMessageGeoLocationAction | TL_sendMessageChooseContactAction | TL_sendMessageGamePlayAction | TL_sendMessageRecordRoundAction | TL_sendMessageUploadRoundAction | TL_speakingInGroupCallAction | TL_sendMessageHistoryImportAction | TL_sendMessageChooseStickerAction | TL_sendMessageEmojiInteraction | TL_sendMessageEmojiInteractionSeen | TL_sendMessageTextDraftAction
}
Constructs Update
type TL_updateWebPage ¶
type TL_updateWebPage struct {
Webpage TL // WebPage: TL_webPageEmpty | TL_webPagePending | TL_webPage | TL_webPageNotModified
PTS int32
PTSCount int32
}
Constructs Update
type TL_updateWebViewResultSent ¶
type TL_updateWebViewResultSent struct {
QueryID int64
}
Constructs Update
type TL_updates ¶
type TL_updates struct {
Updates []TL // Update: TL_updateNewMessage | TL_updateMessageID | TL_updateDeleteMessages | TL_updateUserTyping | TL_updateChatUserTyping | TL_updateChatParticipants | TL_updateUserStatus | TL_updateUserName | TL_updateNewAuthorization | TL_updateNewEncryptedMessage | TL_updateEncryptedChatTyping | TL_updateEncryption | TL_updateEncryptedMessagesRead | TL_updateChatParticipantAdd | TL_updateChatParticipantDelete | TL_updateDCOptions | TL_updateNotifySettings | TL_updateServiceNotification | TL_updatePrivacy | TL_updateUserPhone | TL_updateReadHistoryInbox | TL_updateReadHistoryOutbox | TL_updateWebPage | TL_updateReadMessagesContents | TL_updateChannelTooLong | TL_updateChannel | TL_updateNewChannelMessage | TL_updateReadChannelInbox | TL_updateDeleteChannelMessages | TL_updateChannelMessageViews | TL_updateChatParticipantAdmin | TL_updateNewStickerSet | TL_updateStickerSetsOrder | TL_updateStickerSets | TL_updateSavedGIFs | TL_updateBotInlineQuery | TL_updateBotInlineSend | TL_updateEditChannelMessage | TL_updateBotCallbackQuery | TL_updateEditMessage | TL_updateInlineBotCallbackQuery | TL_updateReadChannelOutbox | TL_updateDraftMessage | TL_updateReadFeaturedStickers | TL_updateRecentStickers | TL_updateConfig | TL_updatePTSChanged | TL_updateChannelWebPage | TL_updateDialogPinned | TL_updatePinnedDialogs | TL_updateBotWebhookJSON | TL_updateBotWebhookJSONQuery | TL_updateBotShippingQuery | TL_updateBotPrecheckoutQuery | TL_updatePhoneCall | TL_updateLangPackTooLong | TL_updateLangPack | TL_updateFavedStickers | TL_updateChannelReadMessagesContents | TL_updateContactsReset | TL_updateChannelAvailableMessages | TL_updateDialogUnreadMark | TL_updateMessagePoll | TL_updateChatDefaultBannedRights | TL_updateFolderPeers | TL_updatePeerSettings | TL_updatePeerLocated | TL_updateNewScheduledMessage | TL_updateDeleteScheduledMessages | TL_updateTheme | TL_updateGeoLiveViewed | TL_updateLoginToken | TL_updateMessagePollVote | TL_updateDialogFilter | TL_updateDialogFilterOrder | TL_updateDialogFilters | TL_updatePhoneCallSignalingData | TL_updateChannelMessageForwards | TL_updateReadChannelDiscussionInbox | TL_updateReadChannelDiscussionOutbox | TL_updatePeerBlocked | TL_updateChannelUserTyping | TL_updatePinnedMessages | TL_updatePinnedChannelMessages | TL_updateChat | TL_updateGroupCallParticipants | TL_updateGroupCall | TL_updatePeerHistoryTTL | TL_updateChatParticipant | TL_updateChannelParticipant | TL_updateBotStopped | TL_updateGroupCallConnection | TL_updateBotCommands | TL_updatePendingJoinRequests | TL_updateBotChatInviteRequester | TL_updateMessageReactions | TL_updateAttachMenuBots | TL_updateWebViewResultSent | TL_updateBotMenuButton | TL_updateSavedRingtones | TL_updateTranscribedAudio | TL_updateReadFeaturedEmojiStickers | TL_updateUserEmojiStatus | TL_updateRecentEmojiStatuses | TL_updateRecentReactions | TL_updateMoveStickerSetToTop | TL_updateMessageExtendedMedia | TL_updateUser | TL_updateAutoSaveSettings | TL_updateStory | TL_updateReadStories | TL_updateStoryID | TL_updateStoriesStealthMode | TL_updateSentStoryReaction | TL_updateBotChatBoost | TL_updateChannelViewForumAsMessages | TL_updatePeerWallpaper | TL_updateBotMessageReaction | TL_updateBotMessageReactions | TL_updateSavedDialogPinned | TL_updatePinnedSavedDialogs | TL_updateSavedReactionTags | TL_updateSMSJob | TL_updateQuickReplies | TL_updateNewQuickReply | TL_updateDeleteQuickReply | TL_updateQuickReplyMessage | TL_updateDeleteQuickReplyMessages | TL_updateBotBusinessConnect | TL_updateBotNewBusinessMessage | TL_updateBotEditBusinessMessage | TL_updateBotDeleteBusinessMessage | TL_updateNewStoryReaction | TL_updateStarsBalance | TL_updateBusinessBotCallbackQuery | TL_updateStarsRevenueStatus | TL_updateBotPurchasedPaidMedia | TL_updatePaidReactionPrivacy | TL_updateSentPhoneCode | TL_updateGroupCallChainBlocks | TL_updateReadMonoForumInbox | TL_updateReadMonoForumOutbox | TL_updateMonoForumNoPaidException | TL_updateGroupCallMessage | TL_updateGroupCallEncryptedMessage | TL_updatePinnedForumTopic | TL_updatePinnedForumTopics | TL_updateDeleteGroupCallMessages | TL_updateStarGiftAuctionState | TL_updateStarGiftAuctionUserState
Users []TL // User: TL_userEmpty | TL_user
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Date int32
Seq int32
}
Constructs Updates
type TL_updatesCombined ¶
type TL_updatesCombined struct {
Updates []TL // Update: TL_updateNewMessage | TL_updateMessageID | TL_updateDeleteMessages | TL_updateUserTyping | TL_updateChatUserTyping | TL_updateChatParticipants | TL_updateUserStatus | TL_updateUserName | TL_updateNewAuthorization | TL_updateNewEncryptedMessage | TL_updateEncryptedChatTyping | TL_updateEncryption | TL_updateEncryptedMessagesRead | TL_updateChatParticipantAdd | TL_updateChatParticipantDelete | TL_updateDCOptions | TL_updateNotifySettings | TL_updateServiceNotification | TL_updatePrivacy | TL_updateUserPhone | TL_updateReadHistoryInbox | TL_updateReadHistoryOutbox | TL_updateWebPage | TL_updateReadMessagesContents | TL_updateChannelTooLong | TL_updateChannel | TL_updateNewChannelMessage | TL_updateReadChannelInbox | TL_updateDeleteChannelMessages | TL_updateChannelMessageViews | TL_updateChatParticipantAdmin | TL_updateNewStickerSet | TL_updateStickerSetsOrder | TL_updateStickerSets | TL_updateSavedGIFs | TL_updateBotInlineQuery | TL_updateBotInlineSend | TL_updateEditChannelMessage | TL_updateBotCallbackQuery | TL_updateEditMessage | TL_updateInlineBotCallbackQuery | TL_updateReadChannelOutbox | TL_updateDraftMessage | TL_updateReadFeaturedStickers | TL_updateRecentStickers | TL_updateConfig | TL_updatePTSChanged | TL_updateChannelWebPage | TL_updateDialogPinned | TL_updatePinnedDialogs | TL_updateBotWebhookJSON | TL_updateBotWebhookJSONQuery | TL_updateBotShippingQuery | TL_updateBotPrecheckoutQuery | TL_updatePhoneCall | TL_updateLangPackTooLong | TL_updateLangPack | TL_updateFavedStickers | TL_updateChannelReadMessagesContents | TL_updateContactsReset | TL_updateChannelAvailableMessages | TL_updateDialogUnreadMark | TL_updateMessagePoll | TL_updateChatDefaultBannedRights | TL_updateFolderPeers | TL_updatePeerSettings | TL_updatePeerLocated | TL_updateNewScheduledMessage | TL_updateDeleteScheduledMessages | TL_updateTheme | TL_updateGeoLiveViewed | TL_updateLoginToken | TL_updateMessagePollVote | TL_updateDialogFilter | TL_updateDialogFilterOrder | TL_updateDialogFilters | TL_updatePhoneCallSignalingData | TL_updateChannelMessageForwards | TL_updateReadChannelDiscussionInbox | TL_updateReadChannelDiscussionOutbox | TL_updatePeerBlocked | TL_updateChannelUserTyping | TL_updatePinnedMessages | TL_updatePinnedChannelMessages | TL_updateChat | TL_updateGroupCallParticipants | TL_updateGroupCall | TL_updatePeerHistoryTTL | TL_updateChatParticipant | TL_updateChannelParticipant | TL_updateBotStopped | TL_updateGroupCallConnection | TL_updateBotCommands | TL_updatePendingJoinRequests | TL_updateBotChatInviteRequester | TL_updateMessageReactions | TL_updateAttachMenuBots | TL_updateWebViewResultSent | TL_updateBotMenuButton | TL_updateSavedRingtones | TL_updateTranscribedAudio | TL_updateReadFeaturedEmojiStickers | TL_updateUserEmojiStatus | TL_updateRecentEmojiStatuses | TL_updateRecentReactions | TL_updateMoveStickerSetToTop | TL_updateMessageExtendedMedia | TL_updateUser | TL_updateAutoSaveSettings | TL_updateStory | TL_updateReadStories | TL_updateStoryID | TL_updateStoriesStealthMode | TL_updateSentStoryReaction | TL_updateBotChatBoost | TL_updateChannelViewForumAsMessages | TL_updatePeerWallpaper | TL_updateBotMessageReaction | TL_updateBotMessageReactions | TL_updateSavedDialogPinned | TL_updatePinnedSavedDialogs | TL_updateSavedReactionTags | TL_updateSMSJob | TL_updateQuickReplies | TL_updateNewQuickReply | TL_updateDeleteQuickReply | TL_updateQuickReplyMessage | TL_updateDeleteQuickReplyMessages | TL_updateBotBusinessConnect | TL_updateBotNewBusinessMessage | TL_updateBotEditBusinessMessage | TL_updateBotDeleteBusinessMessage | TL_updateNewStoryReaction | TL_updateStarsBalance | TL_updateBusinessBotCallbackQuery | TL_updateStarsRevenueStatus | TL_updateBotPurchasedPaidMedia | TL_updatePaidReactionPrivacy | TL_updateSentPhoneCode | TL_updateGroupCallChainBlocks | TL_updateReadMonoForumInbox | TL_updateReadMonoForumOutbox | TL_updateMonoForumNoPaidException | TL_updateGroupCallMessage | TL_updateGroupCallEncryptedMessage | TL_updatePinnedForumTopic | TL_updatePinnedForumTopics | TL_updateDeleteGroupCallMessages | TL_updateStarGiftAuctionState | TL_updateStarGiftAuctionUserState
Users []TL // User: TL_userEmpty | TL_user
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Date int32
SeqStart int32
Seq int32
}
Constructs Updates
type TL_updates_channelDifference ¶
type TL_updates_channelDifference struct {
Final bool
PTS int32
Timeout *int32 // (optional)
NewMessages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
OtherUpdates []TL // Update: TL_updateNewMessage | TL_updateMessageID | TL_updateDeleteMessages | TL_updateUserTyping | TL_updateChatUserTyping | TL_updateChatParticipants | TL_updateUserStatus | TL_updateUserName | TL_updateNewAuthorization | TL_updateNewEncryptedMessage | TL_updateEncryptedChatTyping | TL_updateEncryption | TL_updateEncryptedMessagesRead | TL_updateChatParticipantAdd | TL_updateChatParticipantDelete | TL_updateDCOptions | TL_updateNotifySettings | TL_updateServiceNotification | TL_updatePrivacy | TL_updateUserPhone | TL_updateReadHistoryInbox | TL_updateReadHistoryOutbox | TL_updateWebPage | TL_updateReadMessagesContents | TL_updateChannelTooLong | TL_updateChannel | TL_updateNewChannelMessage | TL_updateReadChannelInbox | TL_updateDeleteChannelMessages | TL_updateChannelMessageViews | TL_updateChatParticipantAdmin | TL_updateNewStickerSet | TL_updateStickerSetsOrder | TL_updateStickerSets | TL_updateSavedGIFs | TL_updateBotInlineQuery | TL_updateBotInlineSend | TL_updateEditChannelMessage | TL_updateBotCallbackQuery | TL_updateEditMessage | TL_updateInlineBotCallbackQuery | TL_updateReadChannelOutbox | TL_updateDraftMessage | TL_updateReadFeaturedStickers | TL_updateRecentStickers | TL_updateConfig | TL_updatePTSChanged | TL_updateChannelWebPage | TL_updateDialogPinned | TL_updatePinnedDialogs | TL_updateBotWebhookJSON | TL_updateBotWebhookJSONQuery | TL_updateBotShippingQuery | TL_updateBotPrecheckoutQuery | TL_updatePhoneCall | TL_updateLangPackTooLong | TL_updateLangPack | TL_updateFavedStickers | TL_updateChannelReadMessagesContents | TL_updateContactsReset | TL_updateChannelAvailableMessages | TL_updateDialogUnreadMark | TL_updateMessagePoll | TL_updateChatDefaultBannedRights | TL_updateFolderPeers | TL_updatePeerSettings | TL_updatePeerLocated | TL_updateNewScheduledMessage | TL_updateDeleteScheduledMessages | TL_updateTheme | TL_updateGeoLiveViewed | TL_updateLoginToken | TL_updateMessagePollVote | TL_updateDialogFilter | TL_updateDialogFilterOrder | TL_updateDialogFilters | TL_updatePhoneCallSignalingData | TL_updateChannelMessageForwards | TL_updateReadChannelDiscussionInbox | TL_updateReadChannelDiscussionOutbox | TL_updatePeerBlocked | TL_updateChannelUserTyping | TL_updatePinnedMessages | TL_updatePinnedChannelMessages | TL_updateChat | TL_updateGroupCallParticipants | TL_updateGroupCall | TL_updatePeerHistoryTTL | TL_updateChatParticipant | TL_updateChannelParticipant | TL_updateBotStopped | TL_updateGroupCallConnection | TL_updateBotCommands | TL_updatePendingJoinRequests | TL_updateBotChatInviteRequester | TL_updateMessageReactions | TL_updateAttachMenuBots | TL_updateWebViewResultSent | TL_updateBotMenuButton | TL_updateSavedRingtones | TL_updateTranscribedAudio | TL_updateReadFeaturedEmojiStickers | TL_updateUserEmojiStatus | TL_updateRecentEmojiStatuses | TL_updateRecentReactions | TL_updateMoveStickerSetToTop | TL_updateMessageExtendedMedia | TL_updateUser | TL_updateAutoSaveSettings | TL_updateStory | TL_updateReadStories | TL_updateStoryID | TL_updateStoriesStealthMode | TL_updateSentStoryReaction | TL_updateBotChatBoost | TL_updateChannelViewForumAsMessages | TL_updatePeerWallpaper | TL_updateBotMessageReaction | TL_updateBotMessageReactions | TL_updateSavedDialogPinned | TL_updatePinnedSavedDialogs | TL_updateSavedReactionTags | TL_updateSMSJob | TL_updateQuickReplies | TL_updateNewQuickReply | TL_updateDeleteQuickReply | TL_updateQuickReplyMessage | TL_updateDeleteQuickReplyMessages | TL_updateBotBusinessConnect | TL_updateBotNewBusinessMessage | TL_updateBotEditBusinessMessage | TL_updateBotDeleteBusinessMessage | TL_updateNewStoryReaction | TL_updateStarsBalance | TL_updateBusinessBotCallbackQuery | TL_updateStarsRevenueStatus | TL_updateBotPurchasedPaidMedia | TL_updatePaidReactionPrivacy | TL_updateSentPhoneCode | TL_updateGroupCallChainBlocks | TL_updateReadMonoForumInbox | TL_updateReadMonoForumOutbox | TL_updateMonoForumNoPaidException | TL_updateGroupCallMessage | TL_updateGroupCallEncryptedMessage | TL_updatePinnedForumTopic | TL_updatePinnedForumTopics | TL_updateDeleteGroupCallMessages | TL_updateStarGiftAuctionState | TL_updateStarGiftAuctionUserState
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs updates.ChannelDifference
type TL_updates_channelDifferenceEmpty ¶
Constructs updates.ChannelDifference
type TL_updates_channelDifferenceTooLong ¶
type TL_updates_channelDifferenceTooLong struct {
Final bool
Timeout *int32 // (optional)
Dialog TL // Dialog: TL_dialog | TL_dialogFolder
Messages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs updates.ChannelDifference
type TL_updates_difference ¶
type TL_updates_difference struct {
NewMessages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
NewEncryptedMessages []TL // EncryptedMessage: TL_encryptedMessage | TL_encryptedMessageService
OtherUpdates []TL // Update: TL_updateNewMessage | TL_updateMessageID | TL_updateDeleteMessages | TL_updateUserTyping | TL_updateChatUserTyping | TL_updateChatParticipants | TL_updateUserStatus | TL_updateUserName | TL_updateNewAuthorization | TL_updateNewEncryptedMessage | TL_updateEncryptedChatTyping | TL_updateEncryption | TL_updateEncryptedMessagesRead | TL_updateChatParticipantAdd | TL_updateChatParticipantDelete | TL_updateDCOptions | TL_updateNotifySettings | TL_updateServiceNotification | TL_updatePrivacy | TL_updateUserPhone | TL_updateReadHistoryInbox | TL_updateReadHistoryOutbox | TL_updateWebPage | TL_updateReadMessagesContents | TL_updateChannelTooLong | TL_updateChannel | TL_updateNewChannelMessage | TL_updateReadChannelInbox | TL_updateDeleteChannelMessages | TL_updateChannelMessageViews | TL_updateChatParticipantAdmin | TL_updateNewStickerSet | TL_updateStickerSetsOrder | TL_updateStickerSets | TL_updateSavedGIFs | TL_updateBotInlineQuery | TL_updateBotInlineSend | TL_updateEditChannelMessage | TL_updateBotCallbackQuery | TL_updateEditMessage | TL_updateInlineBotCallbackQuery | TL_updateReadChannelOutbox | TL_updateDraftMessage | TL_updateReadFeaturedStickers | TL_updateRecentStickers | TL_updateConfig | TL_updatePTSChanged | TL_updateChannelWebPage | TL_updateDialogPinned | TL_updatePinnedDialogs | TL_updateBotWebhookJSON | TL_updateBotWebhookJSONQuery | TL_updateBotShippingQuery | TL_updateBotPrecheckoutQuery | TL_updatePhoneCall | TL_updateLangPackTooLong | TL_updateLangPack | TL_updateFavedStickers | TL_updateChannelReadMessagesContents | TL_updateContactsReset | TL_updateChannelAvailableMessages | TL_updateDialogUnreadMark | TL_updateMessagePoll | TL_updateChatDefaultBannedRights | TL_updateFolderPeers | TL_updatePeerSettings | TL_updatePeerLocated | TL_updateNewScheduledMessage | TL_updateDeleteScheduledMessages | TL_updateTheme | TL_updateGeoLiveViewed | TL_updateLoginToken | TL_updateMessagePollVote | TL_updateDialogFilter | TL_updateDialogFilterOrder | TL_updateDialogFilters | TL_updatePhoneCallSignalingData | TL_updateChannelMessageForwards | TL_updateReadChannelDiscussionInbox | TL_updateReadChannelDiscussionOutbox | TL_updatePeerBlocked | TL_updateChannelUserTyping | TL_updatePinnedMessages | TL_updatePinnedChannelMessages | TL_updateChat | TL_updateGroupCallParticipants | TL_updateGroupCall | TL_updatePeerHistoryTTL | TL_updateChatParticipant | TL_updateChannelParticipant | TL_updateBotStopped | TL_updateGroupCallConnection | TL_updateBotCommands | TL_updatePendingJoinRequests | TL_updateBotChatInviteRequester | TL_updateMessageReactions | TL_updateAttachMenuBots | TL_updateWebViewResultSent | TL_updateBotMenuButton | TL_updateSavedRingtones | TL_updateTranscribedAudio | TL_updateReadFeaturedEmojiStickers | TL_updateUserEmojiStatus | TL_updateRecentEmojiStatuses | TL_updateRecentReactions | TL_updateMoveStickerSetToTop | TL_updateMessageExtendedMedia | TL_updateUser | TL_updateAutoSaveSettings | TL_updateStory | TL_updateReadStories | TL_updateStoryID | TL_updateStoriesStealthMode | TL_updateSentStoryReaction | TL_updateBotChatBoost | TL_updateChannelViewForumAsMessages | TL_updatePeerWallpaper | TL_updateBotMessageReaction | TL_updateBotMessageReactions | TL_updateSavedDialogPinned | TL_updatePinnedSavedDialogs | TL_updateSavedReactionTags | TL_updateSMSJob | TL_updateQuickReplies | TL_updateNewQuickReply | TL_updateDeleteQuickReply | TL_updateQuickReplyMessage | TL_updateDeleteQuickReplyMessages | TL_updateBotBusinessConnect | TL_updateBotNewBusinessMessage | TL_updateBotEditBusinessMessage | TL_updateBotDeleteBusinessMessage | TL_updateNewStoryReaction | TL_updateStarsBalance | TL_updateBusinessBotCallbackQuery | TL_updateStarsRevenueStatus | TL_updateBotPurchasedPaidMedia | TL_updatePaidReactionPrivacy | TL_updateSentPhoneCode | TL_updateGroupCallChainBlocks | TL_updateReadMonoForumInbox | TL_updateReadMonoForumOutbox | TL_updateMonoForumNoPaidException | TL_updateGroupCallMessage | TL_updateGroupCallEncryptedMessage | TL_updatePinnedForumTopic | TL_updatePinnedForumTopics | TL_updateDeleteGroupCallMessages | TL_updateStarGiftAuctionState | TL_updateStarGiftAuctionUserState
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
State TL_updates_state
}
Constructs updates.Difference
type TL_updates_differenceEmpty ¶
Constructs updates.Difference
type TL_updates_differenceSlice ¶
type TL_updates_differenceSlice struct {
NewMessages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
NewEncryptedMessages []TL // EncryptedMessage: TL_encryptedMessage | TL_encryptedMessageService
OtherUpdates []TL // Update: TL_updateNewMessage | TL_updateMessageID | TL_updateDeleteMessages | TL_updateUserTyping | TL_updateChatUserTyping | TL_updateChatParticipants | TL_updateUserStatus | TL_updateUserName | TL_updateNewAuthorization | TL_updateNewEncryptedMessage | TL_updateEncryptedChatTyping | TL_updateEncryption | TL_updateEncryptedMessagesRead | TL_updateChatParticipantAdd | TL_updateChatParticipantDelete | TL_updateDCOptions | TL_updateNotifySettings | TL_updateServiceNotification | TL_updatePrivacy | TL_updateUserPhone | TL_updateReadHistoryInbox | TL_updateReadHistoryOutbox | TL_updateWebPage | TL_updateReadMessagesContents | TL_updateChannelTooLong | TL_updateChannel | TL_updateNewChannelMessage | TL_updateReadChannelInbox | TL_updateDeleteChannelMessages | TL_updateChannelMessageViews | TL_updateChatParticipantAdmin | TL_updateNewStickerSet | TL_updateStickerSetsOrder | TL_updateStickerSets | TL_updateSavedGIFs | TL_updateBotInlineQuery | TL_updateBotInlineSend | TL_updateEditChannelMessage | TL_updateBotCallbackQuery | TL_updateEditMessage | TL_updateInlineBotCallbackQuery | TL_updateReadChannelOutbox | TL_updateDraftMessage | TL_updateReadFeaturedStickers | TL_updateRecentStickers | TL_updateConfig | TL_updatePTSChanged | TL_updateChannelWebPage | TL_updateDialogPinned | TL_updatePinnedDialogs | TL_updateBotWebhookJSON | TL_updateBotWebhookJSONQuery | TL_updateBotShippingQuery | TL_updateBotPrecheckoutQuery | TL_updatePhoneCall | TL_updateLangPackTooLong | TL_updateLangPack | TL_updateFavedStickers | TL_updateChannelReadMessagesContents | TL_updateContactsReset | TL_updateChannelAvailableMessages | TL_updateDialogUnreadMark | TL_updateMessagePoll | TL_updateChatDefaultBannedRights | TL_updateFolderPeers | TL_updatePeerSettings | TL_updatePeerLocated | TL_updateNewScheduledMessage | TL_updateDeleteScheduledMessages | TL_updateTheme | TL_updateGeoLiveViewed | TL_updateLoginToken | TL_updateMessagePollVote | TL_updateDialogFilter | TL_updateDialogFilterOrder | TL_updateDialogFilters | TL_updatePhoneCallSignalingData | TL_updateChannelMessageForwards | TL_updateReadChannelDiscussionInbox | TL_updateReadChannelDiscussionOutbox | TL_updatePeerBlocked | TL_updateChannelUserTyping | TL_updatePinnedMessages | TL_updatePinnedChannelMessages | TL_updateChat | TL_updateGroupCallParticipants | TL_updateGroupCall | TL_updatePeerHistoryTTL | TL_updateChatParticipant | TL_updateChannelParticipant | TL_updateBotStopped | TL_updateGroupCallConnection | TL_updateBotCommands | TL_updatePendingJoinRequests | TL_updateBotChatInviteRequester | TL_updateMessageReactions | TL_updateAttachMenuBots | TL_updateWebViewResultSent | TL_updateBotMenuButton | TL_updateSavedRingtones | TL_updateTranscribedAudio | TL_updateReadFeaturedEmojiStickers | TL_updateUserEmojiStatus | TL_updateRecentEmojiStatuses | TL_updateRecentReactions | TL_updateMoveStickerSetToTop | TL_updateMessageExtendedMedia | TL_updateUser | TL_updateAutoSaveSettings | TL_updateStory | TL_updateReadStories | TL_updateStoryID | TL_updateStoriesStealthMode | TL_updateSentStoryReaction | TL_updateBotChatBoost | TL_updateChannelViewForumAsMessages | TL_updatePeerWallpaper | TL_updateBotMessageReaction | TL_updateBotMessageReactions | TL_updateSavedDialogPinned | TL_updatePinnedSavedDialogs | TL_updateSavedReactionTags | TL_updateSMSJob | TL_updateQuickReplies | TL_updateNewQuickReply | TL_updateDeleteQuickReply | TL_updateQuickReplyMessage | TL_updateDeleteQuickReplyMessages | TL_updateBotBusinessConnect | TL_updateBotNewBusinessMessage | TL_updateBotEditBusinessMessage | TL_updateBotDeleteBusinessMessage | TL_updateNewStoryReaction | TL_updateStarsBalance | TL_updateBusinessBotCallbackQuery | TL_updateStarsRevenueStatus | TL_updateBotPurchasedPaidMedia | TL_updatePaidReactionPrivacy | TL_updateSentPhoneCode | TL_updateGroupCallChainBlocks | TL_updateReadMonoForumInbox | TL_updateReadMonoForumOutbox | TL_updateMonoForumNoPaidException | TL_updateGroupCallMessage | TL_updateGroupCallEncryptedMessage | TL_updatePinnedForumTopic | TL_updatePinnedForumTopics | TL_updateDeleteGroupCallMessages | TL_updateStarGiftAuctionState | TL_updateStarGiftAuctionUserState
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
IntermediateState TL_updates_state
}
Constructs updates.Difference
type TL_updates_differenceTooLong ¶
type TL_updates_differenceTooLong struct {
PTS int32
}
Constructs updates.Difference
type TL_updates_getChannelDifference ¶
type TL_updates_getChannelDifference struct {
Force bool
Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
Filter TL // ChannelMessagesFilter: TL_channelMessagesFilterEmpty | TL_channelMessagesFilter
PTS int32
Limit int32
}
Returns updates.ChannelDifference: TL_updates_channelDifferenceEmpty | TL_updates_channelDifferenceTooLong | TL_updates_channelDifference
type TL_updates_getDifference ¶
type TL_updates_getDifference struct {
PTS int32
PTSLimit *int32 // (optional)
PTSTotalLimit *int32 // (optional)
Date int32
QTS int32
QTSLimit *int32 // (optional)
}
Returns updates.Difference: TL_updates_differenceEmpty | TL_updates_difference | TL_updates_differenceSlice | TL_updates_differenceTooLong
type TL_updates_getState ¶
type TL_updates_getState struct {
}
Returns updates.State: TL_updates_state
type TL_updates_state ¶
Constructs updates.State
type TL_upload_cdnFileReuploadNeeded ¶
type TL_upload_cdnFileReuploadNeeded struct {
RequestToken []byte
}
Constructs upload.CdnFile
type TL_upload_file ¶
type TL_upload_file struct {
Type TL // storage.FileType: TL_storage_fileUnknown | TL_storage_filePartial | TL_storage_fileJPEG | TL_storage_fileGIF | TL_storage_filePNG | TL_storage_filePDF | TL_storage_fileMP3 | TL_storage_fileMOV | TL_storage_fileMP4 | TL_storage_fileWEBP
Mtime int32
Bytes []byte
}
Constructs upload.File
type TL_upload_fileCDNRedirect ¶ added in v0.166.2
type TL_upload_fileCDNRedirect struct {
DCID int32
FileToken []byte
EncryptionKey []byte
EncryptionIV []byte
FileHashes []TL_fileHash
}
Constructs upload.File
type TL_upload_getCDNFile ¶ added in v0.166.2
Returns upload.CdnFile: TL_upload_cdnFileReuploadNeeded | TL_upload_cdnFile
type TL_upload_getCDNFileHashes ¶ added in v0.166.2
Returns Vector<FileHash>: TL_fileHash
type TL_upload_getFile ¶
type TL_upload_getFile struct {
Precise bool
CDNSupported bool
Location TL // InputFileLocation: TL_inputFileLocation | TL_inputEncryptedFileLocation | TL_inputDocumentFileLocation | TL_inputSecureFileLocation | TL_inputTakeoutFileLocation | TL_inputPhotoFileLocation | TL_inputPhotoLegacyFileLocation | TL_inputPeerPhotoFileLocation | TL_inputStickerSetThumb | TL_inputGroupCallStream
Offset int64
Limit int32
}
Returns upload.File: TL_upload_file | TL_upload_fileCDNRedirect
type TL_upload_getFileHashes ¶
type TL_upload_getFileHashes struct {
Location TL // InputFileLocation: TL_inputFileLocation | TL_inputEncryptedFileLocation | TL_inputDocumentFileLocation | TL_inputSecureFileLocation | TL_inputTakeoutFileLocation | TL_inputPhotoFileLocation | TL_inputPhotoLegacyFileLocation | TL_inputPeerPhotoFileLocation | TL_inputStickerSetThumb | TL_inputGroupCallStream
Offset int64
}
Returns Vector<FileHash>: TL_fileHash
type TL_upload_getWebFile ¶
type TL_upload_getWebFile struct {
Location TL // InputWebFileLocation: TL_inputWebFileLocation | TL_inputWebFileGeoPointLocation | TL_inputWebFileAudioAlbumThumbLocation
Offset int32
Limit int32
}
Returns upload.WebFile: TL_upload_webFile
type TL_upload_reuploadCDNFile ¶ added in v0.166.2
Returns Vector<FileHash>: TL_fileHash
type TL_upload_saveBigFilePart ¶
type TL_upload_saveBigFilePart struct {
FileID int64
FilePart int32
FileTotalParts int32
Bytes []byte
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_upload_saveFilePart ¶
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_upload_webFile ¶
type TL_upload_webFile struct {
Size int32
MIMEType string
FileType TL // storage.FileType: TL_storage_fileUnknown | TL_storage_filePartial | TL_storage_fileJPEG | TL_storage_fileGIF | TL_storage_filePNG | TL_storage_filePDF | TL_storage_fileMP3 | TL_storage_fileMOV | TL_storage_fileMP4 | TL_storage_fileWEBP
Mtime int32
Bytes []byte
}
Constructs upload.WebFile
type TL_urlAuthResultAccepted ¶
type TL_urlAuthResultAccepted struct {
URL string
}
Constructs UrlAuthResult
type TL_urlAuthResultRequest ¶
type TL_urlAuthResultRequest struct {
RequestWriteAccess bool
Bot TL // User: TL_userEmpty | TL_user
Domain string
}
Constructs UrlAuthResult
type TL_user ¶
type TL_user struct {
Self bool
Contact bool
MutualContact bool
Deleted bool
Bot bool
BotChatHistory bool
BotNochats bool
Verified bool
Restricted bool
Min bool
BotInlineGeo bool
Support bool
Scam bool
ApplyMinPhoto bool
Fake bool
BotAttachMenu bool
Premium bool
AttachMenuEnabled bool
BotCanEdit bool
CloseFriend bool
StoriesHidden bool
ContactRequirePremium bool
BotBusiness bool
BotHasMainApp bool
BotForumView bool
ID int64
AccessHash *int64 // (optional)
FirstName *string // (optional)
LastName *string // (optional)
Username *string // (optional)
Phone *string // (optional)
Photo TL // (optional) UserProfilePhoto: TL_userProfilePhotoEmpty | TL_userProfilePhoto
Status TL // (optional) UserStatus: TL_userStatusEmpty | TL_userStatusOnline | TL_userStatusOffline | TL_userStatusRecently | TL_userStatusLastWeek | TL_userStatusLastMonth
BotInfoVersion *int32 // (optional)
RestrictionReason []TL_restrictionReason // (optional)
BotInlinePlaceholder *string // (optional)
LangCode *string // (optional)
EmojiStatus TL // (optional) EmojiStatus: TL_emojiStatusEmpty | TL_emojiStatus | TL_emojiStatusCollectible | TL_inputEmojiStatusCollectible
Usernames []TL_username // (optional)
StoriesMaxID *TL_recentStory // (optional)
Color TL // (optional) PeerColor: TL_peerColor | TL_peerColorCollectible | TL_inputPeerColorCollectible
ProfileColor TL // (optional) PeerColor: TL_peerColor | TL_peerColorCollectible | TL_inputPeerColorCollectible
BotActiveUsers *int32 // (optional)
BotVerificationIcon *int64 // (optional)
SendPaidMessagesStars *int64 // (optional)
}
Constructs User
type TL_userFull ¶
type TL_userFull struct {
Blocked bool
PhoneCallsAvailable bool
PhoneCallsPrivate bool
CanPINMessage bool
HasScheduled bool
VideoCallsAvailable bool
VoiceMessagesForbidden bool
TranslationsDisabled bool
StoriesPinnedAvailable bool
BlockedMyStoriesFrom bool
WallpaperOverridden bool
ContactRequirePremium bool
ReadDatesPrivate bool
SponsoredEnabled bool
CanViewRevenue bool
BotCanManageEmojiStatus bool
DisplayGiftsButton bool
ID int64
About *string // (optional)
Settings TL_peerSettings
PersonalPhoto TL // (optional) Photo: TL_photoEmpty | TL_photo
ProfilePhoto TL // (optional) Photo: TL_photoEmpty | TL_photo
FallbackPhoto TL // (optional) Photo: TL_photoEmpty | TL_photo
NotifySettings TL_peerNotifySettings
BotInfo *TL_botInfo // (optional)
PinnedMsgID *int32 // (optional)
CommonChatsCount int32
FolderID *int32 // (optional)
TTLPeriod *int32 // (optional)
Theme TL // (optional) ChatTheme: TL_chatTheme | TL_chatThemeUniqueGift
PrivateForwardName *string // (optional)
BotGroupAdminRights *TL_chatAdminRights // (optional)
BotBroadcastAdminRights *TL_chatAdminRights // (optional)
Wallpaper TL // (optional) WallPaper: TL_wallPaper | TL_wallPaperNoFile
Stories *TL_peerStories // (optional)
BusinessWorkHours *TL_businessWorkHours // (optional)
BusinessLocation *TL_businessLocation // (optional)
BusinessGreetingMessage *TL_businessGreetingMessage // (optional)
BusinessAwayMessage *TL_businessAwayMessage // (optional)
BusinessIntro *TL_businessIntro // (optional)
Birthday *TL_birthday // (optional)
PersonalChannelID *int64 // (optional)
PersonalChannelMessage *int32 // (optional)
StargiftsCount *int32 // (optional)
StarrefProgram *TL_starRefProgram // (optional)
BotVerification *TL_botVerification // (optional)
SendPaidMessagesStars *int64 // (optional)
DisallowedGifts *TL_disallowedGiftsSettings // (optional)
StarsRating *TL_starsRating // (optional)
StarsMyPendingRating *TL_starsRating // (optional)
StarsMyPendingRatingDate *int32 // (optional)
MainTab TL // (optional) ProfileTab: TL_profileTabPosts | TL_profileTabGifts | TL_profileTabMedia | TL_profileTabFiles | TL_profileTabMusic | TL_profileTabVoice | TL_profileTabLinks | TL_profileTabGIFs
SavedMusic TL // (optional) Document: TL_documentEmpty | TL_document
Note *TL_textWithEntities // (optional)
}
Constructs UserFull
type TL_userProfilePhoto ¶
type TL_userProfilePhoto struct {
HasVideo bool
Personal bool
PhotoID int64
StrippedThumb []byte // (optional)
DCID int32
}
Constructs UserProfilePhoto
type TL_userProfilePhotoEmpty ¶
type TL_userProfilePhotoEmpty struct {
}
Constructs UserProfilePhoto
type TL_userStatusLastMonth ¶
type TL_userStatusLastMonth struct {
ByMe bool
}
Constructs UserStatus
type TL_userStatusOffline ¶
type TL_userStatusOffline struct {
WasOnline int32
}
Constructs UserStatus
type TL_username ¶
Constructs Username
type TL_users_getFullUser ¶
type TL_users_getFullUser struct {
ID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns users.UserFull: TL_users_userFull
type TL_users_getRequirementsToContact ¶ added in v0.218.0
type TL_users_getRequirementsToContact struct {
ID []TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns Vector<RequirementToContact>: TL_requirementToContactEmpty | TL_requirementToContactPremium | TL_requirementToContactPaidMessages
type TL_users_getSavedMusic ¶ added in v0.218.0
type TL_users_getSavedMusic struct {
ID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Offset int32
Limit int32
Hash int64
}
Returns users.SavedMusic: TL_users_savedMusicNotModified | TL_users_savedMusic
type TL_users_getSavedMusicByID ¶ added in v0.218.0
type TL_users_getSavedMusicByID struct {
ID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Documents []TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
}
Returns users.SavedMusic: TL_users_savedMusicNotModified | TL_users_savedMusic
type TL_users_getUsers ¶
type TL_users_getUsers struct {
ID []TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}
Returns Vector<User>: TL_userEmpty | TL_user
type TL_users_savedMusic ¶ added in v0.218.0
type TL_users_savedMusic struct {
Count int32
Documents []TL // Document: TL_documentEmpty | TL_document
}
Constructs users.SavedMusic
type TL_users_savedMusicNotModified ¶ added in v0.218.0
type TL_users_savedMusicNotModified struct {
Count int32
}
Constructs users.SavedMusic
type TL_users_setSecureValueErrors ¶
type TL_users_setSecureValueErrors struct {
ID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Errors []TL // SecureValueError: TL_secureValueErrorData | TL_secureValueErrorFrontSide | TL_secureValueErrorReverseSide | TL_secureValueErrorSelfie | TL_secureValueErrorFile | TL_secureValueErrorFiles | TL_secureValueError | TL_secureValueErrorTranslationFile | TL_secureValueErrorTranslationFiles
}
Returns Bool: TL_boolFalse | TL_boolTrue
type TL_users_suggestBirthday ¶ added in v0.218.0
type TL_users_suggestBirthday struct {
ID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
Birthday TL_birthday
}
Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
type TL_users_userFull ¶
type TL_users_userFull struct {
FullUser TL_userFull
Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
Users []TL // User: TL_userEmpty | TL_user
}
Constructs users.UserFull
type TL_users_users ¶ added in v0.196.0
type TL_users_users struct {
Users []TL // User: TL_userEmpty | TL_user
}
Constructs users.Users
type TL_users_usersSlice ¶ added in v0.196.0
Constructs users.Users
type TL_videoSize ¶
type TL_videoSize struct {
Type string
W int32
H int32
Size int32
VideoStartTS *float64 // (optional)
}
Constructs VideoSize
type TL_videoSizeEmojiMarkup ¶
Constructs VideoSize
type TL_videoSizeStickerMarkup ¶
type TL_videoSizeStickerMarkup struct {
Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses | TL_inputStickerSetTonGifts
StickerID int64
BackgroundColors []int32
}
Constructs VideoSize
type TL_wallPaper ¶
type TL_wallPaper struct {
ID int64
Creator bool
Default bool
Pattern bool
Dark bool
AccessHash int64
Slug string
Document TL // Document: TL_documentEmpty | TL_document
Settings *TL_wallPaperSettings // (optional)
}
Constructs WallPaper
type TL_wallPaperNoFile ¶
type TL_wallPaperNoFile struct {
ID int64
Default bool
Dark bool
Settings *TL_wallPaperSettings // (optional)
}
Constructs WallPaper
type TL_wallPaperSettings ¶
type TL_wallPaperSettings struct {
Blur bool
Motion bool
BackgroundColor *int32 // (optional)
SecondBackgroundColor *int32 // (optional)
ThirdBackgroundColor *int32 // (optional)
FourthBackgroundColor *int32 // (optional)
Intensity *int32 // (optional)
Rotation *int32 // (optional)
Emoticon *string // (optional)
}
Constructs WallPaperSettings
type TL_webAuthorization ¶
type TL_webAuthorization struct {
Hash int64
BotID int64
Domain string
Browser string
Platform string
DateCreated int32
DateActive int32
IP string
Region string
}
Constructs WebAuthorization
type TL_webDocument ¶
type TL_webDocument struct {
URL string
AccessHash int64
Size int32
MIMEType string
Attributes []TL // DocumentAttribute: TL_documentAttributeImageSize | TL_documentAttributeAnimated | TL_documentAttributeSticker | TL_documentAttributeVideo | TL_documentAttributeAudio | TL_documentAttributeFilename | TL_documentAttributeHasStickers | TL_documentAttributeCustomEmoji
}
Constructs WebDocument
type TL_webDocumentNoProxy ¶
type TL_webDocumentNoProxy struct {
URL string
Size int32
MIMEType string
Attributes []TL // DocumentAttribute: TL_documentAttributeImageSize | TL_documentAttributeAnimated | TL_documentAttributeSticker | TL_documentAttributeVideo | TL_documentAttributeAudio | TL_documentAttributeFilename | TL_documentAttributeHasStickers | TL_documentAttributeCustomEmoji
}
Constructs WebDocument
type TL_webPage ¶
type TL_webPage struct {
HasLargeMedia bool
VideoCoverPhoto bool
ID int64
URL string
DisplayURL string
Hash int32
Type *string // (optional)
SiteName *string // (optional)
Title *string // (optional)
Description *string // (optional)
Photo TL // (optional) Photo: TL_photoEmpty | TL_photo
EmbedURL *string // (optional)
EmbedType *string // (optional)
EmbedWidth *int32 // (optional)
EmbedHeight *int32 // (optional)
Duration *int32 // (optional)
Author *string // (optional)
Document TL // (optional) Document: TL_documentEmpty | TL_document
CachedPage *TL_page // (optional)
Attributes []TL // (optional) WebPageAttribute: TL_webPageAttributeTheme | TL_webPageAttributeStory | TL_webPageAttributeStickerSet | TL_webPageAttributeUniqueStarGift | TL_webPageAttributeStarGiftCollection | TL_webPageAttributeStarGiftAuction
}
Constructs WebPage
type TL_webPageAttributeStarGiftAuction ¶ added in v0.218.0
type TL_webPageAttributeStarGiftAuction struct {
Gift TL // StarGift: TL_starGift | TL_starGiftUnique
EndDate int32
}
Constructs WebPageAttribute
type TL_webPageAttributeStarGiftCollection ¶ added in v0.218.0
type TL_webPageAttributeStarGiftCollection struct {
Icons []TL // Document: TL_documentEmpty | TL_document
}
Constructs WebPageAttribute
type TL_webPageAttributeStickerSet ¶ added in v0.181.0
type TL_webPageAttributeStickerSet struct {
Emojis bool
TextColor bool
Stickers []TL // Document: TL_documentEmpty | TL_document
}
Constructs WebPageAttribute
type TL_webPageAttributeStory ¶ added in v0.166.0
type TL_webPageAttributeStory struct {
Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
ID int32
Story TL // (optional) StoryItem: TL_storyItemDeleted | TL_storyItemSkipped | TL_storyItem
}
Constructs WebPageAttribute
type TL_webPageAttributeTheme ¶
type TL_webPageAttributeTheme struct {
Documents []TL // (optional) Document: TL_documentEmpty | TL_document
Settings *TL_themeSettings // (optional)
}
Constructs WebPageAttribute
type TL_webPageAttributeUniqueStarGift ¶ added in v0.218.0
type TL_webPageAttributeUniqueStarGift struct {
Gift TL // StarGift: TL_starGift | TL_starGiftUnique
}
Constructs WebPageAttribute
type TL_webPageEmpty ¶
Constructs WebPage
type TL_webPageNotModified ¶
type TL_webPageNotModified struct {
CachedPageViews *int32 // (optional)
}
Constructs WebPage
type TL_webPagePending ¶
Constructs WebPage
type TL_webViewMessageSent ¶
type TL_webViewMessageSent struct {
MsgID TL // (optional) InputBotInlineMessageID: TL_inputBotInlineMessageID | TL_inputBotInlineMessageID64
}
Constructs WebViewMessageSent
type TL_webViewResultURL ¶ added in v0.166.2
type TL_webViewResultURL struct {
Fullsize bool
Fullscreen bool
QueryID *int64 // (optional)
URL string
}
Constructs WebViewResult
type UnexpectedTypeError ¶ added in v0.181.1
type UnexpectedTypeError struct {
Value TL
}
func (UnexpectedTypeError) Error ¶ added in v0.181.1
func (r UnexpectedTypeError) Error() string
type VectorLong ¶
type VectorLong []int64
type VectorObject ¶
type VectorObject []TL