Documentation
¶
Index ¶
- Constants
- type AccessPointRule
- type AccountAcceptAuthorizationParams
- type AccountAuthorizationForm
- type AccountAuthorizations
- type AccountAutoDownloadSettings
- type AccountCancelPasswordEmailParams
- type AccountChangePhoneParams
- type AccountCheckUsernameParams
- type AccountConfirmPasswordEmailParams
- type AccountConfirmPhoneParams
- type AccountContentSettings
- type AccountCreateThemeParams
- type AccountDaysTtl
- type AccountDeleteAccountParams
- type AccountDeleteSecureValueParams
- type AccountFinishTakeoutSessionParams
- type AccountGetAccountTtlParams
- type AccountGetAllSecureValuesParams
- type AccountGetAuthorizationFormParams
- type AccountGetAuthorizationsParams
- type AccountGetAutoDownloadSettingsParams
- type AccountGetContactSignUpNotificationParams
- type AccountGetContentSettingsParams
- type AccountGetGlobalPrivacySettingsParams
- type AccountGetMultiWallPapersParams
- type AccountGetNotifyExceptionsParams
- type AccountGetNotifySettingsParams
- type AccountGetPasswordParams
- type AccountGetPasswordSettingsParams
- type AccountGetPrivacyParams
- type AccountGetSecureValueParams
- type AccountGetThemeParams
- type AccountGetThemesParams
- type AccountGetTmpPasswordParams
- type AccountGetWallPaperParams
- type AccountGetWallPapersParams
- type AccountGetWebAuthorizationsParams
- type AccountInitTakeoutSessionParams
- type AccountInstallThemeParams
- type AccountInstallWallPaperParams
- type AccountPassword
- type AccountPasswordInputSettings
- type AccountPasswordSettings
- type AccountPrivacyRules
- type AccountRegisterDeviceParams
- type AccountReportPeerParams
- type AccountResendPasswordEmailParams
- type AccountResetAuthorizationParams
- type AccountResetNotifySettingsParams
- type AccountResetWallPapersParams
- type AccountResetWebAuthorizationParams
- type AccountResetWebAuthorizationsParams
- type AccountSaveAutoDownloadSettingsParams
- type AccountSaveSecureValueParams
- type AccountSaveThemeParams
- type AccountSaveWallPaperParams
- type AccountSendChangePhoneCodeParams
- type AccountSendConfirmPhoneCodeParams
- type AccountSendVerifyEmailCodeParams
- type AccountSendVerifyPhoneCodeParams
- type AccountSentEmailCode
- type AccountSetAccountTtlParams
- type AccountSetContactSignUpNotificationParams
- type AccountSetContentSettingsParams
- type AccountSetGlobalPrivacySettingsParams
- type AccountSetPrivacyParams
- type AccountTakeout
- type AccountThemes
- type AccountThemesNotModified
- type AccountThemesObj
- type AccountTmpPassword
- type AccountUnregisterDeviceParams
- type AccountUpdateDeviceLockedParams
- type AccountUpdateNotifySettingsParams
- type AccountUpdatePasswordSettingsParams
- type AccountUpdateProfileParams
- type AccountUpdateStatusParams
- type AccountUpdateThemeParams
- type AccountUpdateUsernameParams
- type AccountUploadThemeParams
- type AccountUploadWallPaperParams
- type AccountVerifyEmailParams
- type AccountVerifyPhoneParams
- type AccountWallPapers
- type AccountWallPapersNotModified
- type AccountWallPapersObj
- type AccountWebAuthorizations
- type AuthAcceptLoginTokenParams
- type AuthAuthorization
- type AuthAuthorizationObj
- type AuthAuthorizationSignUpRequired
- type AuthBindTempAuthKeyParams
- type AuthCancelCodeParams
- type AuthCheckPasswordParams
- type AuthCodeType
- type AuthDropTempAuthKeysParams
- type AuthExportAuthorizationParams
- type AuthExportLoginTokenParams
- type AuthExportedAuthorization
- type AuthImportAuthorizationParams
- type AuthImportBotAuthorizationParams
- type AuthImportLoginTokenParams
- type AuthLogOutParams
- type AuthLoginToken
- type AuthLoginTokenMigrateTo
- type AuthLoginTokenObj
- type AuthLoginTokenSuccess
- type AuthPasswordRecovery
- type AuthRecoverPasswordParams
- type AuthRequestPasswordRecoveryParams
- type AuthResendCodeParams
- type AuthResetAuthorizationsParams
- type AuthSendCodeParams
- type AuthSentCode
- type AuthSentCodeType
- type AuthSentCodeTypeApp
- type AuthSentCodeTypeCall
- type AuthSentCodeTypeFlashCall
- type AuthSentCodeTypeSms
- type AuthSignInParams
- type AuthSignUpParams
- type Authorization
- type AutoDownloadSettings
- type BankCardOpenURL
- type BaseTheme
- type BotCommand
- type BotInfo
- type BotInlineMediaResult
- type BotInlineMessage
- type BotInlineMessageMediaAuto
- type BotInlineMessageMediaContact
- type BotInlineMessageMediaGeo
- type BotInlineMessageMediaVenue
- type BotInlineMessageText
- type BotInlineResult
- type BotInlineResultObj
- type BotsAnswerWebhookJsonQueryParams
- type BotsSendCustomRequestParams
- type BotsSetBotCommandsParams
- type CdnConfig
- type CdnPublicKey
- type Channel
- type ChannelAdminLogEvent
- type ChannelAdminLogEventAction
- type ChannelAdminLogEventActionChangeAbout
- type ChannelAdminLogEventActionChangeLinkedChat
- type ChannelAdminLogEventActionChangeLocation
- type ChannelAdminLogEventActionChangePhoto
- type ChannelAdminLogEventActionChangeStickerSet
- type ChannelAdminLogEventActionChangeTitle
- type ChannelAdminLogEventActionChangeUsername
- type ChannelAdminLogEventActionDefaultBannedRights
- type ChannelAdminLogEventActionDeleteMessage
- type ChannelAdminLogEventActionEditMessage
- type ChannelAdminLogEventActionParticipantInvite
- type ChannelAdminLogEventActionParticipantJoin
- type ChannelAdminLogEventActionParticipantLeave
- type ChannelAdminLogEventActionParticipantToggleAdmin
- type ChannelAdminLogEventActionParticipantToggleBan
- type ChannelAdminLogEventActionStopPoll
- type ChannelAdminLogEventActionToggleInvites
- type ChannelAdminLogEventActionTogglePreHistoryHidden
- type ChannelAdminLogEventActionToggleSignatures
- type ChannelAdminLogEventActionToggleSlowMode
- type ChannelAdminLogEventActionUpdatePinned
- type ChannelAdminLogEventsFilter
- type ChannelForbidden
- type ChannelFull
- type ChannelLocation
- type ChannelLocationEmpty
- type ChannelLocationObj
- type ChannelMessagesFilter
- type ChannelMessagesFilterEmpty
- type ChannelMessagesFilterObj
- type ChannelParticipant
- type ChannelParticipantAdmin
- type ChannelParticipantBanned
- type ChannelParticipantCreator
- type ChannelParticipantLeft
- type ChannelParticipantObj
- type ChannelParticipantSelf
- type ChannelParticipantsAdmins
- type ChannelParticipantsBanned
- type ChannelParticipantsBots
- type ChannelParticipantsContacts
- type ChannelParticipantsFilter
- type ChannelParticipantsKicked
- type ChannelParticipantsMentions
- type ChannelParticipantsRecent
- type ChannelParticipantsSearch
- type ChannelsAdminLogResults
- type ChannelsChannelParticipant
- type ChannelsChannelParticipants
- type ChannelsChannelParticipantsNotModified
- type ChannelsChannelParticipantsObj
- type ChannelsCheckUsernameParams
- type ChannelsCreateChannelParams
- type ChannelsDeleteChannelParams
- type ChannelsDeleteHistoryParams
- type ChannelsDeleteMessagesParams
- type ChannelsDeleteUserHistoryParams
- type ChannelsEditAdminParams
- type ChannelsEditBannedParams
- type ChannelsEditCreatorParams
- type ChannelsEditLocationParams
- type ChannelsEditPhotoParams
- type ChannelsEditTitleParams
- type ChannelsExportMessageLinkParams
- type ChannelsGetAdminLogParams
- type ChannelsGetAdminedPublicChannelsParams
- type ChannelsGetChannelsParams
- type ChannelsGetFullChannelParams
- type ChannelsGetGroupsForDiscussionParams
- type ChannelsGetInactiveChannelsParams
- type ChannelsGetLeftChannelsParams
- type ChannelsGetMessagesParams
- type ChannelsGetParticipantParams
- type ChannelsGetParticipantsParams
- type ChannelsInviteToChannelParams
- type ChannelsJoinChannelParams
- type ChannelsLeaveChannelParams
- type ChannelsReadHistoryParams
- type ChannelsReadMessageContentsParams
- type ChannelsReportSpamParams
- type ChannelsSetDiscussionGroupParams
- type ChannelsSetStickersParams
- type ChannelsTogglePreHistoryHiddenParams
- type ChannelsToggleSignaturesParams
- type ChannelsToggleSlowModeParams
- type ChannelsUpdateUsernameParams
- type Chat
- type ChatAdminRights
- type ChatBannedRights
- type ChatEmpty
- type ChatForbidden
- type ChatFull
- type ChatFullObj
- type ChatInvite
- type ChatInviteAlready
- type ChatInviteEmpty
- type ChatInviteExported
- type ChatInviteObj
- type ChatInvitePeek
- type ChatObj
- type ChatOnlines
- type ChatParticipant
- type ChatParticipantAdmin
- type ChatParticipantCreator
- type ChatParticipantObj
- type ChatParticipants
- type ChatParticipantsForbidden
- type ChatParticipantsObj
- type ChatPhoto
- type ChatPhotoEmpty
- type ChatPhotoObj
- type Client
- func (c *Client) AccountAcceptAuthorization(botID int32, scope, publicKey string, valueHashes []*SecureValueHash, ...) (bool, error)
- func (c *Client) AccountCancelPasswordEmail() (bool, error)
- func (c *Client) AccountChangePhone(phoneNumber, phoneCodeHash, phoneCode string) (User, error)
- func (c *Client) AccountCheckUsername(username string) (bool, error)
- func (c *Client) AccountConfirmPasswordEmail(code string) (bool, error)
- func (c *Client) AccountConfirmPhone(phoneCodeHash, phoneCode string) (bool, error)
- func (c *Client) AccountCreateTheme(slug, title string, document InputDocument, settings *InputThemeSettings) (*Theme, error)
- func (c *Client) AccountDeleteAccount(reason string) (bool, error)
- func (c *Client) AccountDeleteSecureValue(types []SecureValueType) (bool, error)
- func (c *Client) AccountFinishTakeoutSession(success bool) (bool, error)
- func (c *Client) AccountGetAccountTtl() (*AccountDaysTtl, error)
- func (c *Client) AccountGetAllSecureValues() ([]*SecureValue, error)
- func (c *Client) AccountGetAuthorizationForm(botID int32, scope, publicKey string) (*AccountAuthorizationForm, error)
- func (c *Client) AccountGetAuthorizations() (*AccountAuthorizations, error)
- func (c *Client) AccountGetAutoDownloadSettings() (*AccountAutoDownloadSettings, error)
- func (c *Client) AccountGetContactSignUpNotification() (bool, error)
- func (c *Client) AccountGetContentSettings() (*AccountContentSettings, error)
- func (c *Client) AccountGetGlobalPrivacySettings() (*GlobalPrivacySettings, error)
- func (c *Client) AccountGetMultiWallPapers(wallpapers []InputWallPaper) ([]WallPaper, error)
- func (c *Client) AccountGetNotifyExceptions(compareSound bool, peer InputNotifyPeer) (Updates, error)
- func (c *Client) AccountGetNotifySettings(peer InputNotifyPeer) (*PeerNotifySettings, error)
- func (c *Client) AccountGetPassword() (*AccountPassword, error)
- func (c *Client) AccountGetPasswordSettings(password InputCheckPasswordSRP) (*AccountPasswordSettings, error)
- func (c *Client) AccountGetPrivacy(key InputPrivacyKey) (*AccountPrivacyRules, error)
- func (c *Client) AccountGetSecureValue(types []SecureValueType) ([]*SecureValue, error)
- func (c *Client) AccountGetTheme(format string, theme InputTheme, documentID int64) (*Theme, error)
- func (c *Client) AccountGetThemes(format string, hash int32) (AccountThemes, error)
- func (c *Client) AccountGetTmpPassword(password InputCheckPasswordSRP, period int32) (*AccountTmpPassword, error)
- func (c *Client) AccountGetWallPaper(wallpaper InputWallPaper) (WallPaper, error)
- func (c *Client) AccountGetWallPapers(hash int32) (AccountWallPapers, error)
- func (c *Client) AccountGetWebAuthorizations() (*AccountWebAuthorizations, error)
- func (c *Client) AccountInitTakeoutSession(params *AccountInitTakeoutSessionParams) (*AccountTakeout, error)
- func (c *Client) AccountInstallTheme(dark bool, format string, theme InputTheme) (bool, error)
- func (c *Client) AccountInstallWallPaper(wallpaper InputWallPaper, settings *WallPaperSettings) (bool, error)
- func (c *Client) AccountRegisterDevice(params *AccountRegisterDeviceParams) (bool, error)
- func (c *Client) AccountReportPeer(peer InputPeer, reason ReportReason) (bool, error)
- func (c *Client) AccountResendPasswordEmail() (bool, error)
- func (c *Client) AccountResetAuthorization(hash int64) (bool, error)
- func (c *Client) AccountResetNotifySettings() (bool, error)
- func (c *Client) AccountResetWallPapers() (bool, error)
- func (c *Client) AccountResetWebAuthorization(hash int64) (bool, error)
- func (c *Client) AccountResetWebAuthorizations() (bool, error)
- func (c *Client) AccountSaveAutoDownloadSettings(low, high bool, settings *AutoDownloadSettings) (bool, error)
- func (c *Client) AccountSaveSecureValue(value *InputSecureValue, secureSecretID int64) (*SecureValue, error)
- func (c *Client) AccountSaveTheme(theme InputTheme, unsave bool) (bool, error)
- func (c *Client) AccountSaveWallPaper(wallpaper InputWallPaper, unsave bool, settings *WallPaperSettings) (bool, error)
- func (c *Client) AccountSendChangePhoneCode(phoneNumber string, settings *CodeSettings) (*AuthSentCode, error)
- func (c *Client) AccountSendConfirmPhoneCode(hash string, settings *CodeSettings) (*AuthSentCode, error)
- func (c *Client) AccountSendVerifyEmailCode(email string) (*AccountSentEmailCode, error)
- func (c *Client) AccountSendVerifyPhoneCode(phoneNumber string, settings *CodeSettings) (*AuthSentCode, error)
- func (c *Client) AccountSetAccountTtl(ttl *AccountDaysTtl) (bool, error)
- func (c *Client) AccountSetContactSignUpNotification(silent bool) (bool, error)
- func (c *Client) AccountSetContentSettings(sensitiveEnabled bool) (bool, error)
- func (c *Client) AccountSetGlobalPrivacySettings(settings *GlobalPrivacySettings) (*GlobalPrivacySettings, error)
- func (c *Client) AccountSetPrivacy(key InputPrivacyKey, rules []InputPrivacyRule) (*AccountPrivacyRules, error)
- func (c *Client) AccountUnregisterDevice(tokenType int32, token string, otherUids []int32) (bool, error)
- func (c *Client) AccountUpdateDeviceLocked(period int32) (bool, error)
- func (c *Client) AccountUpdateNotifySettings(peer InputNotifyPeer, settings *InputPeerNotifySettings) (bool, error)
- func (c *Client) AccountUpdatePasswordSettings(password InputCheckPasswordSRP, newSettings *AccountPasswordInputSettings) (bool, error)
- func (c *Client) AccountUpdateProfile(firstName, lastName, about string) (User, error)
- func (c *Client) AccountUpdateStatus(offline bool) (bool, error)
- func (c *Client) AccountUpdateTheme(params *AccountUpdateThemeParams) (*Theme, error)
- func (c *Client) AccountUpdateUsername(username string) (User, error)
- func (c *Client) AccountUploadTheme(file, thumb InputFile, fileName, mimeType string) (Document, error)
- func (c *Client) AccountUploadWallPaper(file InputFile, mimeType string, settings *WallPaperSettings) (WallPaper, error)
- func (c *Client) AccountVerifyEmail(email, code string) (bool, error)
- func (c *Client) AccountVerifyPhone(phoneNumber, phoneCodeHash, phoneCode string) (bool, error)
- func (c *Client) AllUsersInChannel(channelID int) ([]int, error)
- func (c *Client) AllUsersInChat(chatID int) ([]int, error)
- func (c *Client) AuthAcceptLoginToken(token []byte) (*Authorization, error)
- func (c *Client) AuthBindTempAuthKey(permAuthKeyID, nonce int64, expiresAt int32, encryptedMessage []byte) (bool, error)
- func (c *Client) AuthCancelCode(phoneNumber, phoneCodeHash string) (bool, error)
- func (c *Client) AuthCheckPassword(password InputCheckPasswordSRP) (AuthAuthorization, error)
- func (c *Client) AuthDropTempAuthKeys(exceptAuthKeys []int64) (bool, error)
- func (c *Client) AuthExportAuthorization(dcID int32) (*AuthExportedAuthorization, error)
- func (c *Client) AuthExportLoginToken(apiID int32, apiHash string, exceptIds []int32) (AuthLoginToken, error)
- func (c *Client) AuthImportAuthorization(id int32, bytes []byte) (AuthAuthorization, error)
- func (c *Client) AuthImportBotAuthorization(flags, apiID int32, apiHash, botAuthToken string) (AuthAuthorization, error)
- func (c *Client) AuthImportLoginToken(token []byte) (AuthLoginToken, error)
- func (c *Client) AuthLogOut() (bool, error)
- func (c *Client) AuthRecoverPassword(code string) (AuthAuthorization, error)
- func (c *Client) AuthRequestPasswordRecovery() (*AuthPasswordRecovery, error)
- func (c *Client) AuthResendCode(phoneNumber, phoneCodeHash string) (*AuthSentCode, error)
- func (c *Client) AuthResetAuthorizations() (bool, error)
- func (c *Client) AuthSendCode(phoneNumber string, apiID int32, apiHash string, settings *CodeSettings) (*AuthSentCode, error)
- func (c *Client) AuthSignIn(phoneNumber, phoneCodeHash, phoneCode string) (AuthAuthorization, error)
- func (c *Client) AuthSignUp(phoneNumber, phoneCodeHash, firstName, lastName string) (AuthAuthorization, error)
- func (c *Client) BotsAnswerWebhookJsonQuery(queryID int64, data *DataJson) (bool, error)
- func (c *Client) BotsSendCustomRequest(customMethod string, params *DataJson) (*DataJson, error)
- func (c *Client) BotsSetBotCommands(commands []*BotCommand) (bool, error)
- func (c *Client) ChannelsCheckUsername(channel InputChannel, username string) (bool, error)
- func (c *Client) ChannelsCreateChannel(params *ChannelsCreateChannelParams) (Updates, error)
- func (c *Client) ChannelsDeleteChannel(channel InputChannel) (Updates, error)
- func (c *Client) ChannelsDeleteHistory(channel InputChannel, maxID int32) (bool, error)
- func (c *Client) ChannelsDeleteMessages(channel InputChannel, id []int32) (*MessagesAffectedMessages, error)
- func (c *Client) ChannelsDeleteUserHistory(channel InputChannel, userID InputUser) (*MessagesAffectedHistory, error)
- func (c *Client) ChannelsEditAdmin(channel InputChannel, userID InputUser, adminRights *ChatAdminRights, ...) (Updates, error)
- func (c *Client) ChannelsEditBanned(channel InputChannel, userID InputUser, bannedRights *ChatBannedRights) (Updates, error)
- func (c *Client) ChannelsEditCreator(channel InputChannel, userID InputUser, password InputCheckPasswordSRP) (Updates, error)
- func (c *Client) ChannelsEditLocation(channel InputChannel, geoPoint InputGeoPoint, address string) (bool, error)
- func (c *Client) ChannelsEditPhoto(channel InputChannel, photo InputChatPhoto) (Updates, error)
- func (c *Client) ChannelsEditTitle(channel InputChannel, title string) (Updates, error)
- func (c *Client) ChannelsExportMessageLink(grouped, thread bool, channel InputChannel, id int32) (*ExportedMessageLink, error)
- func (c *Client) ChannelsGetAdminLog(params *ChannelsGetAdminLogParams) (*ChannelsAdminLogResults, error)
- func (c *Client) ChannelsGetAdminedPublicChannels(byLocation, checkLimit bool) (MessagesChats, error)
- func (c *Client) ChannelsGetChannels(id []InputChannel) (MessagesChats, error)
- func (c *Client) ChannelsGetFullChannel(channel InputChannel) (*MessagesChatFull, error)
- func (c *Client) ChannelsGetGroupsForDiscussion() (MessagesChats, error)
- func (c *Client) ChannelsGetInactiveChannels() (*MessagesInactiveChats, error)
- func (c *Client) ChannelsGetLeftChannels(offset int32) (MessagesChats, error)
- func (c *Client) ChannelsGetMessages(channel InputChannel, id []InputMessage) (MessagesMessages, error)
- func (c *Client) ChannelsGetParticipant(channel InputChannel, userID InputUser) (*ChannelsChannelParticipant, error)
- func (c *Client) ChannelsGetParticipants(channel InputChannel, filter ChannelParticipantsFilter, ...) (ChannelsChannelParticipants, error)
- func (c *Client) ChannelsInviteToChannel(channel InputChannel, users []InputUser) (Updates, error)
- func (c *Client) ChannelsJoinChannel(channel InputChannel) (Updates, error)
- func (c *Client) ChannelsLeaveChannel(channel InputChannel) (Updates, error)
- func (c *Client) ChannelsReadHistory(channel InputChannel, maxID int32) (bool, error)
- func (c *Client) ChannelsReadMessageContents(channel InputChannel, id []int32) (bool, error)
- func (c *Client) ChannelsReportSpam(channel InputChannel, userID InputUser, id []int32) (bool, error)
- func (c *Client) ChannelsSetDiscussionGroup(broadcast, group InputChannel) (bool, error)
- func (c *Client) ChannelsSetStickers(channel InputChannel, stickerset InputStickerSet) (bool, error)
- func (c *Client) ChannelsTogglePreHistoryHidden(channel InputChannel, enabled bool) (Updates, error)
- func (c *Client) ChannelsToggleSignatures(channel InputChannel, enabled bool) (Updates, error)
- func (c *Client) ChannelsToggleSlowMode(channel InputChannel, seconds int32) (Updates, error)
- func (c *Client) ChannelsUpdateUsername(channel InputChannel, username string) (bool, error)
- func (c *Client) ContactsAcceptContact(id InputUser) (Updates, error)
- func (c *Client) ContactsAddContact(params *ContactsAddContactParams) (Updates, error)
- func (c *Client) ContactsBlock(id InputPeer) (bool, error)
- func (c *Client) ContactsBlockFromReplies(deleteMessage, deleteHistory, reportSpam bool, msgID int32) (Updates, error)
- func (c *Client) ContactsDeleteByPhones(phones []string) (bool, error)
- func (c *Client) ContactsDeleteContacts(id []InputUser) (Updates, error)
- func (c *Client) ContactsGetBlocked(offset, limit int32) (ContactsBlocked, error)
- func (c *Client) ContactsGetContactIDs(hash int32) ([]int32, error)
- func (c *Client) ContactsGetContacts(hash int32) (ContactsContacts, error)
- func (c *Client) ContactsGetLocated(background bool, geoPoint InputGeoPoint, selfExpires int32) (Updates, error)
- func (c *Client) ContactsGetSaved() ([]*SavedPhoneContact, error)
- func (c *Client) ContactsGetStatuses() ([]*ContactStatus, error)
- func (c *Client) ContactsGetTopPeers(params *ContactsGetTopPeersParams) (ContactsTopPeers, error)
- func (c *Client) ContactsImportContacts(contacts []*InputPhoneContact) (*ContactsImportedContacts, error)
- func (c *Client) ContactsResetSaved() (bool, error)
- func (c *Client) ContactsResetTopPeerRating(category TopPeerCategory, peer InputPeer) (bool, error)
- func (c *Client) ContactsResolveUsername(username string) (*ContactsResolvedPeer, error)
- func (c *Client) ContactsSearch(q string, limit int32) (*ContactsFound, error)
- func (c *Client) ContactsToggleTopPeers(enabled bool) (bool, error)
- func (c *Client) ContactsUnblock(id InputPeer) (bool, error)
- func (c *Client) FoldersDeleteFolder(folderID int32) (Updates, error)
- func (c *Client) FoldersEditPeerFolders(folderPeers []*InputFolderPeer) (Updates, error)
- func (c *Client) GetChannelInfoByInviteLink(hashOrLink string) (*ChannelFull, error)
- func (c *Client) GetChatByID(chatID int) (Chat, error)
- func (c *Client) GetChatInfoByHashLink(hashOrLink string) (Chat, error)
- func (c *Client) GetPossibleAllParticipantsOfGroup(ch InputChannel) ([]int, error)
- func (c *Client) GetPossibleAllUsersOfGroup(ch InputChannel) ([]User, error)
- func (c *Client) HelpAcceptTermsOfService(id *DataJson) (bool, error)
- func (c *Client) HelpDismissSuggestion(suggestion string) (bool, error)
- func (c *Client) HelpEditUserInfo(userID InputUser, message string, entities []MessageEntity) (HelpUserInfo, error)
- func (c *Client) HelpGetAppChangelog(prevAppVersion string) (Updates, error)
- func (c *Client) HelpGetAppConfig() (JsonValue, error)
- func (c *Client) HelpGetAppUpdate(source string) (HelpAppUpdate, error)
- func (c *Client) HelpGetCdnConfig() (*CdnConfig, error)
- func (c *Client) HelpGetConfig() (*Config, error)
- func (c *Client) HelpGetCountriesList(langCode string, hash int32) (HelpCountriesList, error)
- func (c *Client) HelpGetDeepLinkInfo(path string) (HelpDeepLinkInfo, error)
- func (c *Client) HelpGetInviteText() (*HelpInviteText, error)
- func (c *Client) HelpGetNearestDc() (*NearestDc, error)
- func (c *Client) HelpGetPassportConfig(hash int32) (HelpPassportConfig, error)
- func (c *Client) HelpGetPromoData() (HelpPromoData, error)
- func (c *Client) HelpGetRecentMeUrls(referer string) (*HelpRecentMeUrls, error)
- func (c *Client) HelpGetSupport() (*HelpSupport, error)
- func (c *Client) HelpGetSupportName() (*HelpSupportName, error)
- func (c *Client) HelpGetTermsOfServiceUpdate() (HelpTermsOfServiceUpdate, error)
- func (c *Client) HelpGetUserInfo(userID InputUser) (HelpUserInfo, error)
- func (c *Client) HelpHidePromoData(peer InputPeer) (bool, error)
- func (c *Client) HelpSaveAppLog(events []*InputAppEvent) (bool, error)
- func (c *Client) HelpSetBotUpdatesStatus(pendingUpdatesCount int32, message string) (bool, error)
- func (c *Client) InitConnection(params *InitConnectionParams) (tl.Object, error)
- func (m *Client) InvokeWithLayer(layer int, query tl.Object) (tl.Object, error)
- func (m *Client) InvokeWithTakeout(takeoutID int, query tl.Object) (tl.Object, error)
- func (c *Client) LangpackGetDifference(langPack, langCode string, fromVersion int32) (*LangPackDifference, error)
- func (c *Client) LangpackGetLangPack(langPack, langCode string) (*LangPackDifference, error)
- func (c *Client) LangpackGetLanguage(langPack, langCode string) (*LangPackLanguage, error)
- func (c *Client) LangpackGetLanguages(langPack string) ([]*LangPackLanguage, error)
- func (c *Client) LangpackGetStrings(langPack, langCode string, keys []string) ([]LangPackString, error)
- func (c *Client) MessagesAcceptEncryption(peer *InputEncryptedChat, gB []byte, keyFingerprint int64) (EncryptedChat, error)
- func (c *Client) MessagesAcceptURLAuth(writeAllowed bool, peer InputPeer, msgID, buttonID int32) (URLAuthResult, error)
- func (c *Client) MessagesAddChatUser(chatID int32, userID InputUser, fwdLimit int32) (Updates, error)
- func (c *Client) MessagesCheckChatInvite(hash string) (ChatInvite, error)
- func (c *Client) MessagesClearAllDrafts() (bool, error)
- func (c *Client) MessagesClearRecentStickers(attached bool) (bool, error)
- func (c *Client) MessagesCreateChat(users []InputUser, title string) (Updates, error)
- func (c *Client) MessagesDeleteChatUser(chatID int32, userID InputUser) (Updates, error)
- func (c *Client) MessagesDeleteHistory(justClear, revoke bool, peer InputPeer, maxID int32) (*MessagesAffectedHistory, error)
- func (c *Client) MessagesDeleteMessages(revoke bool, id []int32) (*MessagesAffectedMessages, error)
- func (c *Client) MessagesDeleteScheduledMessages(peer InputPeer, id []int32) (Updates, error)
- func (c *Client) MessagesDiscardEncryption(chatID int32) (bool, error)
- func (c *Client) MessagesEditChatAbout(peer InputPeer, about string) (bool, error)
- func (c *Client) MessagesEditChatAdmin(chatID int32, userID InputUser, isAdmin bool) (bool, error)
- func (c *Client) MessagesEditChatDefaultBannedRights(peer InputPeer, bannedRights *ChatBannedRights) (Updates, error)
- func (c *Client) MessagesEditChatPhoto(chatID int32, photo InputChatPhoto) (Updates, error)
- func (c *Client) MessagesEditChatTitle(chatID int32, title string) (Updates, error)
- func (c *Client) MessagesEditInlineBotMessage(params *MessagesEditInlineBotMessageParams) (bool, error)
- func (c *Client) MessagesEditMessage(params *MessagesEditMessageParams) (Updates, error)
- func (c *Client) MessagesExportChatInvite(peer InputPeer) (ExportedChatInvite, error)
- func (c *Client) MessagesFaveSticker(id InputDocument, unfave bool) (bool, error)
- func (c *Client) MessagesForwardMessages(params *MessagesForwardMessagesParams) (Updates, error)
- func (c *Client) MessagesGetAllChats(exceptIds []int32) (MessagesChats, error)
- func (c *Client) MessagesGetAllDrafts() (Updates, error)
- func (c *Client) MessagesGetAllStickers(hash int32) (MessagesAllStickers, error)
- func (c *Client) MessagesGetArchivedStickers(masks bool, offsetID int64, limit int32) (*MessagesArchivedStickers, error)
- func (c *Client) MessagesGetAttachedStickers(media InputStickeredMedia) ([]StickerSetCovered, error)
- func (c *Client) MessagesGetBotCallbackAnswer(params *MessagesGetBotCallbackAnswerParams) (*MessagesBotCallbackAnswer, error)
- func (c *Client) MessagesGetChats(id []int32) (MessagesChats, error)
- func (c *Client) MessagesGetCommonChats(userID InputUser, maxID, limit int32) (MessagesChats, error)
- func (c *Client) MessagesGetDhConfig(version, randomLength int32) (MessagesDhConfig, error)
- func (c *Client) MessagesGetDialogFilters() ([]*DialogFilter, error)
- func (c *Client) MessagesGetDialogUnreadMarks() ([]DialogPeer, error)
- func (c *Client) MessagesGetDialogs(params *MessagesGetDialogsParams) (MessagesDialogs, error)
- func (c *Client) MessagesGetDiscussionMessage(peer InputPeer, msgID int32) (*MessagesDiscussionMessage, error)
- func (c *Client) MessagesGetDocumentByHash(sha256 []byte, size int32, mimeType string) (Document, error)
- func (c *Client) MessagesGetEmojiKeywords(langCode string) (*EmojiKeywordsDifference, error)
- func (c *Client) MessagesGetEmojiKeywordsDifference(langCode string, fromVersion int32) (*EmojiKeywordsDifference, error)
- func (c *Client) MessagesGetEmojiKeywordsLanguages(langCodes []string) ([]*EmojiLanguage, error)
- func (c *Client) MessagesGetEmojiURL(langCode string) (*EmojiURL, error)
- func (c *Client) MessagesGetFavedStickers(hash int32) (MessagesFavedStickers, error)
- func (c *Client) MessagesGetFeaturedStickers(hash int32) (MessagesFeaturedStickers, error)
- func (c *Client) MessagesGetFullChat(chatID int32) (*MessagesChatFull, error)
- func (c *Client) MessagesGetGameHighScores(peer InputPeer, id int32, userID InputUser) (*MessagesHighScores, error)
- func (c *Client) MessagesGetHistory(params *MessagesGetHistoryParams) (MessagesMessages, error)
- func (c *Client) MessagesGetInlineBotResults(params *MessagesGetInlineBotResultsParams) (*MessagesBotResults, error)
- func (c *Client) MessagesGetInlineGameHighScores(id *InputBotInlineMessageID, userID InputUser) (*MessagesHighScores, error)
- func (c *Client) MessagesGetMaskStickers(hash int32) (MessagesAllStickers, error)
- func (c *Client) MessagesGetMessageEditData(peer InputPeer, id int32) (*MessagesMessageEditData, error)
- func (c *Client) MessagesGetMessages(id []InputMessage) (MessagesMessages, error)
- func (c *Client) MessagesGetMessagesViews(peer InputPeer, id []int32, increment bool) (*MessagesMessageViews, error)
- func (c *Client) MessagesGetOldFeaturedStickers(offset, limit, hash int32) (MessagesFeaturedStickers, error)
- func (c *Client) MessagesGetOnlines(peer InputPeer) (*ChatOnlines, error)
- func (c *Client) MessagesGetPeerDialogs(peers []InputDialogPeer) (*MessagesPeerDialogs, error)
- func (c *Client) MessagesGetPeerSettings(peer InputPeer) (*PeerSettings, error)
- func (c *Client) MessagesGetPinnedDialogs(folderID int32) (*MessagesPeerDialogs, error)
- func (c *Client) MessagesGetPollResults(peer InputPeer, msgID int32) (Updates, error)
- func (c *Client) MessagesGetPollVotes(params *MessagesGetPollVotesParams) (*MessagesVotesList, error)
- func (c *Client) MessagesGetRecentLocations(peer InputPeer, limit, hash int32) (MessagesMessages, error)
- func (c *Client) MessagesGetRecentStickers(attached bool, hash int32) (MessagesRecentStickers, error)
- func (c *Client) MessagesGetReplies(params *MessagesGetRepliesParams) (MessagesMessages, error)
- func (c *Client) MessagesGetSavedGifs(hash int32) (MessagesSavedGifs, error)
- func (c *Client) MessagesGetScheduledHistory(peer InputPeer, hash int32) (MessagesMessages, error)
- func (c *Client) MessagesGetScheduledMessages(peer InputPeer, id []int32) (MessagesMessages, error)
- func (c *Client) MessagesGetSearchCounters(peer InputPeer, filters []MessagesFilter) ([]*MessagesSearchCounter, error)
- func (c *Client) MessagesGetSplitRanges() ([]*MessageRange, error)
- func (c *Client) MessagesGetStatsURL(dark bool, peer InputPeer, params string) (*StatsURL, error)
- func (c *Client) MessagesGetStickerSet(stickerset InputStickerSet) (*MessagesStickerSet, error)
- func (c *Client) MessagesGetStickers(emoticon string, hash int32) (MessagesStickers, error)
- func (c *Client) MessagesGetSuggestedDialogFilters() ([]*DialogFilterSuggested, error)
- func (c *Client) MessagesGetUnreadMentions(params *MessagesGetUnreadMentionsParams) (MessagesMessages, error)
- func (c *Client) MessagesGetWebPage(url string, hash int32) (WebPage, error)
- func (c *Client) MessagesGetWebPagePreview(message string, entities []MessageEntity) (MessageMedia, error)
- func (c *Client) MessagesHidePeerSettingsBar(peer InputPeer) (bool, error)
- func (c *Client) MessagesImportChatInvite(hash string) (Updates, error)
- func (c *Client) MessagesInstallStickerSet(stickerset InputStickerSet, archived bool) (MessagesStickerSetInstallResult, error)
- func (c *Client) MessagesMarkDialogUnread(unread bool, peer InputDialogPeer) (bool, error)
- func (c *Client) MessagesMigrateChat(chatID int32) (Updates, error)
- func (c *Client) MessagesReadDiscussion(peer InputPeer, msgID, readMaxID int32) (bool, error)
- func (c *Client) MessagesReadEncryptedHistory(peer *InputEncryptedChat, maxDate int32) (bool, error)
- func (c *Client) MessagesReadFeaturedStickers(id []int64) (bool, error)
- func (c *Client) MessagesReadHistory(peer InputPeer, maxID int32) (*MessagesAffectedMessages, error)
- func (c *Client) MessagesReadMentions(peer InputPeer) (*MessagesAffectedHistory, error)
- func (c *Client) MessagesReadMessageContents(id []int32) (*MessagesAffectedMessages, error)
- func (c *Client) MessagesReceivedMessages(maxID int32) ([]*ReceivedNotifyMessage, error)
- func (c *Client) MessagesReceivedQueue(maxQts int32) ([]int64, error)
- func (c *Client) MessagesReorderPinnedDialogs(force bool, folderID int32, order []InputDialogPeer) (bool, error)
- func (c *Client) MessagesReorderStickerSets(masks bool, order []int64) (bool, error)
- func (c *Client) MessagesReport(peer InputPeer, id []int32, reason ReportReason) (bool, error)
- func (c *Client) MessagesReportEncryptedSpam(peer *InputEncryptedChat) (bool, error)
- func (c *Client) MessagesReportSpam(peer InputPeer) (bool, error)
- func (c *Client) MessagesRequestEncryption(userID InputUser, randomID int32, gA []byte) (EncryptedChat, error)
- func (c *Client) MessagesRequestURLAuth(peer InputPeer, msgID, buttonID int32) (URLAuthResult, error)
- func (c *Client) MessagesSaveDraft(params *MessagesSaveDraftParams) (bool, error)
- func (c *Client) MessagesSaveGif(id InputDocument, unsave bool) (bool, error)
- func (c *Client) MessagesSaveRecentSticker(attached bool, id InputDocument, unsave bool) (bool, error)
- func (c *Client) MessagesSearch(params *MessagesSearchParams) (MessagesMessages, error)
- func (c *Client) MessagesSearchGlobal(params *MessagesSearchGlobalParams) (MessagesMessages, error)
- func (c *Client) MessagesSearchStickerSets(excludeFeatured bool, q string, hash int32) (MessagesFoundStickerSets, error)
- func (c *Client) MessagesSendEncrypted(silent bool, peer *InputEncryptedChat, randomID int64, data []byte) (MessagesSentEncryptedMessage, error)
- func (c *Client) MessagesSendEncryptedFile(params *MessagesSendEncryptedFileParams) (MessagesSentEncryptedMessage, error)
- func (c *Client) MessagesSendEncryptedService(peer *InputEncryptedChat, randomID int64, data []byte) (MessagesSentEncryptedMessage, error)
- func (c *Client) MessagesSendInlineBotResult(params *MessagesSendInlineBotResultParams) (Updates, error)
- func (c *Client) MessagesSendMedia(params *MessagesSendMediaParams) (Updates, error)
- func (c *Client) MessagesSendMessage(params *MessagesSendMessageParams) (Updates, error)
- func (c *Client) MessagesSendMultiMedia(params *MessagesSendMultiMediaParams) (Updates, error)
- func (c *Client) MessagesSendScheduledMessages(peer InputPeer, id []int32) (Updates, error)
- func (c *Client) MessagesSendScreenshotNotification(peer InputPeer, replyToMsgID int32, randomID int64) (Updates, error)
- func (c *Client) MessagesSendVote(peer InputPeer, msgID int32, options [][]byte) (Updates, error)
- func (c *Client) MessagesSetBotCallbackAnswer(params *MessagesSetBotCallbackAnswerParams) (bool, error)
- func (c *Client) MessagesSetBotPrecheckoutResults(success bool, queryID int64, error string) (bool, error)
- func (c *Client) MessagesSetBotShippingResults(queryID int64, error string, shippingOptions []*ShippingOption) (bool, error)
- func (c *Client) MessagesSetEncryptedTyping(peer *InputEncryptedChat, typing bool) (bool, error)
- func (c *Client) MessagesSetGameScore(params *MessagesSetGameScoreParams) (Updates, error)
- func (c *Client) MessagesSetInlineBotResults(params *MessagesSetInlineBotResultsParams) (bool, error)
- func (c *Client) MessagesSetInlineGameScore(params *MessagesSetInlineGameScoreParams) (bool, error)
- func (c *Client) MessagesSetTyping(peer InputPeer, topMsgID int32, action SendMessageAction) (bool, error)
- func (c *Client) MessagesStartBot(bot InputUser, peer InputPeer, randomID int64, startParam string) (Updates, error)
- func (c *Client) MessagesToggleDialogPin(pinned bool, peer InputDialogPeer) (bool, error)
- func (c *Client) MessagesToggleStickerSets(uninstall, archive, unarchive bool, stickersets []InputStickerSet) (bool, error)
- func (c *Client) MessagesUninstallStickerSet(stickerset InputStickerSet) (bool, error)
- func (c *Client) MessagesUnpinAllMessages(peer InputPeer) (*MessagesAffectedHistory, error)
- func (c *Client) MessagesUpdateDialogFilter(id int32, filter *DialogFilter) (bool, error)
- func (c *Client) MessagesUpdateDialogFiltersOrder(order []int32) (bool, error)
- func (c *Client) MessagesUpdatePinnedMessage(params *MessagesUpdatePinnedMessageParams) (Updates, error)
- func (c *Client) MessagesUploadEncryptedFile(peer *InputEncryptedChat, file InputEncryptedFile) (EncryptedFile, error)
- func (c *Client) MessagesUploadMedia(peer InputPeer, media InputMedia) (MessageMedia, error)
- func (c *Client) PaymentsClearSavedInfo(credentials, info bool) (bool, error)
- func (c *Client) PaymentsGetBankCardData(number string) (*PaymentsBankCardData, error)
- func (c *Client) PaymentsGetPaymentForm(msgID int32) (*PaymentsPaymentForm, error)
- func (c *Client) PaymentsGetPaymentReceipt(msgID int32) (*PaymentsPaymentReceipt, error)
- func (c *Client) PaymentsGetSavedInfo() (*PaymentsSavedInfo, error)
- func (c *Client) PaymentsSendPaymentForm(msgID int32, requestedInfoID, shippingOptionID string, ...) (PaymentsPaymentResult, error)
- func (c *Client) PaymentsValidateRequestedInfo(save bool, msgID int32, info *PaymentRequestedInfo) (*PaymentsValidatedRequestedInfo, error)
- func (c *Client) PhoneAcceptCall(peer *InputPhoneCall, gB []byte, protocol *PhoneCallProtocol) (*PhonePhoneCall, error)
- func (c *Client) PhoneConfirmCall(peer *InputPhoneCall, gA []byte, keyFingerprint int64, ...) (*PhonePhoneCall, error)
- func (c *Client) PhoneDiscardCall(params *PhoneDiscardCallParams) (Updates, error)
- func (c *Client) PhoneGetCallConfig() (*DataJson, error)
- func (c *Client) PhoneGetCallConfigFormatted() (*calls.CallConfig, error)
- func (c *Client) PhoneReceivedCall(peer *InputPhoneCall) (bool, error)
- func (c *Client) PhoneRequestCall(params *PhoneRequestCallParams) (*PhonePhoneCall, error)
- func (c *Client) PhoneSaveCallDebug(peer *InputPhoneCall, debug *DataJson) (bool, error)
- func (c *Client) PhoneSendSignalingData(peer *InputPhoneCall, data []byte) (bool, error)
- func (c *Client) PhoneSetCallRating(userInitiative bool, peer *InputPhoneCall, rating int32, comment string) (Updates, error)
- func (c *Client) PhotosDeletePhotos(id []InputPhoto) ([]int64, error)
- func (c *Client) PhotosGetUserPhotos(userID InputUser, offset int32, maxID int64, limit int32) (PhotosPhotos, error)
- func (c *Client) PhotosUpdateProfilePhoto(id InputPhoto) (*PhotosPhoto, error)
- func (c *Client) PhotosUploadProfilePhoto(file, video InputFile, videoStartTs float64) (*PhotosPhoto, error)
- func (c *Client) StatsGetBroadcastStats(dark bool, channel InputChannel) (*StatsBroadcastStats, error)
- func (c *Client) StatsGetMegagroupStats(dark bool, channel InputChannel) (*StatsMegagroupStats, error)
- func (c *Client) StatsGetMessagePublicForwards(params *StatsGetMessagePublicForwardsParams) (MessagesMessages, error)
- func (c *Client) StatsGetMessageStats(dark bool, channel InputChannel, msgID int32) (*StatsMessageStats, error)
- func (c *Client) StatsLoadAsyncGraph(token string, x int64) (StatsGraph, error)
- func (c *Client) StickersAddStickerToSet(stickerset InputStickerSet, sticker *InputStickerSetItem) (*MessagesStickerSet, error)
- func (c *Client) StickersChangeStickerPosition(sticker InputDocument, position int32) (*MessagesStickerSet, error)
- func (c *Client) StickersCreateStickerSet(params *StickersCreateStickerSetParams) (*MessagesStickerSet, error)
- func (c *Client) StickersRemoveStickerFromSet(sticker InputDocument) (*MessagesStickerSet, error)
- func (c *Client) StickersSetStickerSetThumb(stickerset InputStickerSet, thumb InputDocument) (*MessagesStickerSet, error)
- func (c *Client) UpdatesGetChannelDifference(params *UpdatesGetChannelDifferenceParams) (UpdatesChannelDifference, error)
- func (c *Client) UpdatesGetDifference(pts, ptsTotalLimit, date, qts int32) (UpdatesDifference, error)
- func (c *Client) UpdatesGetState() (*UpdatesState, error)
- func (c *Client) UploadGetCdnFile(fileToken []byte, offset, limit int32) (UploadCdnFile, error)
- func (c *Client) UploadGetCdnFileHashes(fileToken []byte, offset int32) ([]*FileHash, error)
- func (c *Client) UploadGetFile(params *UploadGetFileParams) (UploadFile, error)
- func (c *Client) UploadGetFileHashes(location InputFileLocation, offset int32) ([]*FileHash, error)
- func (c *Client) UploadGetWebFile(location InputWebFileLocation, offset, limit int32) (*UploadWebFile, error)
- func (c *Client) UploadReuploadCdnFile(fileToken, requestToken []byte) ([]*FileHash, error)
- func (c *Client) UploadSaveBigFilePart(fileID int64, filePart, fileTotalParts int32, bytes []byte) (bool, error)
- func (c *Client) UploadSaveFilePart(fileID int64, filePart int32, bytes []byte) (bool, error)
- func (c *Client) UsersGetFullUser(id InputUser) (*UserFull, error)
- func (c *Client) UsersGetUsers(id []InputUser) ([]User, error)
- func (c *Client) UsersSetSecureValueErrors(id InputUser, errs []SecureValueError) (bool, error)
- type ClientConfig
- type CodeSettings
- type Config
- type Contact
- type ContactStatus
- type ContactsAcceptContactParams
- type ContactsAddContactParams
- type ContactsBlockFromRepliesParams
- type ContactsBlockParams
- type ContactsBlocked
- type ContactsBlockedObj
- type ContactsBlockedSlice
- type ContactsContacts
- type ContactsContactsNotModified
- type ContactsContactsObj
- type ContactsDeleteByPhonesParams
- type ContactsDeleteContactsParams
- type ContactsFound
- type ContactsGetBlockedParams
- type ContactsGetContactIDsParams
- type ContactsGetContactsParams
- type ContactsGetLocatedParams
- type ContactsGetSavedParams
- type ContactsGetStatusesParams
- type ContactsGetTopPeersParams
- type ContactsImportContactsParams
- type ContactsImportedContacts
- type ContactsResetSavedParams
- type ContactsResetTopPeerRatingParams
- type ContactsResolveUsernameParams
- type ContactsResolvedPeer
- type ContactsSearchParams
- type ContactsToggleTopPeersParams
- type ContactsTopPeers
- type ContactsTopPeersDisabled
- type ContactsTopPeersNotModified
- type ContactsTopPeersObj
- type ContactsUnblockParams
- type DataJson
- type DcOption
- type Dialog
- type DialogFilter
- type DialogFilterSuggested
- type DialogFolder
- type DialogObj
- type DialogPeer
- type DialogPeerFolder
- type DialogPeerObj
- type Document
- type DocumentAttribute
- type DocumentAttributeAnimated
- type DocumentAttributeAudio
- type DocumentAttributeFilename
- type DocumentAttributeHasStickers
- type DocumentAttributeImageSize
- type DocumentAttributeSticker
- type DocumentAttributeVideo
- type DocumentEmpty
- type DocumentObj
- type DraftMessage
- type DraftMessageEmpty
- type DraftMessageObj
- type EmojiKeyword
- type EmojiKeywordDeleted
- type EmojiKeywordObj
- type EmojiKeywordsDifference
- type EmojiLanguage
- type EmojiURL
- type EncryptedChat
- type EncryptedChatDiscarded
- type EncryptedChatEmpty
- type EncryptedChatObj
- type EncryptedChatRequested
- type EncryptedChatWaiting
- type EncryptedFile
- type EncryptedFileEmpty
- type EncryptedFileObj
- type EncryptedMessage
- type EncryptedMessageObj
- type EncryptedMessageService
- type Error
- type ExportedChatInvite
- type ExportedMessageLink
- type FileHash
- type FileLocationToBeDeprecated
- type Folder
- type FolderPeer
- type FoldersDeleteFolderParams
- type FoldersEditPeerFoldersParams
- type Game
- type GeoPoint
- type GeoPointEmpty
- type GeoPointObj
- type GlobalPrivacySettings
- type HelpAcceptTermsOfServiceParams
- type HelpAppUpdate
- type HelpAppUpdateObj
- type HelpConfigSimple
- type HelpCountriesList
- type HelpCountriesListNotModified
- type HelpCountriesListObj
- type HelpCountry
- type HelpCountryCode
- type HelpDeepLinkInfo
- type HelpDeepLinkInfoEmpty
- type HelpDeepLinkInfoObj
- type HelpDismissSuggestionParams
- type HelpEditUserInfoParams
- type HelpGetAppChangelogParams
- type HelpGetAppConfigParams
- type HelpGetAppUpdateParams
- type HelpGetCdnConfigParams
- type HelpGetConfigParams
- type HelpGetCountriesListParams
- type HelpGetDeepLinkInfoParams
- type HelpGetInviteTextParams
- type HelpGetNearestDcParams
- type HelpGetPassportConfigParams
- type HelpGetPromoDataParams
- type HelpGetRecentMeUrlsParams
- type HelpGetSupportNameParams
- type HelpGetSupportParams
- type HelpGetTermsOfServiceUpdateParams
- type HelpGetUserInfoParams
- type HelpHidePromoDataParams
- type HelpInviteText
- type HelpNoAppUpdate
- type HelpPassportConfig
- type HelpPassportConfigNotModified
- type HelpPassportConfigObj
- type HelpPromoData
- type HelpPromoDataEmpty
- type HelpPromoDataObj
- type HelpRecentMeUrls
- type HelpSaveAppLogParams
- type HelpSetBotUpdatesStatusParams
- type HelpSupport
- type HelpSupportName
- type HelpTermsOfService
- type HelpTermsOfServiceUpdate
- type HelpTermsOfServiceUpdateEmpty
- type HelpTermsOfServiceUpdateObj
- type HelpUserInfo
- type HelpUserInfoEmpty
- type HelpUserInfoObj
- type HighScore
- type ImportedContact
- type InitConnectionParams
- type InlineBotSwitchPm
- type InputAppEvent
- type InputBotInlineMessage
- type InputBotInlineMessageGame
- type InputBotInlineMessageID
- type InputBotInlineMessageMediaAuto
- type InputBotInlineMessageMediaContact
- type InputBotInlineMessageMediaGeo
- type InputBotInlineMessageMediaVenue
- type InputBotInlineMessageText
- type InputBotInlineResult
- type InputBotInlineResultDocument
- type InputBotInlineResultGame
- type InputBotInlineResultObj
- type InputBotInlineResultPhoto
- type InputChannel
- type InputChannelEmpty
- type InputChannelFromMessage
- type InputChannelObj
- type InputChatPhoto
- type InputChatPhotoEmpty
- type InputChatPhotoObj
- type InputChatUploadedPhoto
- type InputCheckPasswordEmpty
- type InputCheckPasswordSRP
- type InputCheckPasswordSRPObj
- type InputClientProxy
- type InputDialogPeer
- type InputDialogPeerFolder
- type InputDialogPeerObj
- type InputDocument
- type InputDocumentEmpty
- type InputDocumentFileLocation
- type InputDocumentObj
- type InputEncryptedChat
- type InputEncryptedFile
- type InputEncryptedFileBigUploaded
- type InputEncryptedFileEmpty
- type InputEncryptedFileLocation
- type InputEncryptedFileObj
- type InputEncryptedFileUploaded
- type InputFile
- type InputFileBig
- type InputFileLocation
- type InputFileLocationObj
- type InputFileObj
- type InputFolderPeer
- type InputGame
- type InputGameID
- type InputGameShortName
- type InputGeoPoint
- type InputGeoPointEmpty
- type InputGeoPointObj
- type InputKeyboardButtonURLAuth
- type InputMedia
- type InputMediaContact
- type InputMediaDice
- type InputMediaDocument
- type InputMediaDocumentExternal
- type InputMediaEmpty
- type InputMediaGame
- type InputMediaGeoLive
- type InputMediaGeoPoint
- type InputMediaInvoice
- type InputMediaPhoto
- type InputMediaPhotoExternal
- type InputMediaPoll
- type InputMediaUploadedDocument
- type InputMediaUploadedPhoto
- type InputMediaVenue
- type InputMessage
- type InputMessageCallbackQuery
- type InputMessageEntityMentionName
- type InputMessageID
- type InputMessagePinned
- type InputMessageReplyTo
- type InputMessagesFilterChatPhotos
- type InputMessagesFilterContacts
- type InputMessagesFilterDocument
- type InputMessagesFilterEmpty
- type InputMessagesFilterGeo
- type InputMessagesFilterGif
- type InputMessagesFilterMusic
- type InputMessagesFilterMyMentions
- type InputMessagesFilterPhoneCalls
- type InputMessagesFilterPhotoVideo
- type InputMessagesFilterPhotos
- type InputMessagesFilterPinned
- type InputMessagesFilterRoundVideo
- type InputMessagesFilterRoundVoice
- type InputMessagesFilterURL
- type InputMessagesFilterVideo
- type InputMessagesFilterVoice
- type InputNotifyBroadcasts
- type InputNotifyChats
- type InputNotifyPeer
- type InputNotifyPeerObj
- type InputNotifyUsers
- type InputPaymentCredentials
- type InputPaymentCredentialsAndroidPay
- type InputPaymentCredentialsApplePay
- type InputPaymentCredentialsObj
- type InputPaymentCredentialsSaved
- type InputPeer
- type InputPeerChannel
- type InputPeerChannelFromMessage
- type InputPeerChat
- type InputPeerEmpty
- type InputPeerNotifySettings
- type InputPeerPhotoFileLocation
- type InputPeerSelf
- type InputPeerUser
- type InputPeerUserFromMessage
- type InputPhoneCall
- type InputPhoneContact
- type InputPhoto
- type InputPhotoEmpty
- type InputPhotoFileLocation
- type InputPhotoLegacyFileLocation
- type InputPhotoObj
- type InputPrivacyKey
- type InputPrivacyRule
- type InputPrivacyValueAllowAll
- type InputPrivacyValueAllowChatParticipants
- type InputPrivacyValueAllowContacts
- type InputPrivacyValueAllowUsers
- type InputPrivacyValueDisallowAll
- type InputPrivacyValueDisallowChatParticipants
- type InputPrivacyValueDisallowContacts
- type InputPrivacyValueDisallowUsers
- type InputReportReasonChildAbuse
- type InputReportReasonCopyright
- type InputReportReasonGeoIrrelevant
- type InputReportReasonOther
- type InputReportReasonPornography
- type InputReportReasonSpam
- type InputReportReasonViolence
- type InputSecureFile
- type InputSecureFileLocation
- type InputSecureFileObj
- type InputSecureFileUploaded
- type InputSecureValue
- type InputSingleMedia
- type InputStickerSet
- type InputStickerSetAnimatedEmoji
- type InputStickerSetDice
- type InputStickerSetEmpty
- type InputStickerSetID
- type InputStickerSetItem
- type InputStickerSetShortName
- type InputStickerSetThumb
- type InputStickeredMedia
- type InputStickeredMediaDocument
- type InputStickeredMediaPhoto
- type InputTakeoutFileLocation
- type InputTheme
- type InputThemeObj
- type InputThemeSettings
- type InputThemeSlug
- type InputUser
- type InputUserEmpty
- type InputUserFromMessage
- type InputUserObj
- type InputUserSelf
- type InputWallPaper
- type InputWallPaperNoFile
- type InputWallPaperObj
- type InputWallPaperSlug
- type InputWebDocument
- type InputWebFileGeoPointLocation
- type InputWebFileLocation
- type InputWebFileLocationObj
- type Invoice
- type InvokeWithLayerParams
- type InvokeWithTakeoutParams
- type IpPort
- type IpPortObj
- type IpPortSecret
- type JsonArray
- type JsonBool
- type JsonNull
- type JsonNumber
- type JsonObject
- type JsonObjectValue
- type JsonString
- type JsonValue
- type KeyboardButton
- type KeyboardButtonBuy
- type KeyboardButtonCallback
- type KeyboardButtonGame
- type KeyboardButtonObj
- type KeyboardButtonRequestGeoLocation
- type KeyboardButtonRequestPhone
- type KeyboardButtonRequestPoll
- type KeyboardButtonRow
- type KeyboardButtonSwitchInline
- type KeyboardButtonURL
- type KeyboardButtonURLAuth
- type LabeledPrice
- type LangPackDifference
- type LangPackLanguage
- type LangPackString
- type LangPackStringDeleted
- type LangPackStringObj
- type LangPackStringPluralized
- type LangpackGetDifferenceParams
- type LangpackGetLangPackParams
- type LangpackGetLanguageParams
- type LangpackGetLanguagesParams
- type LangpackGetStringsParams
- type MaskCoords
- type Message
- type MessageAction
- type MessageActionBotAllowed
- type MessageActionChannelCreate
- type MessageActionChannelMigrateFrom
- type MessageActionChatAddUser
- type MessageActionChatCreate
- type MessageActionChatDeletePhoto
- type MessageActionChatDeleteUser
- type MessageActionChatEditPhoto
- type MessageActionChatEditTitle
- type MessageActionChatJoinedByLink
- type MessageActionChatMigrateTo
- type MessageActionContactSignUp
- type MessageActionCustomAction
- type MessageActionEmpty
- type MessageActionGameScore
- type MessageActionGeoProximityReached
- type MessageActionHistoryClear
- type MessageActionPaymentSent
- type MessageActionPaymentSentMe
- type MessageActionPhoneCall
- type MessageActionPinMessage
- type MessageActionScreenshotTaken
- type MessageActionSecureValuesSent
- type MessageActionSecureValuesSentMe
- type MessageEmpty
- type MessageEntity
- type MessageEntityBankCard
- type MessageEntityBlockquote
- type MessageEntityBold
- type MessageEntityBotCommand
- type MessageEntityCashtag
- type MessageEntityCode
- type MessageEntityEmail
- type MessageEntityHashtag
- type MessageEntityItalic
- type MessageEntityMention
- type MessageEntityMentionName
- type MessageEntityPhone
- type MessageEntityPre
- type MessageEntityStrike
- type MessageEntityTextURL
- type MessageEntityURL
- type MessageEntityUnderline
- type MessageEntityUnknown
- type MessageFwdHeader
- type MessageInteractionCounters
- type MessageMedia
- type MessageMediaContact
- type MessageMediaDice
- type MessageMediaDocument
- type MessageMediaEmpty
- type MessageMediaGame
- type MessageMediaGeo
- type MessageMediaGeoLive
- type MessageMediaInvoice
- type MessageMediaPhoto
- type MessageMediaPoll
- type MessageMediaUnsupported
- type MessageMediaVenue
- type MessageMediaWebPage
- type MessageObj
- type MessageRange
- type MessageReplies
- type MessageReplyHeader
- type MessageService
- type MessageUserVote
- type MessageUserVoteInputOption
- type MessageUserVoteMultiple
- type MessageUserVoteObj
- type MessageViews
- type MessagesAcceptEncryptionParams
- type MessagesAcceptURLAuthParams
- type MessagesAddChatUserParams
- type MessagesAffectedHistory
- type MessagesAffectedMessages
- type MessagesAllStickers
- type MessagesAllStickersNotModified
- type MessagesAllStickersObj
- type MessagesArchivedStickers
- type MessagesBotCallbackAnswer
- type MessagesBotResults
- type MessagesChannelMessages
- type MessagesChatFull
- type MessagesChats
- type MessagesChatsObj
- type MessagesChatsSlice
- type MessagesCheckChatInviteParams
- type MessagesClearAllDraftsParams
- type MessagesClearRecentStickersParams
- type MessagesCreateChatParams
- type MessagesDeleteChatUserParams
- type MessagesDeleteHistoryParams
- type MessagesDeleteMessagesParams
- type MessagesDeleteScheduledMessagesParams
- type MessagesDhConfig
- type MessagesDhConfigNotModified
- type MessagesDhConfigObj
- type MessagesDialogs
- type MessagesDialogsNotModified
- type MessagesDialogsObj
- type MessagesDialogsSlice
- type MessagesDiscardEncryptionParams
- type MessagesDiscussionMessage
- type MessagesEditChatAboutParams
- type MessagesEditChatAdminParams
- type MessagesEditChatDefaultBannedRightsParams
- type MessagesEditChatPhotoParams
- type MessagesEditChatTitleParams
- type MessagesEditInlineBotMessageParams
- type MessagesEditMessageParams
- type MessagesExportChatInviteParams
- type MessagesFaveStickerParams
- type MessagesFavedStickers
- type MessagesFavedStickersNotModified
- type MessagesFavedStickersObj
- type MessagesFeaturedStickers
- type MessagesFeaturedStickersNotModified
- type MessagesFeaturedStickersObj
- type MessagesFilter
- type MessagesForwardMessagesParams
- type MessagesFoundStickerSets
- type MessagesFoundStickerSetsNotModified
- type MessagesFoundStickerSetsObj
- type MessagesGetAllChatsParams
- type MessagesGetAllDraftsParams
- type MessagesGetAllStickersParams
- type MessagesGetArchivedStickersParams
- type MessagesGetAttachedStickersParams
- type MessagesGetBotCallbackAnswerParams
- type MessagesGetChatsParams
- type MessagesGetCommonChatsParams
- type MessagesGetDhConfigParams
- type MessagesGetDialogFiltersParams
- type MessagesGetDialogUnreadMarksParams
- type MessagesGetDialogsParams
- type MessagesGetDiscussionMessageParams
- type MessagesGetDocumentByHashParams
- type MessagesGetEmojiKeywordsDifferenceParams
- type MessagesGetEmojiKeywordsLanguagesParams
- type MessagesGetEmojiKeywordsParams
- type MessagesGetEmojiURLParams
- type MessagesGetFavedStickersParams
- type MessagesGetFeaturedStickersParams
- type MessagesGetFullChatParams
- type MessagesGetGameHighScoresParams
- type MessagesGetHistoryParams
- type MessagesGetInlineBotResultsParams
- type MessagesGetInlineGameHighScoresParams
- type MessagesGetMaskStickersParams
- type MessagesGetMessageEditDataParams
- type MessagesGetMessagesParams
- type MessagesGetMessagesViewsParams
- type MessagesGetOldFeaturedStickersParams
- type MessagesGetOnlinesParams
- type MessagesGetPeerDialogsParams
- type MessagesGetPeerSettingsParams
- type MessagesGetPinnedDialogsParams
- type MessagesGetPollResultsParams
- type MessagesGetPollVotesParams
- type MessagesGetRecentLocationsParams
- type MessagesGetRecentStickersParams
- type MessagesGetRepliesParams
- type MessagesGetSavedGifsParams
- type MessagesGetScheduledHistoryParams
- type MessagesGetScheduledMessagesParams
- type MessagesGetSearchCountersParams
- type MessagesGetSplitRangesParams
- type MessagesGetStatsURLParams
- type MessagesGetStickerSetParams
- type MessagesGetStickersParams
- type MessagesGetSuggestedDialogFiltersParams
- type MessagesGetUnreadMentionsParams
- type MessagesGetWebPageParams
- type MessagesGetWebPagePreviewParams
- type MessagesHidePeerSettingsBarParams
- type MessagesHighScores
- type MessagesImportChatInviteParams
- type MessagesInactiveChats
- type MessagesInstallStickerSetParams
- type MessagesMarkDialogUnreadParams
- type MessagesMessageEditData
- type MessagesMessageViews
- type MessagesMessages
- type MessagesMessagesNotModified
- type MessagesMessagesObj
- type MessagesMessagesSlice
- type MessagesMigrateChatParams
- type MessagesPeerDialogs
- type MessagesReadDiscussionParams
- type MessagesReadEncryptedHistoryParams
- type MessagesReadFeaturedStickersParams
- type MessagesReadHistoryParams
- type MessagesReadMentionsParams
- type MessagesReadMessageContentsParams
- type MessagesReceivedMessagesParams
- type MessagesReceivedQueueParams
- type MessagesRecentStickers
- type MessagesRecentStickersNotModified
- type MessagesRecentStickersObj
- type MessagesReorderPinnedDialogsParams
- type MessagesReorderStickerSetsParams
- type MessagesReportEncryptedSpamParams
- type MessagesReportParams
- type MessagesReportSpamParams
- type MessagesRequestEncryptionParams
- type MessagesRequestURLAuthParams
- type MessagesSaveDraftParams
- type MessagesSaveGifParams
- type MessagesSaveRecentStickerParams
- type MessagesSavedGifs
- type MessagesSavedGifsNotModified
- type MessagesSavedGifsObj
- type MessagesSearchCounter
- type MessagesSearchGlobalParams
- type MessagesSearchParams
- type MessagesSearchStickerSetsParams
- type MessagesSendEncryptedFileParams
- type MessagesSendEncryptedParams
- type MessagesSendEncryptedServiceParams
- type MessagesSendInlineBotResultParams
- type MessagesSendMediaParams
- type MessagesSendMessageParams
- type MessagesSendMultiMediaParams
- type MessagesSendScheduledMessagesParams
- type MessagesSendScreenshotNotificationParams
- type MessagesSendVoteParams
- type MessagesSentEncryptedFile
- type MessagesSentEncryptedMessage
- type MessagesSentEncryptedMessageObj
- type MessagesSetBotCallbackAnswerParams
- type MessagesSetBotPrecheckoutResultsParams
- type MessagesSetBotShippingResultsParams
- type MessagesSetEncryptedTypingParams
- type MessagesSetGameScoreParams
- type MessagesSetInlineBotResultsParams
- type MessagesSetInlineGameScoreParams
- type MessagesSetTypingParams
- type MessagesStartBotParams
- type MessagesStickerSet
- type MessagesStickerSetInstallResult
- type MessagesStickerSetInstallResultArchive
- type MessagesStickerSetInstallResultSuccess
- type MessagesStickers
- type MessagesStickersNotModified
- type MessagesStickersObj
- type MessagesToggleDialogPinParams
- type MessagesToggleStickerSetsParams
- type MessagesUninstallStickerSetParams
- type MessagesUnpinAllMessagesParams
- type MessagesUpdateDialogFilterParams
- type MessagesUpdateDialogFiltersOrderParams
- type MessagesUpdatePinnedMessageParams
- type MessagesUploadEncryptedFileParams
- type MessagesUploadMediaParams
- type MessagesVotesList
- type NearestDc
- type NotifyBroadcasts
- type NotifyChats
- type NotifyPeer
- type NotifyPeerObj
- type NotifyUsers
- type Page
- type PageBlock
- type PageBlockAnchor
- type PageBlockAudio
- type PageBlockAuthorDate
- type PageBlockBlockquote
- type PageBlockChannel
- type PageBlockCollage
- type PageBlockCover
- type PageBlockDetails
- type PageBlockDivider
- type PageBlockEmbed
- type PageBlockEmbedPost
- type PageBlockFooter
- type PageBlockHeader
- type PageBlockKicker
- type PageBlockList
- type PageBlockMap
- type PageBlockOrderedList
- type PageBlockParagraph
- type PageBlockPhoto
- type PageBlockPreformatted
- type PageBlockPullquote
- type PageBlockRelatedArticles
- type PageBlockSlideshow
- type PageBlockSubheader
- type PageBlockSubtitle
- type PageBlockTable
- type PageBlockTitle
- type PageBlockUnsupported
- type PageBlockVideo
- type PageCaption
- type PageListItem
- type PageListItemBlocks
- type PageListItemText
- type PageListOrderedItem
- type PageListOrderedItemBlocks
- type PageListOrderedItemText
- type PageRelatedArticle
- type PageTableCell
- type PageTableRow
- type PasswordKdfAlgo
- type PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow
- type PasswordKdfAlgoUnknown
- type PaymentCharge
- type PaymentRequestedInfo
- type PaymentSavedCredentialsCard
- type PaymentsBankCardData
- type PaymentsClearSavedInfoParams
- type PaymentsGetBankCardDataParams
- type PaymentsGetPaymentFormParams
- type PaymentsGetPaymentReceiptParams
- type PaymentsGetSavedInfoParams
- type PaymentsPaymentForm
- type PaymentsPaymentReceipt
- type PaymentsPaymentResult
- type PaymentsPaymentResultObj
- type PaymentsPaymentVerificationNeeded
- type PaymentsSavedInfo
- type PaymentsSendPaymentFormParams
- type PaymentsValidateRequestedInfoParams
- type PaymentsValidatedRequestedInfo
- type Peer
- type PeerBlocked
- type PeerChannel
- type PeerChat
- type PeerLocated
- type PeerLocatedObj
- type PeerNotifySettings
- type PeerSelfLocated
- type PeerSettings
- type PeerUser
- type PhoneAcceptCallParams
- type PhoneCall
- type PhoneCallAccepted
- type PhoneCallDiscardReason
- type PhoneCallDiscarded
- type PhoneCallEmpty
- type PhoneCallObj
- type PhoneCallProtocol
- type PhoneCallRequested
- type PhoneCallWaiting
- type PhoneConfirmCallParams
- type PhoneConnection
- type PhoneConnectionObj
- type PhoneConnectionWebrtc
- type PhoneDiscardCallParams
- type PhoneGetCallConfigParams
- type PhonePhoneCall
- type PhoneReceivedCallParams
- type PhoneRequestCallParams
- type PhoneSaveCallDebugParams
- type PhoneSendSignalingDataParams
- type PhoneSetCallRatingParams
- type Photo
- type PhotoCachedSize
- type PhotoEmpty
- type PhotoObj
- type PhotoPathSize
- type PhotoSize
- type PhotoSizeEmpty
- type PhotoSizeObj
- type PhotoSizeProgressive
- type PhotoStrippedSize
- type PhotosDeletePhotosParams
- type PhotosGetUserPhotosParams
- type PhotosPhoto
- type PhotosPhotos
- type PhotosPhotosObj
- type PhotosPhotosSlice
- type PhotosUpdateProfilePhotoParams
- type PhotosUploadProfilePhotoParams
- type Poll
- type PollAnswer
- type PollAnswerVoters
- type PollResults
- type PopularContact
- type PostAddress
- type PrivacyKey
- type PrivacyRule
- type PrivacyValueAllowAll
- type PrivacyValueAllowChatParticipants
- type PrivacyValueAllowContacts
- type PrivacyValueAllowUsers
- type PrivacyValueDisallowAll
- type PrivacyValueDisallowChatParticipants
- type PrivacyValueDisallowContacts
- type PrivacyValueDisallowUsers
- type ReceivedNotifyMessage
- type RecentMeURL
- type RecentMeURLChat
- type RecentMeURLChatInvite
- type RecentMeURLStickerSet
- type RecentMeURLUnknown
- type RecentMeURLUser
- type ReplyInlineMarkup
- type ReplyKeyboardForceReply
- type ReplyKeyboardHide
- type ReplyKeyboardMarkup
- type ReplyMarkup
- type ReportReason
- type RestrictionReason
- type RichText
- type SavedPhoneContact
- type SecureCredentialsEncrypted
- type SecureData
- type SecureFile
- type SecureFileEmpty
- type SecureFileObj
- type SecurePasswordKdfAlgo
- type SecurePasswordKdfAlgoPbkdf2Hmacsha512Iter100000
- type SecurePasswordKdfAlgoSHA512
- type SecurePasswordKdfAlgoUnknown
- type SecurePlainData
- type SecurePlainEmail
- type SecurePlainPhone
- type SecureRequiredType
- type SecureRequiredTypeObj
- type SecureRequiredTypeOneOf
- type SecureSecretSettings
- type SecureValue
- type SecureValueError
- type SecureValueErrorData
- type SecureValueErrorFile
- type SecureValueErrorFiles
- type SecureValueErrorFrontSide
- type SecureValueErrorObj
- type SecureValueErrorReverseSide
- type SecureValueErrorSelfie
- type SecureValueErrorTranslationFile
- type SecureValueErrorTranslationFiles
- type SecureValueHash
- type SecureValueType
- type SendMessageAction
- type SendMessageCancelAction
- type SendMessageChooseContactAction
- type SendMessageGamePlayAction
- type SendMessageGeoLocationAction
- type SendMessageRecordAudioAction
- type SendMessageRecordRoundAction
- type SendMessageRecordVideoAction
- type SendMessageTypingAction
- type SendMessageUploadAudioAction
- type SendMessageUploadDocumentAction
- type SendMessageUploadPhotoAction
- type SendMessageUploadRoundAction
- type SendMessageUploadVideoAction
- type ShippingOption
- type StatsAbsValueAndPrev
- type StatsBroadcastStats
- type StatsDateRangeDays
- type StatsGetBroadcastStatsParams
- type StatsGetMegagroupStatsParams
- type StatsGetMessagePublicForwardsParams
- type StatsGetMessageStatsParams
- type StatsGraph
- type StatsGraphAsync
- type StatsGraphError
- type StatsGraphObj
- type StatsGroupTopAdmin
- type StatsGroupTopInviter
- type StatsGroupTopPoster
- type StatsLoadAsyncGraphParams
- type StatsMegagroupStats
- type StatsMessageStats
- type StatsPercentValue
- type StatsURL
- type StickerPack
- type StickerSet
- type StickerSetCovered
- type StickerSetCoveredObj
- type StickerSetMultiCovered
- type StickersAddStickerToSetParams
- type StickersChangeStickerPositionParams
- type StickersCreateStickerSetParams
- type StickersRemoveStickerFromSetParams
- type StickersSetStickerSetThumbParams
- type StorageFileType
- type TextAnchor
- type TextBold
- type TextConcat
- type TextEmail
- type TextEmpty
- type TextFixed
- type TextImage
- type TextItalic
- type TextMarked
- type TextPhone
- type TextPlain
- type TextStrike
- type TextSubscript
- type TextSuperscript
- type TextURL
- type TextUnderline
- type Theme
- type ThemeSettings
- type TopPeer
- type TopPeerCategory
- type TopPeerCategoryPeers
- type URLAuthResult
- type URLAuthResultAccepted
- type URLAuthResultDefault
- type URLAuthResultRequest
- type Update
- type UpdateBotCallbackQuery
- type UpdateBotInlineQuery
- type UpdateBotInlineSend
- type UpdateBotPrecheckoutQuery
- type UpdateBotShippingQuery
- type UpdateBotWebhookJson
- type UpdateBotWebhookJsonQuery
- type UpdateChannel
- type UpdateChannelAvailableMessages
- type UpdateChannelMessageForwards
- type UpdateChannelMessageViews
- type UpdateChannelParticipant
- type UpdateChannelReadMessagesContents
- type UpdateChannelTooLong
- type UpdateChannelUserTyping
- type UpdateChannelWebPage
- type UpdateChatDefaultBannedRights
- type UpdateChatParticipantAdd
- type UpdateChatParticipantAdmin
- type UpdateChatParticipantDelete
- type UpdateChatParticipants
- type UpdateChatUserTyping
- type UpdateConfig
- type UpdateContactsReset
- type UpdateDcOptions
- type UpdateDeleteChannelMessages
- type UpdateDeleteMessages
- type UpdateDeleteScheduledMessages
- type UpdateDialogFilter
- type UpdateDialogFilterOrder
- type UpdateDialogFilters
- type UpdateDialogPinned
- type UpdateDialogUnreadMark
- type UpdateDraftMessage
- type UpdateEditChannelMessage
- type UpdateEditMessage
- type UpdateEncryptedChatTyping
- type UpdateEncryptedMessagesRead
- type UpdateEncryption
- type UpdateFavedStickers
- type UpdateFolderPeers
- type UpdateGeoLiveViewed
- type UpdateInlineBotCallbackQuery
- type UpdateLangPack
- type UpdateLangPackTooLong
- type UpdateLoginToken
- type UpdateMessageID
- type UpdateMessagePoll
- type UpdateMessagePollVote
- type UpdateNewChannelMessage
- type UpdateNewEncryptedMessage
- type UpdateNewMessage
- type UpdateNewScheduledMessage
- type UpdateNewStickerSet
- type UpdateNotifySettings
- type UpdatePeerBlocked
- type UpdatePeerLocated
- type UpdatePeerSettings
- type UpdatePhoneCall
- type UpdatePhoneCallSignalingData
- type UpdatePinnedChannelMessages
- type UpdatePinnedDialogs
- type UpdatePinnedMessages
- type UpdatePrivacy
- type UpdatePtsChanged
- type UpdateReadChannelDiscussionInbox
- type UpdateReadChannelDiscussionOutbox
- type UpdateReadChannelInbox
- type UpdateReadChannelOutbox
- type UpdateReadFeaturedStickers
- type UpdateReadHistoryInbox
- type UpdateReadHistoryOutbox
- type UpdateReadMessagesContents
- type UpdateRecentStickers
- type UpdateSavedGifs
- type UpdateServiceNotification
- type UpdateShort
- type UpdateShortChatMessage
- type UpdateShortMessage
- type UpdateShortSentMessage
- type UpdateStickerSets
- type UpdateStickerSetsOrder
- type UpdateTheme
- type UpdateUserName
- type UpdateUserPhone
- type UpdateUserPhoto
- type UpdateUserStatus
- type UpdateUserTyping
- type UpdateWebPage
- type Updates
- type UpdatesChannelDifference
- type UpdatesChannelDifferenceEmpty
- type UpdatesChannelDifferenceObj
- type UpdatesChannelDifferenceTooLong
- type UpdatesCombined
- type UpdatesDifference
- type UpdatesDifferenceEmpty
- type UpdatesDifferenceObj
- type UpdatesDifferenceSlice
- type UpdatesDifferenceTooLong
- type UpdatesGetChannelDifferenceParams
- type UpdatesGetDifferenceParams
- type UpdatesGetStateParams
- type UpdatesObj
- type UpdatesState
- type UpdatesTooLong
- type UploadCdnFile
- type UploadCdnFileObj
- type UploadCdnFileReuploadNeeded
- type UploadFile
- type UploadFileCdnRedirect
- type UploadFileObj
- type UploadGetCdnFileHashesParams
- type UploadGetCdnFileParams
- type UploadGetFileHashesParams
- type UploadGetFileParams
- type UploadGetWebFileParams
- type UploadReuploadCdnFileParams
- type UploadSaveBigFilePartParams
- type UploadSaveFilePartParams
- type UploadWebFile
- type User
- type UserEmpty
- type UserFull
- type UserObj
- type UserProfilePhoto
- type UserProfilePhotoEmpty
- type UserProfilePhotoObj
- type UserStatus
- type UserStatusEmpty
- type UserStatusLastMonth
- type UserStatusLastWeek
- type UserStatusOffline
- type UserStatusOnline
- type UserStatusRecently
- type UsersGetFullUserParams
- type UsersGetUsersParams
- type UsersSetSecureValueErrorsParams
- type VideoSize
- type WallPaper
- type WallPaperNoFile
- type WallPaperObj
- type WallPaperSettings
- type WebAuthorization
- type WebDocument
- type WebDocumentNoProxy
- type WebDocumentObj
- type WebPage
- type WebPageAttributeTheme
- type WebPageEmpty
- type WebPageNotModified
- type WebPageObj
- type WebPagePending
Constants ¶
const (
ApiVersion = 121
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessPointRule ¶
func (*AccessPointRule) CRC ¶
func (*AccessPointRule) CRC() uint32
type AccountAcceptAuthorizationParams ¶
type AccountAcceptAuthorizationParams struct {
BotID int32 // Bot ID
Scope string // Telegram Passport element types requested by the service
PublicKey string // Service's public key
ValueHashes []*SecureValueHash // Types of values sent and their hashes
Credentials *SecureCredentialsEncrypted // Encrypted values
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountAcceptAuthorizationParams) CRC ¶
func (*AccountAcceptAuthorizationParams) CRC() uint32
type AccountAuthorizationForm ¶
type AccountAuthorizationForm struct {
RequiredTypes []SecureRequiredType
Values []*SecureValue
Errors []SecureValueError
Users []User
PrivacyPolicyURL string `tl:"flag:0"`
}
func (*AccountAuthorizationForm) CRC ¶
func (*AccountAuthorizationForm) CRC() uint32
func (*AccountAuthorizationForm) FlagIndex ¶
func (*AccountAuthorizationForm) FlagIndex() int
type AccountAuthorizations ¶
type AccountAuthorizations struct {
Authorizations []*Authorization
}
func (*AccountAuthorizations) CRC ¶
func (*AccountAuthorizations) CRC() uint32
type AccountAutoDownloadSettings ¶
type AccountAutoDownloadSettings struct {
Low *AutoDownloadSettings
Medium *AutoDownloadSettings
High *AutoDownloadSettings
}
func (*AccountAutoDownloadSettings) CRC ¶
func (*AccountAutoDownloadSettings) CRC() uint32
type AccountCancelPasswordEmailParams ¶
type AccountCancelPasswordEmailParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountCancelPasswordEmailParams) CRC ¶
func (*AccountCancelPasswordEmailParams) CRC() uint32
type AccountChangePhoneParams ¶
type AccountChangePhoneParams struct {
PhoneNumber string // Phone number in international format
PhoneCodeHash string // SMS-message ID
PhoneCode string
}
Registers a validated phone number in the system.
func (*AccountChangePhoneParams) CRC ¶
func (*AccountChangePhoneParams) CRC() uint32
type AccountCheckUsernameParams ¶
type AccountCheckUsernameParams struct {
Username string
}
Registers a validated phone number in the system.
func (*AccountCheckUsernameParams) CRC ¶
func (*AccountCheckUsernameParams) CRC() uint32
type AccountConfirmPasswordEmailParams ¶
type AccountConfirmPasswordEmailParams struct {
Code string
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountConfirmPasswordEmailParams) CRC ¶
func (*AccountConfirmPasswordEmailParams) CRC() uint32
type AccountConfirmPhoneParams ¶
Registers a validated phone number in the system.
func (*AccountConfirmPhoneParams) CRC ¶
func (*AccountConfirmPhoneParams) CRC() uint32
type AccountContentSettings ¶
type AccountContentSettings struct {
SensitiveEnabled bool `tl:"flag:0,encoded_in_bitflags"`
SensitiveCanChange bool `tl:"flag:1,encoded_in_bitflags"`
}
func (*AccountContentSettings) CRC ¶
func (*AccountContentSettings) CRC() uint32
func (*AccountContentSettings) FlagIndex ¶
func (*AccountContentSettings) FlagIndex() int
type AccountCreateThemeParams ¶
type AccountCreateThemeParams struct {
Slug string
Title string
Document InputDocument `tl:"flag:2"`
Settings *InputThemeSettings `tl:"flag:3"` // Settings for the code type to send
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountCreateThemeParams) CRC ¶
func (*AccountCreateThemeParams) CRC() uint32
func (*AccountCreateThemeParams) FlagIndex ¶
func (*AccountCreateThemeParams) FlagIndex() int
type AccountDaysTtl ¶
type AccountDaysTtl struct {
Days int32
}
func (*AccountDaysTtl) CRC ¶
func (*AccountDaysTtl) CRC() uint32
type AccountDeleteAccountParams ¶
type AccountDeleteAccountParams struct {
Reason string
}
Registers a validated phone number in the system.
func (*AccountDeleteAccountParams) CRC ¶
func (*AccountDeleteAccountParams) CRC() uint32
type AccountDeleteSecureValueParams ¶
type AccountDeleteSecureValueParams struct {
Types []SecureValueType
}
Registers a validated phone number in the system.
func (*AccountDeleteSecureValueParams) CRC ¶
func (*AccountDeleteSecureValueParams) CRC() uint32
type AccountFinishTakeoutSessionParams ¶
type AccountFinishTakeoutSessionParams struct {
Success bool `tl:"flag:0,encoded_in_bitflags"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountFinishTakeoutSessionParams) CRC ¶
func (*AccountFinishTakeoutSessionParams) CRC() uint32
func (*AccountFinishTakeoutSessionParams) FlagIndex ¶
func (*AccountFinishTakeoutSessionParams) FlagIndex() int
type AccountGetAccountTtlParams ¶
type AccountGetAccountTtlParams struct{}
Registers a validated phone number in the system.
func (*AccountGetAccountTtlParams) CRC ¶
func (*AccountGetAccountTtlParams) CRC() uint32
type AccountGetAllSecureValuesParams ¶
type AccountGetAllSecureValuesParams struct{}
Registers a validated phone number in the system.
func (*AccountGetAllSecureValuesParams) CRC ¶
func (*AccountGetAllSecureValuesParams) CRC() uint32
type AccountGetAuthorizationFormParams ¶
Registers a validated phone number in the system.
func (*AccountGetAuthorizationFormParams) CRC ¶
func (*AccountGetAuthorizationFormParams) CRC() uint32
type AccountGetAuthorizationsParams ¶
type AccountGetAuthorizationsParams struct{}
Registers a validated phone number in the system.
func (*AccountGetAuthorizationsParams) CRC ¶
func (*AccountGetAuthorizationsParams) CRC() uint32
type AccountGetAutoDownloadSettingsParams ¶
type AccountGetAutoDownloadSettingsParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountGetAutoDownloadSettingsParams) CRC ¶
func (*AccountGetAutoDownloadSettingsParams) CRC() uint32
type AccountGetContactSignUpNotificationParams ¶
type AccountGetContactSignUpNotificationParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountGetContactSignUpNotificationParams) CRC ¶
func (*AccountGetContactSignUpNotificationParams) CRC() uint32
type AccountGetContentSettingsParams ¶
type AccountGetContentSettingsParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountGetContentSettingsParams) CRC ¶
func (*AccountGetContentSettingsParams) CRC() uint32
type AccountGetGlobalPrivacySettingsParams ¶
type AccountGetGlobalPrivacySettingsParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountGetGlobalPrivacySettingsParams) CRC ¶
func (*AccountGetGlobalPrivacySettingsParams) CRC() uint32
type AccountGetMultiWallPapersParams ¶
type AccountGetMultiWallPapersParams struct {
Wallpapers []InputWallPaper
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountGetMultiWallPapersParams) CRC ¶
func (*AccountGetMultiWallPapersParams) CRC() uint32
type AccountGetNotifyExceptionsParams ¶
type AccountGetNotifyExceptionsParams struct {
CompareSound bool `tl:"flag:1,encoded_in_bitflags"`
Peer InputNotifyPeer `tl:"flag:0"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountGetNotifyExceptionsParams) CRC ¶
func (*AccountGetNotifyExceptionsParams) CRC() uint32
func (*AccountGetNotifyExceptionsParams) FlagIndex ¶
func (*AccountGetNotifyExceptionsParams) FlagIndex() int
type AccountGetNotifySettingsParams ¶
type AccountGetNotifySettingsParams struct {
Peer InputNotifyPeer
}
Registers a validated phone number in the system.
func (*AccountGetNotifySettingsParams) CRC ¶
func (*AccountGetNotifySettingsParams) CRC() uint32
type AccountGetPasswordParams ¶
type AccountGetPasswordParams struct{}
Registers a validated phone number in the system.
func (*AccountGetPasswordParams) CRC ¶
func (*AccountGetPasswordParams) CRC() uint32
type AccountGetPasswordSettingsParams ¶
type AccountGetPasswordSettingsParams struct {
Password InputCheckPasswordSRP
}
Registers a validated phone number in the system.
func (*AccountGetPasswordSettingsParams) CRC ¶
func (*AccountGetPasswordSettingsParams) CRC() uint32
type AccountGetPrivacyParams ¶
type AccountGetPrivacyParams struct {
Key InputPrivacyKey
}
Registers a validated phone number in the system.
func (*AccountGetPrivacyParams) CRC ¶
func (*AccountGetPrivacyParams) CRC() uint32
type AccountGetSecureValueParams ¶
type AccountGetSecureValueParams struct {
Types []SecureValueType
}
Registers a validated phone number in the system.
func (*AccountGetSecureValueParams) CRC ¶
func (*AccountGetSecureValueParams) CRC() uint32
type AccountGetThemeParams ¶
type AccountGetThemeParams struct {
Format string
Theme InputTheme
DocumentID int64
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountGetThemeParams) CRC ¶
func (*AccountGetThemeParams) CRC() uint32
type AccountGetThemesParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountGetThemesParams) CRC ¶
func (*AccountGetThemesParams) CRC() uint32
type AccountGetTmpPasswordParams ¶
type AccountGetTmpPasswordParams struct {
Password InputCheckPasswordSRP
Period int32
}
Registers a validated phone number in the system.
func (*AccountGetTmpPasswordParams) CRC ¶
func (*AccountGetTmpPasswordParams) CRC() uint32
type AccountGetWallPaperParams ¶
type AccountGetWallPaperParams struct {
Wallpaper InputWallPaper
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountGetWallPaperParams) CRC ¶
func (*AccountGetWallPaperParams) CRC() uint32
type AccountGetWallPapersParams ¶
type AccountGetWallPapersParams struct {
Hash int32
}
Registers a validated phone number in the system.
func (*AccountGetWallPapersParams) CRC ¶
func (*AccountGetWallPapersParams) CRC() uint32
type AccountGetWebAuthorizationsParams ¶
type AccountGetWebAuthorizationsParams struct{}
Registers a validated phone number in the system.
func (*AccountGetWebAuthorizationsParams) CRC ¶
func (*AccountGetWebAuthorizationsParams) CRC() uint32
type AccountInitTakeoutSessionParams ¶
type AccountInitTakeoutSessionParams struct {
Contacts bool `tl:"flag:0,encoded_in_bitflags"`
MessageUsers bool `tl:"flag:1,encoded_in_bitflags"`
MessageChats bool `tl:"flag:2,encoded_in_bitflags"`
MessageMegagroups bool `tl:"flag:3,encoded_in_bitflags"`
MessageChannels bool `tl:"flag:4,encoded_in_bitflags"`
Files bool `tl:"flag:5,encoded_in_bitflags"`
FileMaxSize int32 `tl:"flag:5"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountInitTakeoutSessionParams) CRC ¶
func (*AccountInitTakeoutSessionParams) CRC() uint32
func (*AccountInitTakeoutSessionParams) FlagIndex ¶
func (*AccountInitTakeoutSessionParams) FlagIndex() int
type AccountInstallThemeParams ¶
type AccountInstallThemeParams struct {
Dark bool `tl:"flag:0,encoded_in_bitflags"`
Format string `tl:"flag:1"`
Theme InputTheme `tl:"flag:1"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountInstallThemeParams) CRC ¶
func (*AccountInstallThemeParams) CRC() uint32
func (*AccountInstallThemeParams) FlagIndex ¶
func (*AccountInstallThemeParams) FlagIndex() int
type AccountInstallWallPaperParams ¶
type AccountInstallWallPaperParams struct {
Wallpaper InputWallPaper
Settings *WallPaperSettings // Settings for the code type to send
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountInstallWallPaperParams) CRC ¶
func (*AccountInstallWallPaperParams) CRC() uint32
type AccountPassword ¶
type AccountPassword struct {
HasRecovery bool `tl:"flag:0,encoded_in_bitflags"`
HasSecureValues bool `tl:"flag:1,encoded_in_bitflags"`
HasPassword bool `tl:"flag:2,encoded_in_bitflags"`
CurrentAlgo PasswordKdfAlgo `tl:"flag:2"`
SRPB []byte `tl:"flag:2"`
SRPID int64 `tl:"flag:2"`
Hint string `tl:"flag:3"`
EmailUnconfirmedPattern string `tl:"flag:4"`
NewAlgo PasswordKdfAlgo
NewSecureAlgo SecurePasswordKdfAlgo
SecureRandom []byte
}
func (*AccountPassword) CRC ¶
func (*AccountPassword) CRC() uint32
func (*AccountPassword) FlagIndex ¶
func (*AccountPassword) FlagIndex() int
type AccountPasswordInputSettings ¶
type AccountPasswordInputSettings struct {
NewAlgo PasswordKdfAlgo `tl:"flag:0"`
NewPasswordHash []byte `tl:"flag:0"`
Hint string `tl:"flag:0"`
Email string `tl:"flag:1"`
NewSecureSettings *SecureSecretSettings `tl:"flag:2"`
}
func (*AccountPasswordInputSettings) CRC ¶
func (*AccountPasswordInputSettings) CRC() uint32
func (*AccountPasswordInputSettings) FlagIndex ¶
func (*AccountPasswordInputSettings) FlagIndex() int
type AccountPasswordSettings ¶
type AccountPasswordSettings struct {
Email string `tl:"flag:0"`
SecureSettings *SecureSecretSettings `tl:"flag:1"`
}
func (*AccountPasswordSettings) CRC ¶
func (*AccountPasswordSettings) CRC() uint32
func (*AccountPasswordSettings) FlagIndex ¶
func (*AccountPasswordSettings) FlagIndex() int
type AccountPrivacyRules ¶
type AccountPrivacyRules struct {
Rules []PrivacyRule
Chats []Chat
Users []User
}
func (*AccountPrivacyRules) CRC ¶
func (*AccountPrivacyRules) CRC() uint32
type AccountRegisterDeviceParams ¶
type AccountRegisterDeviceParams struct {
NoMuted bool `tl:"flag:0,encoded_in_bitflags"`
TokenType int32
Token string
AppSandbox bool
Secret []byte
OtherUids []int32
}
Registers a validated phone number in the system.
func (*AccountRegisterDeviceParams) CRC ¶
func (*AccountRegisterDeviceParams) CRC() uint32
func (*AccountRegisterDeviceParams) FlagIndex ¶
func (*AccountRegisterDeviceParams) FlagIndex() int
type AccountReportPeerParams ¶
type AccountReportPeerParams struct {
Peer InputPeer
Reason ReportReason
}
Registers a validated phone number in the system.
func (*AccountReportPeerParams) CRC ¶
func (*AccountReportPeerParams) CRC() uint32
type AccountResendPasswordEmailParams ¶
type AccountResendPasswordEmailParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountResendPasswordEmailParams) CRC ¶
func (*AccountResendPasswordEmailParams) CRC() uint32
type AccountResetAuthorizationParams ¶
type AccountResetAuthorizationParams struct {
Hash int64
}
Registers a validated phone number in the system.
func (*AccountResetAuthorizationParams) CRC ¶
func (*AccountResetAuthorizationParams) CRC() uint32
type AccountResetNotifySettingsParams ¶
type AccountResetNotifySettingsParams struct{}
Registers a validated phone number in the system.
func (*AccountResetNotifySettingsParams) CRC ¶
func (*AccountResetNotifySettingsParams) CRC() uint32
type AccountResetWallPapersParams ¶
type AccountResetWallPapersParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountResetWallPapersParams) CRC ¶
func (*AccountResetWallPapersParams) CRC() uint32
type AccountResetWebAuthorizationParams ¶
type AccountResetWebAuthorizationParams struct {
Hash int64
}
Registers a validated phone number in the system.
func (*AccountResetWebAuthorizationParams) CRC ¶
func (*AccountResetWebAuthorizationParams) CRC() uint32
type AccountResetWebAuthorizationsParams ¶
type AccountResetWebAuthorizationsParams struct{}
Registers a validated phone number in the system.
func (*AccountResetWebAuthorizationsParams) CRC ¶
func (*AccountResetWebAuthorizationsParams) CRC() uint32
type AccountSaveAutoDownloadSettingsParams ¶
type AccountSaveAutoDownloadSettingsParams struct {
Low bool `tl:"flag:0,encoded_in_bitflags"`
High bool `tl:"flag:1,encoded_in_bitflags"`
Settings *AutoDownloadSettings // Settings for the code type to send
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountSaveAutoDownloadSettingsParams) CRC ¶
func (*AccountSaveAutoDownloadSettingsParams) CRC() uint32
func (*AccountSaveAutoDownloadSettingsParams) FlagIndex ¶
func (*AccountSaveAutoDownloadSettingsParams) FlagIndex() int
type AccountSaveSecureValueParams ¶
type AccountSaveSecureValueParams struct {
Value *InputSecureValue
SecureSecretID int64
}
Registers a validated phone number in the system.
func (*AccountSaveSecureValueParams) CRC ¶
func (*AccountSaveSecureValueParams) CRC() uint32
type AccountSaveThemeParams ¶
type AccountSaveThemeParams struct {
Theme InputTheme
Unsave bool
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountSaveThemeParams) CRC ¶
func (*AccountSaveThemeParams) CRC() uint32
type AccountSaveWallPaperParams ¶
type AccountSaveWallPaperParams struct {
Wallpaper InputWallPaper
Unsave bool
Settings *WallPaperSettings // Settings for the code type to send
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountSaveWallPaperParams) CRC ¶
func (*AccountSaveWallPaperParams) CRC() uint32
type AccountSendChangePhoneCodeParams ¶
type AccountSendChangePhoneCodeParams struct {
PhoneNumber string // Phone number in international format
Settings *CodeSettings // Settings for the code type to send
}
Registers a validated phone number in the system.
func (*AccountSendChangePhoneCodeParams) CRC ¶
func (*AccountSendChangePhoneCodeParams) CRC() uint32
type AccountSendConfirmPhoneCodeParams ¶
type AccountSendConfirmPhoneCodeParams struct {
Hash string
Settings *CodeSettings // Settings for the code type to send
}
Registers a validated phone number in the system.
func (*AccountSendConfirmPhoneCodeParams) CRC ¶
func (*AccountSendConfirmPhoneCodeParams) CRC() uint32
type AccountSendVerifyEmailCodeParams ¶
type AccountSendVerifyEmailCodeParams struct {
Email string
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountSendVerifyEmailCodeParams) CRC ¶
func (*AccountSendVerifyEmailCodeParams) CRC() uint32
type AccountSendVerifyPhoneCodeParams ¶
type AccountSendVerifyPhoneCodeParams struct {
PhoneNumber string // Phone number in international format
Settings *CodeSettings // Settings for the code type to send
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountSendVerifyPhoneCodeParams) CRC ¶
func (*AccountSendVerifyPhoneCodeParams) CRC() uint32
type AccountSentEmailCode ¶
func (*AccountSentEmailCode) CRC ¶
func (*AccountSentEmailCode) CRC() uint32
type AccountSetAccountTtlParams ¶
type AccountSetAccountTtlParams struct {
Ttl *AccountDaysTtl
}
Registers a validated phone number in the system.
func (*AccountSetAccountTtlParams) CRC ¶
func (*AccountSetAccountTtlParams) CRC() uint32
type AccountSetContactSignUpNotificationParams ¶
type AccountSetContactSignUpNotificationParams struct {
Silent bool
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountSetContactSignUpNotificationParams) CRC ¶
func (*AccountSetContactSignUpNotificationParams) CRC() uint32
type AccountSetContentSettingsParams ¶
type AccountSetContentSettingsParams struct {
SensitiveEnabled bool `tl:"flag:0,encoded_in_bitflags"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountSetContentSettingsParams) CRC ¶
func (*AccountSetContentSettingsParams) CRC() uint32
func (*AccountSetContentSettingsParams) FlagIndex ¶
func (*AccountSetContentSettingsParams) FlagIndex() int
type AccountSetGlobalPrivacySettingsParams ¶
type AccountSetGlobalPrivacySettingsParams struct {
Settings *GlobalPrivacySettings // Settings for the code type to send
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountSetGlobalPrivacySettingsParams) CRC ¶
func (*AccountSetGlobalPrivacySettingsParams) CRC() uint32
type AccountSetPrivacyParams ¶
type AccountSetPrivacyParams struct {
Key InputPrivacyKey
Rules []InputPrivacyRule
}
Registers a validated phone number in the system.
func (*AccountSetPrivacyParams) CRC ¶
func (*AccountSetPrivacyParams) CRC() uint32
type AccountTakeout ¶
type AccountTakeout struct {
ID int64
}
func (*AccountTakeout) CRC ¶
func (*AccountTakeout) CRC() uint32
type AccountThemes ¶
type AccountThemesNotModified ¶
type AccountThemesNotModified struct{}
func (*AccountThemesNotModified) CRC ¶
func (*AccountThemesNotModified) CRC() uint32
func (*AccountThemesNotModified) ImplementsAccountThemes ¶
func (*AccountThemesNotModified) ImplementsAccountThemes()
type AccountThemesObj ¶
func (*AccountThemesObj) CRC ¶
func (*AccountThemesObj) CRC() uint32
func (*AccountThemesObj) ImplementsAccountThemes ¶
func (*AccountThemesObj) ImplementsAccountThemes()
type AccountTmpPassword ¶
func (*AccountTmpPassword) CRC ¶
func (*AccountTmpPassword) CRC() uint32
type AccountUnregisterDeviceParams ¶
Registers a validated phone number in the system.
func (*AccountUnregisterDeviceParams) CRC ¶
func (*AccountUnregisterDeviceParams) CRC() uint32
type AccountUpdateDeviceLockedParams ¶
type AccountUpdateDeviceLockedParams struct {
Period int32
}
Registers a validated phone number in the system.
func (*AccountUpdateDeviceLockedParams) CRC ¶
func (*AccountUpdateDeviceLockedParams) CRC() uint32
type AccountUpdateNotifySettingsParams ¶
type AccountUpdateNotifySettingsParams struct {
Peer InputNotifyPeer
Settings *InputPeerNotifySettings // Settings for the code type to send
}
Registers a validated phone number in the system.
func (*AccountUpdateNotifySettingsParams) CRC ¶
func (*AccountUpdateNotifySettingsParams) CRC() uint32
type AccountUpdatePasswordSettingsParams ¶
type AccountUpdatePasswordSettingsParams struct {
Password InputCheckPasswordSRP
NewSettings *AccountPasswordInputSettings
}
Registers a validated phone number in the system.
func (*AccountUpdatePasswordSettingsParams) CRC ¶
func (*AccountUpdatePasswordSettingsParams) CRC() uint32
type AccountUpdateProfileParams ¶
type AccountUpdateProfileParams struct {
FirstName string `tl:"flag:0"` // New user first name
LastName string `tl:"flag:1"` // New user last name
About string `tl:"flag:2"`
}
Registers a validated phone number in the system.
func (*AccountUpdateProfileParams) CRC ¶
func (*AccountUpdateProfileParams) CRC() uint32
func (*AccountUpdateProfileParams) FlagIndex ¶
func (*AccountUpdateProfileParams) FlagIndex() int
type AccountUpdateStatusParams ¶
type AccountUpdateStatusParams struct {
Offline bool
}
Registers a validated phone number in the system.
func (*AccountUpdateStatusParams) CRC ¶
func (*AccountUpdateStatusParams) CRC() uint32
type AccountUpdateThemeParams ¶
type AccountUpdateThemeParams struct {
Format string
Theme InputTheme
Slug string `tl:"flag:0"`
Title string `tl:"flag:1"`
Document InputDocument `tl:"flag:2"`
Settings *InputThemeSettings `tl:"flag:3"` // Settings for the code type to send
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountUpdateThemeParams) CRC ¶
func (*AccountUpdateThemeParams) CRC() uint32
func (*AccountUpdateThemeParams) FlagIndex ¶
func (*AccountUpdateThemeParams) FlagIndex() int
type AccountUpdateUsernameParams ¶
type AccountUpdateUsernameParams struct {
Username string
}
Registers a validated phone number in the system.
func (*AccountUpdateUsernameParams) CRC ¶
func (*AccountUpdateUsernameParams) CRC() uint32
type AccountUploadThemeParams ¶
type AccountUploadThemeParams struct {
File InputFile
Thumb InputFile `tl:"flag:0"`
FileName string
MimeType string
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountUploadThemeParams) CRC ¶
func (*AccountUploadThemeParams) CRC() uint32
func (*AccountUploadThemeParams) FlagIndex ¶
func (*AccountUploadThemeParams) FlagIndex() int
type AccountUploadWallPaperParams ¶
type AccountUploadWallPaperParams struct {
File InputFile
MimeType string
Settings *WallPaperSettings // Settings for the code type to send
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountUploadWallPaperParams) CRC ¶
func (*AccountUploadWallPaperParams) CRC() uint32
type AccountVerifyEmailParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountVerifyEmailParams) CRC ¶
func (*AccountVerifyEmailParams) CRC() uint32
type AccountVerifyPhoneParams ¶
type AccountVerifyPhoneParams struct {
PhoneNumber string // Phone number in international format
PhoneCodeHash string // SMS-message ID
PhoneCode string
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*AccountVerifyPhoneParams) CRC ¶
func (*AccountVerifyPhoneParams) CRC() uint32
type AccountWallPapers ¶
type AccountWallPapersNotModified ¶
type AccountWallPapersNotModified struct{}
func (*AccountWallPapersNotModified) CRC ¶
func (*AccountWallPapersNotModified) CRC() uint32
func (*AccountWallPapersNotModified) ImplementsAccountWallPapers ¶
func (*AccountWallPapersNotModified) ImplementsAccountWallPapers()
type AccountWallPapersObj ¶
func (*AccountWallPapersObj) CRC ¶
func (*AccountWallPapersObj) CRC() uint32
func (*AccountWallPapersObj) ImplementsAccountWallPapers ¶
func (*AccountWallPapersObj) ImplementsAccountWallPapers()
type AccountWebAuthorizations ¶
type AccountWebAuthorizations struct {
Authorizations []*WebAuthorization
Users []User
}
func (*AccountWebAuthorizations) CRC ¶
func (*AccountWebAuthorizations) CRC() uint32
type AuthAcceptLoginTokenParams ¶
type AuthAcceptLoginTokenParams struct {
Token []byte
}
Registers a validated phone number in the system.
func (*AuthAcceptLoginTokenParams) CRC ¶
func (*AuthAcceptLoginTokenParams) CRC() uint32
type AuthAuthorization ¶
type AuthAuthorizationObj ¶
func (*AuthAuthorizationObj) CRC ¶
func (*AuthAuthorizationObj) CRC() uint32
func (*AuthAuthorizationObj) FlagIndex ¶
func (*AuthAuthorizationObj) FlagIndex() int
func (*AuthAuthorizationObj) ImplementsAuthAuthorization ¶
func (*AuthAuthorizationObj) ImplementsAuthAuthorization()
type AuthAuthorizationSignUpRequired ¶
type AuthAuthorizationSignUpRequired struct {
TermsOfService *HelpTermsOfService `tl:"flag:0"`
}
func (*AuthAuthorizationSignUpRequired) CRC ¶
func (*AuthAuthorizationSignUpRequired) CRC() uint32
func (*AuthAuthorizationSignUpRequired) FlagIndex ¶
func (*AuthAuthorizationSignUpRequired) FlagIndex() int
func (*AuthAuthorizationSignUpRequired) ImplementsAuthAuthorization ¶
func (*AuthAuthorizationSignUpRequired) ImplementsAuthAuthorization()
type AuthBindTempAuthKeyParams ¶
type AuthBindTempAuthKeyParams struct {
PermAuthKeyID int64
Nonce int64
ExpiresAt int32
EncryptedMessage []byte
}
Registers a validated phone number in the system.
func (*AuthBindTempAuthKeyParams) CRC ¶
func (*AuthBindTempAuthKeyParams) CRC() uint32
type AuthCancelCodeParams ¶
type AuthCancelCodeParams struct {
PhoneNumber string // Phone number in international format
PhoneCodeHash string // SMS-message ID
}
Registers a validated phone number in the system.
func (*AuthCancelCodeParams) CRC ¶
func (*AuthCancelCodeParams) CRC() uint32
type AuthCheckPasswordParams ¶
type AuthCheckPasswordParams struct {
Password InputCheckPasswordSRP
}
Registers a validated phone number in the system.
func (*AuthCheckPasswordParams) CRC ¶
func (*AuthCheckPasswordParams) CRC() uint32
type AuthCodeType ¶
type AuthCodeType uint32
const ( AuthCodeTypeCall AuthCodeType = 0x741cd3e3 AuthCodeTypeFlashCall AuthCodeType = 0x226ccefb AuthCodeTypeSms AuthCodeType = 0x72a3158c )
func (AuthCodeType) CRC ¶
func (e AuthCodeType) CRC() uint32
func (AuthCodeType) String ¶
func (e AuthCodeType) String() string
type AuthDropTempAuthKeysParams ¶
type AuthDropTempAuthKeysParams struct {
ExceptAuthKeys []int64
}
Registers a validated phone number in the system.
func (*AuthDropTempAuthKeysParams) CRC ¶
func (*AuthDropTempAuthKeysParams) CRC() uint32
type AuthExportAuthorizationParams ¶
type AuthExportAuthorizationParams struct {
DcID int32
}
Registers a validated phone number in the system.
func (*AuthExportAuthorizationParams) CRC ¶
func (*AuthExportAuthorizationParams) CRC() uint32
type AuthExportLoginTokenParams ¶
type AuthExportLoginTokenParams struct {
APIID int32 // Application identifier (see App configuration)
APIHash string // Application secret hash (see App configuration)
ExceptIds []int32
}
Registers a validated phone number in the system.
func (*AuthExportLoginTokenParams) CRC ¶
func (*AuthExportLoginTokenParams) CRC() uint32
type AuthExportedAuthorization ¶
func (*AuthExportedAuthorization) CRC ¶
func (*AuthExportedAuthorization) CRC() uint32
type AuthImportAuthorizationParams ¶
Registers a validated phone number in the system.
func (*AuthImportAuthorizationParams) CRC ¶
func (*AuthImportAuthorizationParams) CRC() uint32
type AuthImportBotAuthorizationParams ¶
type AuthImportBotAuthorizationParams struct {
Flags int32 // Flags, see TL conditional fields
APIID int32 // Application identifier (see App configuration)
APIHash string // Application secret hash (see App configuration)
BotAuthToken string
}
Registers a validated phone number in the system.
func (*AuthImportBotAuthorizationParams) CRC ¶
func (*AuthImportBotAuthorizationParams) CRC() uint32
type AuthImportLoginTokenParams ¶
type AuthImportLoginTokenParams struct {
Token []byte
}
Registers a validated phone number in the system.
func (*AuthImportLoginTokenParams) CRC ¶
func (*AuthImportLoginTokenParams) CRC() uint32
type AuthLogOutParams ¶
type AuthLogOutParams struct{}
Registers a validated phone number in the system.
func (*AuthLogOutParams) CRC ¶
func (*AuthLogOutParams) CRC() uint32
type AuthLoginToken ¶
type AuthLoginTokenMigrateTo ¶
func (*AuthLoginTokenMigrateTo) CRC ¶
func (*AuthLoginTokenMigrateTo) CRC() uint32
func (*AuthLoginTokenMigrateTo) ImplementsAuthLoginToken ¶
func (*AuthLoginTokenMigrateTo) ImplementsAuthLoginToken()
type AuthLoginTokenObj ¶
func (*AuthLoginTokenObj) CRC ¶
func (*AuthLoginTokenObj) CRC() uint32
func (*AuthLoginTokenObj) ImplementsAuthLoginToken ¶
func (*AuthLoginTokenObj) ImplementsAuthLoginToken()
type AuthLoginTokenSuccess ¶
type AuthLoginTokenSuccess struct {
Authorization AuthAuthorization
}
func (*AuthLoginTokenSuccess) CRC ¶
func (*AuthLoginTokenSuccess) CRC() uint32
func (*AuthLoginTokenSuccess) ImplementsAuthLoginToken ¶
func (*AuthLoginTokenSuccess) ImplementsAuthLoginToken()
type AuthPasswordRecovery ¶
type AuthPasswordRecovery struct {
EmailPattern string
}
func (*AuthPasswordRecovery) CRC ¶
func (*AuthPasswordRecovery) CRC() uint32
type AuthRecoverPasswordParams ¶
type AuthRecoverPasswordParams struct {
Code string
}
Registers a validated phone number in the system.
func (*AuthRecoverPasswordParams) CRC ¶
func (*AuthRecoverPasswordParams) CRC() uint32
type AuthRequestPasswordRecoveryParams ¶
type AuthRequestPasswordRecoveryParams struct{}
Registers a validated phone number in the system.
func (*AuthRequestPasswordRecoveryParams) CRC ¶
func (*AuthRequestPasswordRecoveryParams) CRC() uint32
type AuthResendCodeParams ¶
type AuthResendCodeParams struct {
PhoneNumber string // Phone number in international format
PhoneCodeHash string // SMS-message ID
}
Registers a validated phone number in the system.
func (*AuthResendCodeParams) CRC ¶
func (*AuthResendCodeParams) CRC() uint32
type AuthResetAuthorizationsParams ¶
type AuthResetAuthorizationsParams struct{}
Registers a validated phone number in the system.
func (*AuthResetAuthorizationsParams) CRC ¶
func (*AuthResetAuthorizationsParams) CRC() uint32
type AuthSendCodeParams ¶
type AuthSendCodeParams struct {
PhoneNumber string // Phone number in international format
APIID int32 // Application identifier (see App configuration)
APIHash string // Application secret hash (see App configuration)
Settings *CodeSettings // Settings for the code type to send
}
Send the verification code for login
func (*AuthSendCodeParams) CRC ¶
func (*AuthSendCodeParams) CRC() uint32
type AuthSentCode ¶
type AuthSentCode struct {
Type AuthSentCodeType
PhoneCodeHash string
NextType AuthCodeType `tl:"flag:1"`
Timeout int32 `tl:"flag:2"`
}
func (*AuthSentCode) CRC ¶
func (*AuthSentCode) CRC() uint32
func (*AuthSentCode) FlagIndex ¶
func (*AuthSentCode) FlagIndex() int
type AuthSentCodeType ¶
type AuthSentCodeTypeApp ¶
type AuthSentCodeTypeApp struct {
Length int32
}
func (*AuthSentCodeTypeApp) CRC ¶
func (*AuthSentCodeTypeApp) CRC() uint32
func (*AuthSentCodeTypeApp) ImplementsAuthSentCodeType ¶
func (*AuthSentCodeTypeApp) ImplementsAuthSentCodeType()
type AuthSentCodeTypeCall ¶
type AuthSentCodeTypeCall struct {
Length int32
}
func (*AuthSentCodeTypeCall) CRC ¶
func (*AuthSentCodeTypeCall) CRC() uint32
func (*AuthSentCodeTypeCall) ImplementsAuthSentCodeType ¶
func (*AuthSentCodeTypeCall) ImplementsAuthSentCodeType()
type AuthSentCodeTypeFlashCall ¶
type AuthSentCodeTypeFlashCall struct {
Pattern string
}
func (*AuthSentCodeTypeFlashCall) CRC ¶
func (*AuthSentCodeTypeFlashCall) CRC() uint32
func (*AuthSentCodeTypeFlashCall) ImplementsAuthSentCodeType ¶
func (*AuthSentCodeTypeFlashCall) ImplementsAuthSentCodeType()
type AuthSentCodeTypeSms ¶
type AuthSentCodeTypeSms struct {
Length int32
}
func (*AuthSentCodeTypeSms) CRC ¶
func (*AuthSentCodeTypeSms) CRC() uint32
func (*AuthSentCodeTypeSms) ImplementsAuthSentCodeType ¶
func (*AuthSentCodeTypeSms) ImplementsAuthSentCodeType()
type AuthSignInParams ¶
type AuthSignInParams struct {
PhoneNumber string // Phone number in international format
PhoneCodeHash string // SMS-message ID
PhoneCode string
}
Registers a validated phone number in the system.
func (*AuthSignInParams) CRC ¶
func (*AuthSignInParams) CRC() uint32
type AuthSignUpParams ¶
type AuthSignUpParams struct {
PhoneNumber string // Phone number in international format
PhoneCodeHash string // SMS-message ID
FirstName string // New user first name
LastName string // New user last name
}
Registers a validated phone number in the system.
func (*AuthSignUpParams) CRC ¶
func (*AuthSignUpParams) CRC() uint32
type Authorization ¶
type Authorization struct {
Current bool `tl:"flag:0,encoded_in_bitflags"`
OfficialApp bool `tl:"flag:1,encoded_in_bitflags"`
PasswordPending bool `tl:"flag:2,encoded_in_bitflags"`
Hash int64
DeviceModel string
Platform string
SystemVersion string
APIID int32
AppName string
AppVersion string
DateCreated int32
DateActive int32
Ip string
Country string
Region string
}
func (*Authorization) CRC ¶
func (*Authorization) CRC() uint32
func (*Authorization) FlagIndex ¶
func (*Authorization) FlagIndex() int
type AutoDownloadSettings ¶
type AutoDownloadSettings struct {
Disabled bool `tl:"flag:0,encoded_in_bitflags"`
VideoPreloadLarge bool `tl:"flag:1,encoded_in_bitflags"`
AudioPreloadNext bool `tl:"flag:2,encoded_in_bitflags"`
PhonecallsLessData bool `tl:"flag:3,encoded_in_bitflags"`
PhotoSizeMax int32
VideoSizeMax int32
FileSizeMax int32
VideoUploadMaxbitrate int32
}
func (*AutoDownloadSettings) CRC ¶
func (*AutoDownloadSettings) CRC() uint32
func (*AutoDownloadSettings) FlagIndex ¶
func (*AutoDownloadSettings) FlagIndex() int
type BankCardOpenURL ¶
func (*BankCardOpenURL) CRC ¶
func (*BankCardOpenURL) CRC() uint32
type BotCommand ¶
func (*BotCommand) CRC ¶
func (*BotCommand) CRC() uint32
type BotInfo ¶
type BotInfo struct {
UserID int32
Description string
Commands []*BotCommand
}
type BotInlineMediaResult ¶
type BotInlineMediaResult struct {
ID string
Type string
Photo Photo `tl:"flag:0"`
Document Document `tl:"flag:1"`
Title string `tl:"flag:2"`
Description string `tl:"flag:3"`
SendMessage BotInlineMessage
}
func (*BotInlineMediaResult) CRC ¶
func (*BotInlineMediaResult) CRC() uint32
func (*BotInlineMediaResult) FlagIndex ¶
func (*BotInlineMediaResult) FlagIndex() int
func (*BotInlineMediaResult) ImplementsBotInlineResult ¶
func (*BotInlineMediaResult) ImplementsBotInlineResult()
type BotInlineMessage ¶
type BotInlineMessageMediaAuto ¶
type BotInlineMessageMediaAuto struct {
Message string
Entities []MessageEntity `tl:"flag:1"`
ReplyMarkup ReplyMarkup `tl:"flag:2"`
}
func (*BotInlineMessageMediaAuto) CRC ¶
func (*BotInlineMessageMediaAuto) CRC() uint32
func (*BotInlineMessageMediaAuto) FlagIndex ¶
func (*BotInlineMessageMediaAuto) FlagIndex() int
func (*BotInlineMessageMediaAuto) ImplementsBotInlineMessage ¶
func (*BotInlineMessageMediaAuto) ImplementsBotInlineMessage()
type BotInlineMessageMediaContact ¶
type BotInlineMessageMediaContact struct {
PhoneNumber string
FirstName string
LastName string
Vcard string
ReplyMarkup ReplyMarkup `tl:"flag:2"`
}
func (*BotInlineMessageMediaContact) CRC ¶
func (*BotInlineMessageMediaContact) CRC() uint32
func (*BotInlineMessageMediaContact) FlagIndex ¶
func (*BotInlineMessageMediaContact) FlagIndex() int
func (*BotInlineMessageMediaContact) ImplementsBotInlineMessage ¶
func (*BotInlineMessageMediaContact) ImplementsBotInlineMessage()
type BotInlineMessageMediaGeo ¶
type BotInlineMessageMediaGeo struct {
Geo GeoPoint
Heading int32 `tl:"flag:0"`
Period int32 `tl:"flag:1"`
ProximityNotificationRadius int32 `tl:"flag:3"`
ReplyMarkup ReplyMarkup `tl:"flag:2"`
}
func (*BotInlineMessageMediaGeo) CRC ¶
func (*BotInlineMessageMediaGeo) CRC() uint32
func (*BotInlineMessageMediaGeo) FlagIndex ¶
func (*BotInlineMessageMediaGeo) FlagIndex() int
func (*BotInlineMessageMediaGeo) ImplementsBotInlineMessage ¶
func (*BotInlineMessageMediaGeo) ImplementsBotInlineMessage()
type BotInlineMessageMediaVenue ¶
type BotInlineMessageMediaVenue struct {
Geo GeoPoint
Title string
Address string
Provider string
VenueID string
VenueType string
ReplyMarkup ReplyMarkup `tl:"flag:2"`
}
func (*BotInlineMessageMediaVenue) CRC ¶
func (*BotInlineMessageMediaVenue) CRC() uint32
func (*BotInlineMessageMediaVenue) FlagIndex ¶
func (*BotInlineMessageMediaVenue) FlagIndex() int
func (*BotInlineMessageMediaVenue) ImplementsBotInlineMessage ¶
func (*BotInlineMessageMediaVenue) ImplementsBotInlineMessage()
type BotInlineMessageText ¶
type BotInlineMessageText struct {
NoWebpage bool `tl:"flag:0,encoded_in_bitflags"`
Message string
Entities []MessageEntity `tl:"flag:1"`
ReplyMarkup ReplyMarkup `tl:"flag:2"`
}
func (*BotInlineMessageText) CRC ¶
func (*BotInlineMessageText) CRC() uint32
func (*BotInlineMessageText) FlagIndex ¶
func (*BotInlineMessageText) FlagIndex() int
func (*BotInlineMessageText) ImplementsBotInlineMessage ¶
func (*BotInlineMessageText) ImplementsBotInlineMessage()
type BotInlineResult ¶
type BotInlineResultObj ¶
type BotInlineResultObj struct {
ID string
Type string
Title string `tl:"flag:1"`
Description string `tl:"flag:2"`
URL string `tl:"flag:3"`
Thumb WebDocument `tl:"flag:4"`
Content WebDocument `tl:"flag:5"`
SendMessage BotInlineMessage
}
func (*BotInlineResultObj) CRC ¶
func (*BotInlineResultObj) CRC() uint32
func (*BotInlineResultObj) FlagIndex ¶
func (*BotInlineResultObj) FlagIndex() int
func (*BotInlineResultObj) ImplementsBotInlineResult ¶
func (*BotInlineResultObj) ImplementsBotInlineResult()
type BotsAnswerWebhookJsonQueryParams ¶
Get the participants of a channel
func (*BotsAnswerWebhookJsonQueryParams) CRC ¶
func (*BotsAnswerWebhookJsonQueryParams) CRC() uint32
type BotsSendCustomRequestParams ¶
type BotsSendCustomRequestParams struct {
CustomMethod string
Params *DataJson // Additional initConnection parameters. For now, only the tz_offset field is supported, for specifying timezone offset in seconds.
}
Get the participants of a channel
func (*BotsSendCustomRequestParams) CRC ¶
func (*BotsSendCustomRequestParams) CRC() uint32
type BotsSetBotCommandsParams ¶
type BotsSetBotCommandsParams struct {
Commands []*BotCommand
}
Get the participants of a channel
func (*BotsSetBotCommandsParams) CRC ¶
func (*BotsSetBotCommandsParams) CRC() uint32
type CdnConfig ¶
type CdnConfig struct {
PublicKeys []*CdnPublicKey
}
type CdnPublicKey ¶
func (*CdnPublicKey) CRC ¶
func (*CdnPublicKey) CRC() uint32
type Channel ¶
type Channel struct {
Creator bool `tl:"flag:0,encoded_in_bitflags"`
Left bool `tl:"flag:2,encoded_in_bitflags"`
Broadcast bool `tl:"flag:5,encoded_in_bitflags"`
Verified bool `tl:"flag:7,encoded_in_bitflags"`
Megagroup bool `tl:"flag:8,encoded_in_bitflags"`
Restricted bool `tl:"flag:9,encoded_in_bitflags"`
Signatures bool `tl:"flag:11,encoded_in_bitflags"`
Min bool `tl:"flag:12,encoded_in_bitflags"`
Scam bool `tl:"flag:19,encoded_in_bitflags"`
HasLink bool `tl:"flag:20,encoded_in_bitflags"`
HasGeo bool `tl:"flag:21,encoded_in_bitflags"`
SlowmodeEnabled bool `tl:"flag:22,encoded_in_bitflags"`
CallActive bool `tl:"flag:23,encoded_in_bitflags"`
ID int32
AccessHash int64 `tl:"flag:13"`
Title string
Username string `tl:"flag:6"`
Photo ChatPhoto
Date int32
Version int32
RestrictionReason []*RestrictionReason `tl:"flag:9"`
AdminRights *ChatAdminRights `tl:"flag:14"`
BannedRights *ChatBannedRights `tl:"flag:15"`
DefaultBannedRights *ChatBannedRights `tl:"flag:18"`
ParticipantsCount int32 `tl:"flag:17"`
}
func (*Channel) ImplementsChat ¶
func (*Channel) ImplementsChat()
type ChannelAdminLogEvent ¶
type ChannelAdminLogEvent struct {
ID int64
Date int32
UserID int32
Action ChannelAdminLogEventAction
}
func (*ChannelAdminLogEvent) CRC ¶
func (*ChannelAdminLogEvent) CRC() uint32
type ChannelAdminLogEventActionChangeAbout ¶
func (*ChannelAdminLogEventActionChangeAbout) CRC ¶
func (*ChannelAdminLogEventActionChangeAbout) CRC() uint32
func (*ChannelAdminLogEventActionChangeAbout) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionChangeAbout) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventActionChangeLinkedChat ¶
func (*ChannelAdminLogEventActionChangeLinkedChat) CRC ¶
func (*ChannelAdminLogEventActionChangeLinkedChat) CRC() uint32
func (*ChannelAdminLogEventActionChangeLinkedChat) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionChangeLinkedChat) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventActionChangeLocation ¶
type ChannelAdminLogEventActionChangeLocation struct {
PrevValue ChannelLocation
NewValue ChannelLocation
}
func (*ChannelAdminLogEventActionChangeLocation) CRC ¶
func (*ChannelAdminLogEventActionChangeLocation) CRC() uint32
func (*ChannelAdminLogEventActionChangeLocation) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionChangeLocation) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventActionChangePhoto ¶
func (*ChannelAdminLogEventActionChangePhoto) CRC ¶
func (*ChannelAdminLogEventActionChangePhoto) CRC() uint32
func (*ChannelAdminLogEventActionChangePhoto) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionChangePhoto) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventActionChangeStickerSet ¶
type ChannelAdminLogEventActionChangeStickerSet struct {
PrevStickerset InputStickerSet
NewStickerset InputStickerSet
}
func (*ChannelAdminLogEventActionChangeStickerSet) CRC ¶
func (*ChannelAdminLogEventActionChangeStickerSet) CRC() uint32
func (*ChannelAdminLogEventActionChangeStickerSet) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionChangeStickerSet) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventActionChangeTitle ¶
func (*ChannelAdminLogEventActionChangeTitle) CRC ¶
func (*ChannelAdminLogEventActionChangeTitle) CRC() uint32
func (*ChannelAdminLogEventActionChangeTitle) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionChangeTitle) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventActionChangeUsername ¶
func (*ChannelAdminLogEventActionChangeUsername) CRC ¶
func (*ChannelAdminLogEventActionChangeUsername) CRC() uint32
func (*ChannelAdminLogEventActionChangeUsername) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionChangeUsername) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventActionDefaultBannedRights ¶
type ChannelAdminLogEventActionDefaultBannedRights struct {
PrevBannedRights *ChatBannedRights
NewBannedRights *ChatBannedRights
}
func (*ChannelAdminLogEventActionDefaultBannedRights) CRC ¶
func (*ChannelAdminLogEventActionDefaultBannedRights) CRC() uint32
func (*ChannelAdminLogEventActionDefaultBannedRights) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionDefaultBannedRights) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventActionDeleteMessage ¶
type ChannelAdminLogEventActionDeleteMessage struct {
Message Message
}
func (*ChannelAdminLogEventActionDeleteMessage) CRC ¶
func (*ChannelAdminLogEventActionDeleteMessage) CRC() uint32
func (*ChannelAdminLogEventActionDeleteMessage) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionDeleteMessage) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventActionEditMessage ¶
func (*ChannelAdminLogEventActionEditMessage) CRC ¶
func (*ChannelAdminLogEventActionEditMessage) CRC() uint32
func (*ChannelAdminLogEventActionEditMessage) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionEditMessage) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventActionParticipantInvite ¶
type ChannelAdminLogEventActionParticipantInvite struct {
Participant ChannelParticipant
}
func (*ChannelAdminLogEventActionParticipantInvite) CRC ¶
func (*ChannelAdminLogEventActionParticipantInvite) CRC() uint32
func (*ChannelAdminLogEventActionParticipantInvite) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionParticipantInvite) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventActionParticipantJoin ¶
type ChannelAdminLogEventActionParticipantJoin struct{}
func (*ChannelAdminLogEventActionParticipantJoin) CRC ¶
func (*ChannelAdminLogEventActionParticipantJoin) CRC() uint32
func (*ChannelAdminLogEventActionParticipantJoin) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionParticipantJoin) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventActionParticipantLeave ¶
type ChannelAdminLogEventActionParticipantLeave struct{}
func (*ChannelAdminLogEventActionParticipantLeave) CRC ¶
func (*ChannelAdminLogEventActionParticipantLeave) CRC() uint32
func (*ChannelAdminLogEventActionParticipantLeave) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionParticipantLeave) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventActionParticipantToggleAdmin ¶
type ChannelAdminLogEventActionParticipantToggleAdmin struct {
PrevParticipant ChannelParticipant
NewParticipant ChannelParticipant
}
func (*ChannelAdminLogEventActionParticipantToggleAdmin) CRC ¶
func (*ChannelAdminLogEventActionParticipantToggleAdmin) CRC() uint32
func (*ChannelAdminLogEventActionParticipantToggleAdmin) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionParticipantToggleAdmin) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventActionParticipantToggleBan ¶
type ChannelAdminLogEventActionParticipantToggleBan struct {
PrevParticipant ChannelParticipant
NewParticipant ChannelParticipant
}
func (*ChannelAdminLogEventActionParticipantToggleBan) CRC ¶
func (*ChannelAdminLogEventActionParticipantToggleBan) CRC() uint32
func (*ChannelAdminLogEventActionParticipantToggleBan) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionParticipantToggleBan) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventActionStopPoll ¶
type ChannelAdminLogEventActionStopPoll struct {
Message Message
}
func (*ChannelAdminLogEventActionStopPoll) CRC ¶
func (*ChannelAdminLogEventActionStopPoll) CRC() uint32
func (*ChannelAdminLogEventActionStopPoll) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionStopPoll) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventActionToggleInvites ¶
type ChannelAdminLogEventActionToggleInvites struct {
NewValue bool
}
func (*ChannelAdminLogEventActionToggleInvites) CRC ¶
func (*ChannelAdminLogEventActionToggleInvites) CRC() uint32
func (*ChannelAdminLogEventActionToggleInvites) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionToggleInvites) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventActionTogglePreHistoryHidden ¶
type ChannelAdminLogEventActionTogglePreHistoryHidden struct {
NewValue bool
}
func (*ChannelAdminLogEventActionTogglePreHistoryHidden) CRC ¶
func (*ChannelAdminLogEventActionTogglePreHistoryHidden) CRC() uint32
func (*ChannelAdminLogEventActionTogglePreHistoryHidden) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionTogglePreHistoryHidden) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventActionToggleSignatures ¶
type ChannelAdminLogEventActionToggleSignatures struct {
NewValue bool
}
func (*ChannelAdminLogEventActionToggleSignatures) CRC ¶
func (*ChannelAdminLogEventActionToggleSignatures) CRC() uint32
func (*ChannelAdminLogEventActionToggleSignatures) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionToggleSignatures) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventActionToggleSlowMode ¶
func (*ChannelAdminLogEventActionToggleSlowMode) CRC ¶
func (*ChannelAdminLogEventActionToggleSlowMode) CRC() uint32
func (*ChannelAdminLogEventActionToggleSlowMode) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionToggleSlowMode) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventActionUpdatePinned ¶
type ChannelAdminLogEventActionUpdatePinned struct {
Message Message
}
func (*ChannelAdminLogEventActionUpdatePinned) CRC ¶
func (*ChannelAdminLogEventActionUpdatePinned) CRC() uint32
func (*ChannelAdminLogEventActionUpdatePinned) ImplementsChannelAdminLogEventAction ¶
func (*ChannelAdminLogEventActionUpdatePinned) ImplementsChannelAdminLogEventAction()
type ChannelAdminLogEventsFilter ¶
type ChannelAdminLogEventsFilter struct {
Join bool `tl:"flag:0,encoded_in_bitflags"`
Leave bool `tl:"flag:1,encoded_in_bitflags"`
Invite bool `tl:"flag:2,encoded_in_bitflags"`
Ban bool `tl:"flag:3,encoded_in_bitflags"`
Unban bool `tl:"flag:4,encoded_in_bitflags"`
Kick bool `tl:"flag:5,encoded_in_bitflags"`
Unkick bool `tl:"flag:6,encoded_in_bitflags"`
Promote bool `tl:"flag:7,encoded_in_bitflags"`
Demote bool `tl:"flag:8,encoded_in_bitflags"`
Info bool `tl:"flag:9,encoded_in_bitflags"`
Settings bool `tl:"flag:10,encoded_in_bitflags"`
Pinned bool `tl:"flag:11,encoded_in_bitflags"`
Edit bool `tl:"flag:12,encoded_in_bitflags"`
Delete bool `tl:"flag:13,encoded_in_bitflags"`
}
func (*ChannelAdminLogEventsFilter) CRC ¶
func (*ChannelAdminLogEventsFilter) CRC() uint32
func (*ChannelAdminLogEventsFilter) FlagIndex ¶
func (*ChannelAdminLogEventsFilter) FlagIndex() int
type ChannelForbidden ¶
type ChannelForbidden struct {
Broadcast bool `tl:"flag:5,encoded_in_bitflags"`
Megagroup bool `tl:"flag:8,encoded_in_bitflags"`
ID int32
AccessHash int64
Title string
UntilDate int32 `tl:"flag:16"`
}
func (*ChannelForbidden) CRC ¶
func (*ChannelForbidden) CRC() uint32
func (*ChannelForbidden) FlagIndex ¶
func (*ChannelForbidden) FlagIndex() int
func (*ChannelForbidden) ImplementsChat ¶
func (*ChannelForbidden) ImplementsChat()
type ChannelFull ¶
type ChannelFull struct {
CanViewParticipants bool `tl:"flag:3,encoded_in_bitflags"`
CanSetUsername bool `tl:"flag:6,encoded_in_bitflags"`
CanSetStickers bool `tl:"flag:7,encoded_in_bitflags"`
HiddenPrehistory bool `tl:"flag:10,encoded_in_bitflags"`
CanSetLocation bool `tl:"flag:16,encoded_in_bitflags"`
HasScheduled bool `tl:"flag:19,encoded_in_bitflags"`
CanViewStats bool `tl:"flag:20,encoded_in_bitflags"`
Blocked bool `tl:"flag:22,encoded_in_bitflags"`
ID int32
About string
ParticipantsCount int32 `tl:"flag:0"`
AdminsCount int32 `tl:"flag:1"`
KickedCount int32 `tl:"flag:2"`
BannedCount int32 `tl:"flag:2"`
OnlineCount int32 `tl:"flag:13"`
ReadInboxMaxID int32
ReadOutboxMaxID int32
UnreadCount int32
ChatPhoto Photo
NotifySettings *PeerNotifySettings
ExportedInvite ExportedChatInvite
BotInfo []*BotInfo
MigratedFromChatID int32 `tl:"flag:4"`
MigratedFromMaxID int32 `tl:"flag:4"`
PinnedMsgID int32 `tl:"flag:5"`
Stickerset *StickerSet `tl:"flag:8"`
AvailableMinID int32 `tl:"flag:9"`
FolderID int32 `tl:"flag:11"`
LinkedChatID int32 `tl:"flag:14"`
Location ChannelLocation `tl:"flag:15"`
SlowmodeSeconds int32 `tl:"flag:17"`
SlowmodeNextSendDate int32 `tl:"flag:18"`
StatsDc int32 `tl:"flag:12"`
Pts int32
}
func (*ChannelFull) CRC ¶
func (*ChannelFull) CRC() uint32
func (*ChannelFull) FlagIndex ¶
func (*ChannelFull) FlagIndex() int
func (*ChannelFull) ImplementsChatFull ¶
func (*ChannelFull) ImplementsChatFull()
type ChannelLocation ¶
type ChannelLocationEmpty ¶
type ChannelLocationEmpty struct{}
func (*ChannelLocationEmpty) CRC ¶
func (*ChannelLocationEmpty) CRC() uint32
func (*ChannelLocationEmpty) ImplementsChannelLocation ¶
func (*ChannelLocationEmpty) ImplementsChannelLocation()
type ChannelLocationObj ¶
func (*ChannelLocationObj) CRC ¶
func (*ChannelLocationObj) CRC() uint32
func (*ChannelLocationObj) ImplementsChannelLocation ¶
func (*ChannelLocationObj) ImplementsChannelLocation()
type ChannelMessagesFilter ¶
type ChannelMessagesFilterEmpty ¶
type ChannelMessagesFilterEmpty struct{}
func (*ChannelMessagesFilterEmpty) CRC ¶
func (*ChannelMessagesFilterEmpty) CRC() uint32
func (*ChannelMessagesFilterEmpty) ImplementsChannelMessagesFilter ¶
func (*ChannelMessagesFilterEmpty) ImplementsChannelMessagesFilter()
type ChannelMessagesFilterObj ¶
type ChannelMessagesFilterObj struct {
ExcludeNewMessages bool `tl:"flag:1,encoded_in_bitflags"`
Ranges []*MessageRange
}
func (*ChannelMessagesFilterObj) CRC ¶
func (*ChannelMessagesFilterObj) CRC() uint32
func (*ChannelMessagesFilterObj) FlagIndex ¶
func (*ChannelMessagesFilterObj) FlagIndex() int
func (*ChannelMessagesFilterObj) ImplementsChannelMessagesFilter ¶
func (*ChannelMessagesFilterObj) ImplementsChannelMessagesFilter()
type ChannelParticipant ¶
type ChannelParticipantAdmin ¶
type ChannelParticipantAdmin struct {
CanEdit bool `tl:"flag:0,encoded_in_bitflags"`
Self bool `tl:"flag:1,encoded_in_bitflags"`
UserID int32
InviterID int32 `tl:"flag:1"`
PromotedBy int32
Date int32
AdminRights *ChatAdminRights
Rank string `tl:"flag:2"`
}
func (*ChannelParticipantAdmin) CRC ¶
func (*ChannelParticipantAdmin) CRC() uint32
func (*ChannelParticipantAdmin) FlagIndex ¶
func (*ChannelParticipantAdmin) FlagIndex() int
func (*ChannelParticipantAdmin) GetUserID ¶
func (c *ChannelParticipantAdmin) GetUserID() int
func (*ChannelParticipantAdmin) ImplementsChannelParticipant ¶
func (*ChannelParticipantAdmin) ImplementsChannelParticipant()
type ChannelParticipantBanned ¶
type ChannelParticipantBanned struct {
Left bool `tl:"flag:0,encoded_in_bitflags"`
UserID int32
KickedBy int32
Date int32
BannedRights *ChatBannedRights
}
func (*ChannelParticipantBanned) CRC ¶
func (*ChannelParticipantBanned) CRC() uint32
func (*ChannelParticipantBanned) FlagIndex ¶
func (*ChannelParticipantBanned) FlagIndex() int
func (*ChannelParticipantBanned) GetUserID ¶
func (c *ChannelParticipantBanned) GetUserID() int
func (*ChannelParticipantBanned) ImplementsChannelParticipant ¶
func (*ChannelParticipantBanned) ImplementsChannelParticipant()
type ChannelParticipantCreator ¶
type ChannelParticipantCreator struct {
UserID int32
AdminRights *ChatAdminRights
Rank string `tl:"flag:0"`
}
func (*ChannelParticipantCreator) CRC ¶
func (*ChannelParticipantCreator) CRC() uint32
func (*ChannelParticipantCreator) FlagIndex ¶
func (*ChannelParticipantCreator) FlagIndex() int
func (*ChannelParticipantCreator) GetUserID ¶
func (c *ChannelParticipantCreator) GetUserID() int
func (*ChannelParticipantCreator) ImplementsChannelParticipant ¶
func (*ChannelParticipantCreator) ImplementsChannelParticipant()
type ChannelParticipantLeft ¶
type ChannelParticipantLeft struct {
UserID int32
}
func (*ChannelParticipantLeft) CRC ¶
func (*ChannelParticipantLeft) CRC() uint32
func (*ChannelParticipantLeft) GetUserID ¶
func (c *ChannelParticipantLeft) GetUserID() int
func (*ChannelParticipantLeft) ImplementsChannelParticipant ¶
func (*ChannelParticipantLeft) ImplementsChannelParticipant()
type ChannelParticipantObj ¶
func (*ChannelParticipantObj) CRC ¶
func (*ChannelParticipantObj) CRC() uint32
func (*ChannelParticipantObj) GetUserID ¶
func (c *ChannelParticipantObj) GetUserID() int
func (*ChannelParticipantObj) ImplementsChannelParticipant ¶
func (*ChannelParticipantObj) ImplementsChannelParticipant()
type ChannelParticipantSelf ¶
func (*ChannelParticipantSelf) CRC ¶
func (*ChannelParticipantSelf) CRC() uint32
func (*ChannelParticipantSelf) GetUserID ¶
func (c *ChannelParticipantSelf) GetUserID() int
func (*ChannelParticipantSelf) ImplementsChannelParticipant ¶
func (*ChannelParticipantSelf) ImplementsChannelParticipant()
type ChannelParticipantsAdmins ¶
type ChannelParticipantsAdmins struct{}
func (*ChannelParticipantsAdmins) CRC ¶
func (*ChannelParticipantsAdmins) CRC() uint32
func (*ChannelParticipantsAdmins) ImplementsChannelParticipantsFilter ¶
func (*ChannelParticipantsAdmins) ImplementsChannelParticipantsFilter()
type ChannelParticipantsBanned ¶
type ChannelParticipantsBanned struct {
Q string
}
func (*ChannelParticipantsBanned) CRC ¶
func (*ChannelParticipantsBanned) CRC() uint32
func (*ChannelParticipantsBanned) ImplementsChannelParticipantsFilter ¶
func (*ChannelParticipantsBanned) ImplementsChannelParticipantsFilter()
type ChannelParticipantsBots ¶
type ChannelParticipantsBots struct{}
func (*ChannelParticipantsBots) CRC ¶
func (*ChannelParticipantsBots) CRC() uint32
func (*ChannelParticipantsBots) ImplementsChannelParticipantsFilter ¶
func (*ChannelParticipantsBots) ImplementsChannelParticipantsFilter()
type ChannelParticipantsContacts ¶
type ChannelParticipantsContacts struct {
Q string
}
func (*ChannelParticipantsContacts) CRC ¶
func (*ChannelParticipantsContacts) CRC() uint32
func (*ChannelParticipantsContacts) ImplementsChannelParticipantsFilter ¶
func (*ChannelParticipantsContacts) ImplementsChannelParticipantsFilter()
type ChannelParticipantsKicked ¶
type ChannelParticipantsKicked struct {
Q string
}
func (*ChannelParticipantsKicked) CRC ¶
func (*ChannelParticipantsKicked) CRC() uint32
func (*ChannelParticipantsKicked) ImplementsChannelParticipantsFilter ¶
func (*ChannelParticipantsKicked) ImplementsChannelParticipantsFilter()
type ChannelParticipantsMentions ¶
func (*ChannelParticipantsMentions) CRC ¶
func (*ChannelParticipantsMentions) CRC() uint32
func (*ChannelParticipantsMentions) FlagIndex ¶
func (*ChannelParticipantsMentions) FlagIndex() int
func (*ChannelParticipantsMentions) ImplementsChannelParticipantsFilter ¶
func (*ChannelParticipantsMentions) ImplementsChannelParticipantsFilter()
type ChannelParticipantsRecent ¶
type ChannelParticipantsRecent struct{}
func (*ChannelParticipantsRecent) CRC ¶
func (*ChannelParticipantsRecent) CRC() uint32
func (*ChannelParticipantsRecent) ImplementsChannelParticipantsFilter ¶
func (*ChannelParticipantsRecent) ImplementsChannelParticipantsFilter()
type ChannelParticipantsSearch ¶
type ChannelParticipantsSearch struct {
Q string
}
func (*ChannelParticipantsSearch) CRC ¶
func (*ChannelParticipantsSearch) CRC() uint32
func (*ChannelParticipantsSearch) ImplementsChannelParticipantsFilter ¶
func (*ChannelParticipantsSearch) ImplementsChannelParticipantsFilter()
type ChannelsAdminLogResults ¶
type ChannelsAdminLogResults struct {
Events []*ChannelAdminLogEvent
Chats []Chat
Users []User
}
func (*ChannelsAdminLogResults) CRC ¶
func (*ChannelsAdminLogResults) CRC() uint32
type ChannelsChannelParticipant ¶
type ChannelsChannelParticipant struct {
Participant ChannelParticipant
Users []User
}
func (*ChannelsChannelParticipant) CRC ¶
func (*ChannelsChannelParticipant) CRC() uint32
type ChannelsChannelParticipantsNotModified ¶
type ChannelsChannelParticipantsNotModified struct{}
func (*ChannelsChannelParticipantsNotModified) CRC ¶
func (*ChannelsChannelParticipantsNotModified) CRC() uint32
func (*ChannelsChannelParticipantsNotModified) ImplementsChannelsChannelParticipants ¶
func (*ChannelsChannelParticipantsNotModified) ImplementsChannelsChannelParticipants()
type ChannelsChannelParticipantsObj ¶
type ChannelsChannelParticipantsObj struct {
Count int32
Participants []ChannelParticipant
Users []User
}
func (*ChannelsChannelParticipantsObj) CRC ¶
func (*ChannelsChannelParticipantsObj) CRC() uint32
func (*ChannelsChannelParticipantsObj) ImplementsChannelsChannelParticipants ¶
func (*ChannelsChannelParticipantsObj) ImplementsChannelsChannelParticipants()
type ChannelsCheckUsernameParams ¶
type ChannelsCheckUsernameParams struct {
Channel InputChannel // Channel
Username string
}
Get the participants of a channel
func (*ChannelsCheckUsernameParams) CRC ¶
func (*ChannelsCheckUsernameParams) CRC() uint32
type ChannelsCreateChannelParams ¶
type ChannelsCreateChannelParams struct {
Broadcast bool `tl:"flag:0,encoded_in_bitflags"`
Megagroup bool `tl:"flag:1,encoded_in_bitflags"`
Title string
About string
GeoPoint InputGeoPoint `tl:"flag:2"`
Address string `tl:"flag:2"`
}
Get the participants of a channel
func (*ChannelsCreateChannelParams) CRC ¶
func (*ChannelsCreateChannelParams) CRC() uint32
func (*ChannelsCreateChannelParams) FlagIndex ¶
func (*ChannelsCreateChannelParams) FlagIndex() int
type ChannelsDeleteChannelParams ¶
type ChannelsDeleteChannelParams struct {
Channel InputChannel // Channel
}
Get the participants of a channel
func (*ChannelsDeleteChannelParams) CRC ¶
func (*ChannelsDeleteChannelParams) CRC() uint32
type ChannelsDeleteHistoryParams ¶
type ChannelsDeleteHistoryParams struct {
Channel InputChannel // Channel
MaxID int32
}
Get the participants of a channel
func (*ChannelsDeleteHistoryParams) CRC ¶
func (*ChannelsDeleteHistoryParams) CRC() uint32
type ChannelsDeleteMessagesParams ¶
type ChannelsDeleteMessagesParams struct {
Channel InputChannel
ID []int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ChannelsDeleteMessagesParams) CRC ¶
func (*ChannelsDeleteMessagesParams) CRC() uint32
type ChannelsDeleteUserHistoryParams ¶
type ChannelsDeleteUserHistoryParams struct {
Channel InputChannel
UserID InputUser
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ChannelsDeleteUserHistoryParams) CRC ¶
func (*ChannelsDeleteUserHistoryParams) CRC() uint32
type ChannelsEditAdminParams ¶
type ChannelsEditAdminParams struct {
Channel InputChannel // Channel
UserID InputUser
AdminRights *ChatAdminRights
Rank string
}
Get the participants of a channel
func (*ChannelsEditAdminParams) CRC ¶
func (*ChannelsEditAdminParams) CRC() uint32
type ChannelsEditBannedParams ¶
type ChannelsEditBannedParams struct {
Channel InputChannel // Channel
UserID InputUser
BannedRights *ChatBannedRights
}
Get the participants of a channel
func (*ChannelsEditBannedParams) CRC ¶
func (*ChannelsEditBannedParams) CRC() uint32
type ChannelsEditCreatorParams ¶
type ChannelsEditCreatorParams struct {
Channel InputChannel // Channel
UserID InputUser
Password InputCheckPasswordSRP
}
Get the participants of a channel
func (*ChannelsEditCreatorParams) CRC ¶
func (*ChannelsEditCreatorParams) CRC() uint32
type ChannelsEditLocationParams ¶
type ChannelsEditLocationParams struct {
Channel InputChannel // Channel
GeoPoint InputGeoPoint
Address string
}
Get the participants of a channel
func (*ChannelsEditLocationParams) CRC ¶
func (*ChannelsEditLocationParams) CRC() uint32
type ChannelsEditPhotoParams ¶
type ChannelsEditPhotoParams struct {
Channel InputChannel // Channel
Photo InputChatPhoto
}
Get the participants of a channel
func (*ChannelsEditPhotoParams) CRC ¶
func (*ChannelsEditPhotoParams) CRC() uint32
type ChannelsEditTitleParams ¶
type ChannelsEditTitleParams struct {
Channel InputChannel // Channel
Title string
}
Get the participants of a channel
func (*ChannelsEditTitleParams) CRC ¶
func (*ChannelsEditTitleParams) CRC() uint32
type ChannelsExportMessageLinkParams ¶
type ChannelsExportMessageLinkParams struct {
Grouped bool `tl:"flag:0,encoded_in_bitflags"`
Thread bool `tl:"flag:1,encoded_in_bitflags"`
Channel InputChannel // Channel
ID int32
}
Get the participants of a channel
func (*ChannelsExportMessageLinkParams) CRC ¶
func (*ChannelsExportMessageLinkParams) CRC() uint32
func (*ChannelsExportMessageLinkParams) FlagIndex ¶
func (*ChannelsExportMessageLinkParams) FlagIndex() int
type ChannelsGetAdminLogParams ¶
type ChannelsGetAdminLogParams struct {
Channel InputChannel // Channel
Q string
EventsFilter *ChannelAdminLogEventsFilter `tl:"flag:0"`
Admins []InputUser `tl:"flag:1"`
MaxID int64
MinID int64
Limit int32
}
Get the participants of a channel
func (*ChannelsGetAdminLogParams) CRC ¶
func (*ChannelsGetAdminLogParams) CRC() uint32
func (*ChannelsGetAdminLogParams) FlagIndex ¶
func (*ChannelsGetAdminLogParams) FlagIndex() int
type ChannelsGetAdminedPublicChannelsParams ¶
type ChannelsGetAdminedPublicChannelsParams struct {
ByLocation bool `tl:"flag:0,encoded_in_bitflags"`
CheckLimit bool `tl:"flag:1,encoded_in_bitflags"`
}
Get the participants of a channel
func (*ChannelsGetAdminedPublicChannelsParams) CRC ¶
func (*ChannelsGetAdminedPublicChannelsParams) CRC() uint32
func (*ChannelsGetAdminedPublicChannelsParams) FlagIndex ¶
func (*ChannelsGetAdminedPublicChannelsParams) FlagIndex() int
type ChannelsGetChannelsParams ¶
type ChannelsGetChannelsParams struct {
ID []InputChannel
}
Get the participants of a channel
func (*ChannelsGetChannelsParams) CRC ¶
func (*ChannelsGetChannelsParams) CRC() uint32
type ChannelsGetFullChannelParams ¶
type ChannelsGetFullChannelParams struct {
Channel InputChannel // Channel
}
Get the participants of a channel
func (*ChannelsGetFullChannelParams) CRC ¶
func (*ChannelsGetFullChannelParams) CRC() uint32
type ChannelsGetGroupsForDiscussionParams ¶
type ChannelsGetGroupsForDiscussionParams struct{}
Get the participants of a channel
func (*ChannelsGetGroupsForDiscussionParams) CRC ¶
func (*ChannelsGetGroupsForDiscussionParams) CRC() uint32
type ChannelsGetInactiveChannelsParams ¶
type ChannelsGetInactiveChannelsParams struct{}
Get the participants of a channel
func (*ChannelsGetInactiveChannelsParams) CRC ¶
func (*ChannelsGetInactiveChannelsParams) CRC() uint32
type ChannelsGetLeftChannelsParams ¶
type ChannelsGetLeftChannelsParams struct {
Offset int32
}
Get the participants of a channel
func (*ChannelsGetLeftChannelsParams) CRC ¶
func (*ChannelsGetLeftChannelsParams) CRC() uint32
type ChannelsGetMessagesParams ¶
type ChannelsGetMessagesParams struct {
Channel InputChannel
ID []InputMessage
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ChannelsGetMessagesParams) CRC ¶
func (*ChannelsGetMessagesParams) CRC() uint32
type ChannelsGetParticipantParams ¶
type ChannelsGetParticipantParams struct {
Channel InputChannel // Channel
UserID InputUser
}
Get the participants of a channel
func (*ChannelsGetParticipantParams) CRC ¶
func (*ChannelsGetParticipantParams) CRC() uint32
type ChannelsGetParticipantsParams ¶
type ChannelsGetParticipantsParams struct {
Channel InputChannel // Channel
Filter ChannelParticipantsFilter // Which participant types to fetch
Offset int32
Limit int32
Hash int32
}
Get the participants of a channel
func (*ChannelsGetParticipantsParams) CRC ¶
func (*ChannelsGetParticipantsParams) CRC() uint32
type ChannelsInviteToChannelParams ¶
type ChannelsInviteToChannelParams struct {
Channel InputChannel // Channel
Users []InputUser
}
Get the participants of a channel
func (*ChannelsInviteToChannelParams) CRC ¶
func (*ChannelsInviteToChannelParams) CRC() uint32
type ChannelsJoinChannelParams ¶
type ChannelsJoinChannelParams struct {
Channel InputChannel // Channel
}
Get the participants of a channel
func (*ChannelsJoinChannelParams) CRC ¶
func (*ChannelsJoinChannelParams) CRC() uint32
type ChannelsLeaveChannelParams ¶
type ChannelsLeaveChannelParams struct {
Channel InputChannel // Channel
}
Get the participants of a channel
func (*ChannelsLeaveChannelParams) CRC ¶
func (*ChannelsLeaveChannelParams) CRC() uint32
type ChannelsReadHistoryParams ¶
type ChannelsReadHistoryParams struct {
Channel InputChannel
MaxID int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ChannelsReadHistoryParams) CRC ¶
func (*ChannelsReadHistoryParams) CRC() uint32
type ChannelsReadMessageContentsParams ¶
type ChannelsReadMessageContentsParams struct {
Channel InputChannel // Channel
ID []int32
}
Get the participants of a channel
func (*ChannelsReadMessageContentsParams) CRC ¶
func (*ChannelsReadMessageContentsParams) CRC() uint32
type ChannelsReportSpamParams ¶
type ChannelsReportSpamParams struct {
Channel InputChannel
UserID InputUser
ID []int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ChannelsReportSpamParams) CRC ¶
func (*ChannelsReportSpamParams) CRC() uint32
type ChannelsSetDiscussionGroupParams ¶
type ChannelsSetDiscussionGroupParams struct {
Broadcast InputChannel
Group InputChannel
}
Get the participants of a channel
func (*ChannelsSetDiscussionGroupParams) CRC ¶
func (*ChannelsSetDiscussionGroupParams) CRC() uint32
type ChannelsSetStickersParams ¶
type ChannelsSetStickersParams struct {
Channel InputChannel // Channel
Stickerset InputStickerSet
}
Get the participants of a channel
func (*ChannelsSetStickersParams) CRC ¶
func (*ChannelsSetStickersParams) CRC() uint32
type ChannelsTogglePreHistoryHiddenParams ¶
type ChannelsTogglePreHistoryHiddenParams struct {
Channel InputChannel // Channel
Enabled bool
}
Get the participants of a channel
func (*ChannelsTogglePreHistoryHiddenParams) CRC ¶
func (*ChannelsTogglePreHistoryHiddenParams) CRC() uint32
type ChannelsToggleSignaturesParams ¶
type ChannelsToggleSignaturesParams struct {
Channel InputChannel // Channel
Enabled bool
}
Get the participants of a channel
func (*ChannelsToggleSignaturesParams) CRC ¶
func (*ChannelsToggleSignaturesParams) CRC() uint32
type ChannelsToggleSlowModeParams ¶
type ChannelsToggleSlowModeParams struct {
Channel InputChannel // Channel
Seconds int32
}
Get the participants of a channel
func (*ChannelsToggleSlowModeParams) CRC ¶
func (*ChannelsToggleSlowModeParams) CRC() uint32
type ChannelsUpdateUsernameParams ¶
type ChannelsUpdateUsernameParams struct {
Channel InputChannel // Channel
Username string
}
Get the participants of a channel
func (*ChannelsUpdateUsernameParams) CRC ¶
func (*ChannelsUpdateUsernameParams) CRC() uint32
type ChatAdminRights ¶
type ChatAdminRights struct {
ChangeInfo bool `tl:"flag:0,encoded_in_bitflags"`
PostMessages bool `tl:"flag:1,encoded_in_bitflags"`
EditMessages bool `tl:"flag:2,encoded_in_bitflags"`
DeleteMessages bool `tl:"flag:3,encoded_in_bitflags"`
BanUsers bool `tl:"flag:4,encoded_in_bitflags"`
InviteUsers bool `tl:"flag:5,encoded_in_bitflags"`
PinMessages bool `tl:"flag:7,encoded_in_bitflags"`
AddAdmins bool `tl:"flag:9,encoded_in_bitflags"`
Anonymous bool `tl:"flag:10,encoded_in_bitflags"`
ManageCall bool `tl:"flag:11,encoded_in_bitflags"`
}
func (*ChatAdminRights) CRC ¶
func (*ChatAdminRights) CRC() uint32
func (*ChatAdminRights) FlagIndex ¶
func (*ChatAdminRights) FlagIndex() int
type ChatBannedRights ¶
type ChatBannedRights struct {
ViewMessages bool `tl:"flag:0,encoded_in_bitflags"`
SendMessages bool `tl:"flag:1,encoded_in_bitflags"`
SendMedia bool `tl:"flag:2,encoded_in_bitflags"`
SendStickers bool `tl:"flag:3,encoded_in_bitflags"`
SendGifs bool `tl:"flag:4,encoded_in_bitflags"`
SendGames bool `tl:"flag:5,encoded_in_bitflags"`
SendInline bool `tl:"flag:6,encoded_in_bitflags"`
EmbedLinks bool `tl:"flag:7,encoded_in_bitflags"`
SendPolls bool `tl:"flag:8,encoded_in_bitflags"`
ChangeInfo bool `tl:"flag:10,encoded_in_bitflags"`
InviteUsers bool `tl:"flag:15,encoded_in_bitflags"`
PinMessages bool `tl:"flag:17,encoded_in_bitflags"`
UntilDate int32
}
func (*ChatBannedRights) CRC ¶
func (*ChatBannedRights) CRC() uint32
func (*ChatBannedRights) FlagIndex ¶
func (*ChatBannedRights) FlagIndex() int
type ChatEmpty ¶
type ChatEmpty struct {
ID int32
}
func (*ChatEmpty) ImplementsChat ¶
func (*ChatEmpty) ImplementsChat()
type ChatForbidden ¶
func (*ChatForbidden) CRC ¶
func (*ChatForbidden) CRC() uint32
func (*ChatForbidden) ImplementsChat ¶
func (*ChatForbidden) ImplementsChat()
type ChatFullObj ¶
type ChatFullObj struct {
CanSetUsername bool `tl:"flag:7,encoded_in_bitflags"`
HasScheduled bool `tl:"flag:8,encoded_in_bitflags"`
ID int32
About string
Participants ChatParticipants
ChatPhoto Photo `tl:"flag:2"`
NotifySettings *PeerNotifySettings
ExportedInvite ExportedChatInvite
BotInfo []*BotInfo `tl:"flag:3"`
PinnedMsgID int32 `tl:"flag:6"`
FolderID int32 `tl:"flag:11"`
}
func (*ChatFullObj) CRC ¶
func (*ChatFullObj) CRC() uint32
func (*ChatFullObj) FlagIndex ¶
func (*ChatFullObj) FlagIndex() int
func (*ChatFullObj) ImplementsChatFull ¶
func (*ChatFullObj) ImplementsChatFull()
type ChatInvite ¶
type ChatInviteAlready ¶
type ChatInviteAlready struct {
Chat Chat
}
func (*ChatInviteAlready) CRC ¶
func (*ChatInviteAlready) CRC() uint32
func (*ChatInviteAlready) ImplementsChatInvite ¶
func (*ChatInviteAlready) ImplementsChatInvite()
type ChatInviteEmpty ¶
type ChatInviteEmpty struct{}
func (*ChatInviteEmpty) CRC ¶
func (*ChatInviteEmpty) CRC() uint32
func (*ChatInviteEmpty) ImplementsExportedChatInvite ¶
func (*ChatInviteEmpty) ImplementsExportedChatInvite()
type ChatInviteExported ¶
type ChatInviteExported struct {
Link string
}
func (*ChatInviteExported) CRC ¶
func (*ChatInviteExported) CRC() uint32
func (*ChatInviteExported) ImplementsExportedChatInvite ¶
func (*ChatInviteExported) ImplementsExportedChatInvite()
type ChatInviteObj ¶
type ChatInviteObj struct {
Channel bool `tl:"flag:0,encoded_in_bitflags"`
Broadcast bool `tl:"flag:1,encoded_in_bitflags"`
Public bool `tl:"flag:2,encoded_in_bitflags"`
Megagroup bool `tl:"flag:3,encoded_in_bitflags"`
Title string
Photo Photo
ParticipantsCount int32
Participants []User `tl:"flag:4"`
}
func (*ChatInviteObj) CRC ¶
func (*ChatInviteObj) CRC() uint32
func (*ChatInviteObj) FlagIndex ¶
func (*ChatInviteObj) FlagIndex() int
func (*ChatInviteObj) ImplementsChatInvite ¶
func (*ChatInviteObj) ImplementsChatInvite()
type ChatInvitePeek ¶
func (*ChatInvitePeek) CRC ¶
func (*ChatInvitePeek) CRC() uint32
func (*ChatInvitePeek) ImplementsChatInvite ¶
func (*ChatInvitePeek) ImplementsChatInvite()
type ChatObj ¶
type ChatObj struct {
Creator bool `tl:"flag:0,encoded_in_bitflags"`
Kicked bool `tl:"flag:1,encoded_in_bitflags"`
Left bool `tl:"flag:2,encoded_in_bitflags"`
Deactivated bool `tl:"flag:5,encoded_in_bitflags"`
ID int32
Title string
Photo ChatPhoto
ParticipantsCount int32
Date int32
Version int32
MigratedTo InputChannel `tl:"flag:6"`
AdminRights *ChatAdminRights `tl:"flag:14"`
DefaultBannedRights *ChatBannedRights `tl:"flag:18"`
}
func (*ChatObj) ImplementsChat ¶
func (*ChatObj) ImplementsChat()
type ChatOnlines ¶
type ChatOnlines struct {
Onlines int32
}
func (*ChatOnlines) CRC ¶
func (*ChatOnlines) CRC() uint32
type ChatParticipant ¶
type ChatParticipantAdmin ¶
func (*ChatParticipantAdmin) CRC ¶
func (*ChatParticipantAdmin) CRC() uint32
func (*ChatParticipantAdmin) ImplementsChatParticipant ¶
func (*ChatParticipantAdmin) ImplementsChatParticipant()
type ChatParticipantCreator ¶
type ChatParticipantCreator struct {
UserID int32
}
func (*ChatParticipantCreator) CRC ¶
func (*ChatParticipantCreator) CRC() uint32
func (*ChatParticipantCreator) ImplementsChatParticipant ¶
func (*ChatParticipantCreator) ImplementsChatParticipant()
type ChatParticipantObj ¶
func (*ChatParticipantObj) CRC ¶
func (*ChatParticipantObj) CRC() uint32
func (*ChatParticipantObj) ImplementsChatParticipant ¶
func (*ChatParticipantObj) ImplementsChatParticipant()
type ChatParticipants ¶
type ChatParticipantsForbidden ¶
type ChatParticipantsForbidden struct {
ChatID int32
SelfParticipant ChatParticipant `tl:"flag:0"`
}
func (*ChatParticipantsForbidden) CRC ¶
func (*ChatParticipantsForbidden) CRC() uint32
func (*ChatParticipantsForbidden) FlagIndex ¶
func (*ChatParticipantsForbidden) FlagIndex() int
func (*ChatParticipantsForbidden) ImplementsChatParticipants ¶
func (*ChatParticipantsForbidden) ImplementsChatParticipants()
type ChatParticipantsObj ¶
type ChatParticipantsObj struct {
ChatID int32
Participants []ChatParticipant
Version int32
}
func (*ChatParticipantsObj) CRC ¶
func (*ChatParticipantsObj) CRC() uint32
func (*ChatParticipantsObj) ImplementsChatParticipants ¶
func (*ChatParticipantsObj) ImplementsChatParticipants()
type ChatPhotoEmpty ¶
type ChatPhotoEmpty struct{}
func (*ChatPhotoEmpty) CRC ¶
func (*ChatPhotoEmpty) CRC() uint32
func (*ChatPhotoEmpty) ImplementsChatPhoto ¶
func (*ChatPhotoEmpty) ImplementsChatPhoto()
type ChatPhotoObj ¶
type ChatPhotoObj struct {
HasVideo bool `tl:"flag:0,encoded_in_bitflags"`
PhotoSmall *FileLocationToBeDeprecated
PhotoBig *FileLocationToBeDeprecated
DcID int32
}
func (*ChatPhotoObj) CRC ¶
func (*ChatPhotoObj) CRC() uint32
func (*ChatPhotoObj) FlagIndex ¶
func (*ChatPhotoObj) FlagIndex() int
func (*ChatPhotoObj) ImplementsChatPhoto ¶
func (*ChatPhotoObj) ImplementsChatPhoto()
type Client ¶
func NewClient ¶
func NewClient(c ClientConfig) (*Client, error)
func (*Client) AccountAcceptAuthorization ¶
func (c *Client) AccountAcceptAuthorization(botID int32, scope, publicKey string, valueHashes []*SecureValueHash, credentials *SecureCredentialsEncrypted) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountCancelPasswordEmail ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountChangePhone ¶
Registers a validated phone number in the system.
func (*Client) AccountCheckUsername ¶
Registers a validated phone number in the system.
func (*Client) AccountConfirmPasswordEmail ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountConfirmPhone ¶
Registers a validated phone number in the system.
func (*Client) AccountCreateTheme ¶
func (c *Client) AccountCreateTheme(slug, title string, document InputDocument, settings *InputThemeSettings) (*Theme, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountDeleteAccount ¶
Registers a validated phone number in the system.
func (*Client) AccountDeleteSecureValue ¶
func (c *Client) AccountDeleteSecureValue(types []SecureValueType) (bool, error)
Registers a validated phone number in the system.
func (*Client) AccountFinishTakeoutSession ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountGetAccountTtl ¶
func (c *Client) AccountGetAccountTtl() (*AccountDaysTtl, error)
Registers a validated phone number in the system.
func (*Client) AccountGetAllSecureValues ¶
func (c *Client) AccountGetAllSecureValues() ([]*SecureValue, error)
Registers a validated phone number in the system.
func (*Client) AccountGetAuthorizationForm ¶
func (c *Client) AccountGetAuthorizationForm(botID int32, scope, publicKey string) (*AccountAuthorizationForm, error)
Registers a validated phone number in the system.
func (*Client) AccountGetAuthorizations ¶
func (c *Client) AccountGetAuthorizations() (*AccountAuthorizations, error)
Registers a validated phone number in the system.
func (*Client) AccountGetAutoDownloadSettings ¶
func (c *Client) AccountGetAutoDownloadSettings() (*AccountAutoDownloadSettings, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountGetContactSignUpNotification ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountGetContentSettings ¶
func (c *Client) AccountGetContentSettings() (*AccountContentSettings, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountGetGlobalPrivacySettings ¶
func (c *Client) AccountGetGlobalPrivacySettings() (*GlobalPrivacySettings, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountGetMultiWallPapers ¶
func (c *Client) AccountGetMultiWallPapers(wallpapers []InputWallPaper) ([]WallPaper, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountGetNotifyExceptions ¶
func (c *Client) AccountGetNotifyExceptions(compareSound bool, peer InputNotifyPeer) (Updates, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountGetNotifySettings ¶
func (c *Client) AccountGetNotifySettings(peer InputNotifyPeer) (*PeerNotifySettings, error)
Registers a validated phone number in the system.
func (*Client) AccountGetPassword ¶
func (c *Client) AccountGetPassword() (*AccountPassword, error)
Registers a validated phone number in the system.
func (*Client) AccountGetPasswordSettings ¶
func (c *Client) AccountGetPasswordSettings(password InputCheckPasswordSRP) (*AccountPasswordSettings, error)
Registers a validated phone number in the system.
func (*Client) AccountGetPrivacy ¶
func (c *Client) AccountGetPrivacy(key InputPrivacyKey) (*AccountPrivacyRules, error)
Registers a validated phone number in the system.
func (*Client) AccountGetSecureValue ¶
func (c *Client) AccountGetSecureValue(types []SecureValueType) ([]*SecureValue, error)
Registers a validated phone number in the system.
func (*Client) AccountGetTheme ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountGetThemes ¶
func (c *Client) AccountGetThemes(format string, hash int32) (AccountThemes, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountGetTmpPassword ¶
func (c *Client) AccountGetTmpPassword(password InputCheckPasswordSRP, period int32) (*AccountTmpPassword, error)
Registers a validated phone number in the system.
func (*Client) AccountGetWallPaper ¶
func (c *Client) AccountGetWallPaper(wallpaper InputWallPaper) (WallPaper, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountGetWallPapers ¶
func (c *Client) AccountGetWallPapers(hash int32) (AccountWallPapers, error)
Registers a validated phone number in the system.
func (*Client) AccountGetWebAuthorizations ¶
func (c *Client) AccountGetWebAuthorizations() (*AccountWebAuthorizations, error)
Registers a validated phone number in the system.
func (*Client) AccountInitTakeoutSession ¶
func (c *Client) AccountInitTakeoutSession(params *AccountInitTakeoutSessionParams) (*AccountTakeout, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountInstallTheme ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountInstallWallPaper ¶
func (c *Client) AccountInstallWallPaper(wallpaper InputWallPaper, settings *WallPaperSettings) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountRegisterDevice ¶
func (c *Client) AccountRegisterDevice(params *AccountRegisterDeviceParams) (bool, error)
Registers a validated phone number in the system.
func (*Client) AccountReportPeer ¶
func (c *Client) AccountReportPeer(peer InputPeer, reason ReportReason) (bool, error)
Registers a validated phone number in the system.
func (*Client) AccountResendPasswordEmail ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountResetAuthorization ¶
Registers a validated phone number in the system.
func (*Client) AccountResetNotifySettings ¶
Registers a validated phone number in the system.
func (*Client) AccountResetWallPapers ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountResetWebAuthorization ¶
Registers a validated phone number in the system.
func (*Client) AccountResetWebAuthorizations ¶
Registers a validated phone number in the system.
func (*Client) AccountSaveAutoDownloadSettings ¶
func (c *Client) AccountSaveAutoDownloadSettings(low, high bool, settings *AutoDownloadSettings) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountSaveSecureValue ¶
func (c *Client) AccountSaveSecureValue(value *InputSecureValue, secureSecretID int64) (*SecureValue, error)
Registers a validated phone number in the system.
func (*Client) AccountSaveTheme ¶
func (c *Client) AccountSaveTheme(theme InputTheme, unsave bool) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountSaveWallPaper ¶
func (c *Client) AccountSaveWallPaper(wallpaper InputWallPaper, unsave bool, settings *WallPaperSettings) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountSendChangePhoneCode ¶
func (c *Client) AccountSendChangePhoneCode(phoneNumber string, settings *CodeSettings) (*AuthSentCode, error)
Registers a validated phone number in the system.
func (*Client) AccountSendConfirmPhoneCode ¶
func (c *Client) AccountSendConfirmPhoneCode(hash string, settings *CodeSettings) (*AuthSentCode, error)
Registers a validated phone number in the system.
func (*Client) AccountSendVerifyEmailCode ¶
func (c *Client) AccountSendVerifyEmailCode(email string) (*AccountSentEmailCode, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountSendVerifyPhoneCode ¶
func (c *Client) AccountSendVerifyPhoneCode(phoneNumber string, settings *CodeSettings) (*AuthSentCode, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountSetAccountTtl ¶
func (c *Client) AccountSetAccountTtl(ttl *AccountDaysTtl) (bool, error)
Registers a validated phone number in the system.
func (*Client) AccountSetContactSignUpNotification ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountSetContentSettings ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountSetGlobalPrivacySettings ¶
func (c *Client) AccountSetGlobalPrivacySettings(settings *GlobalPrivacySettings) (*GlobalPrivacySettings, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountSetPrivacy ¶
func (c *Client) AccountSetPrivacy(key InputPrivacyKey, rules []InputPrivacyRule) (*AccountPrivacyRules, error)
Registers a validated phone number in the system.
func (*Client) AccountUnregisterDevice ¶
func (c *Client) AccountUnregisterDevice(tokenType int32, token string, otherUids []int32) (bool, error)
Registers a validated phone number in the system.
func (*Client) AccountUpdateDeviceLocked ¶
Registers a validated phone number in the system.
func (*Client) AccountUpdateNotifySettings ¶
func (c *Client) AccountUpdateNotifySettings(peer InputNotifyPeer, settings *InputPeerNotifySettings) (bool, error)
Registers a validated phone number in the system.
func (*Client) AccountUpdatePasswordSettings ¶
func (c *Client) AccountUpdatePasswordSettings(password InputCheckPasswordSRP, newSettings *AccountPasswordInputSettings) (bool, error)
Registers a validated phone number in the system.
func (*Client) AccountUpdateProfile ¶
Registers a validated phone number in the system.
func (*Client) AccountUpdateStatus ¶
Registers a validated phone number in the system.
func (*Client) AccountUpdateTheme ¶
func (c *Client) AccountUpdateTheme(params *AccountUpdateThemeParams) (*Theme, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountUpdateUsername ¶
Registers a validated phone number in the system.
func (*Client) AccountUploadTheme ¶
func (c *Client) AccountUploadTheme(file, thumb InputFile, fileName, mimeType string) (Document, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountUploadWallPaper ¶
func (c *Client) AccountUploadWallPaper(file InputFile, mimeType string, settings *WallPaperSettings) (WallPaper, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountVerifyEmail ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AccountVerifyPhone ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) AllUsersInChannel ¶
returning all user ids in specific SUPERGROUP. Note that, SUPERGROUP IS NOT CHANNEL! Major difference in how users list returning: in supergroup you aren't limited in offset of fetching users. But channel is different: telegram forcely limit you in up to 200 users per single request (you can sort it by recently joined, search query, etc.)
This method is running too long for simple call, if channel is big, so call it inside goroutine with callback.
func (*Client) AllUsersInChat ¶
returning all user ids in specific SUPERGROUP. Note that, SUPERGROUP IS NOT CHANNEL! Major difference in how users list returning: in supergroup you aren't limited in offset of fetching users. But channel is different: telegram forcely limit you in up to 200 users per single request (you can sort it by recently joined, search query, etc.)
func (*Client) AuthAcceptLoginToken ¶
func (c *Client) AuthAcceptLoginToken(token []byte) (*Authorization, error)
Registers a validated phone number in the system.
func (*Client) AuthBindTempAuthKey ¶
func (c *Client) AuthBindTempAuthKey(permAuthKeyID, nonce int64, expiresAt int32, encryptedMessage []byte) (bool, error)
Registers a validated phone number in the system.
func (*Client) AuthCancelCode ¶
Registers a validated phone number in the system.
func (*Client) AuthCheckPassword ¶
func (c *Client) AuthCheckPassword(password InputCheckPasswordSRP) (AuthAuthorization, error)
Registers a validated phone number in the system.
func (*Client) AuthDropTempAuthKeys ¶
Registers a validated phone number in the system.
func (*Client) AuthExportAuthorization ¶
func (c *Client) AuthExportAuthorization(dcID int32) (*AuthExportedAuthorization, error)
Registers a validated phone number in the system.
func (*Client) AuthExportLoginToken ¶
func (c *Client) AuthExportLoginToken(apiID int32, apiHash string, exceptIds []int32) (AuthLoginToken, error)
Registers a validated phone number in the system.
func (*Client) AuthImportAuthorization ¶
func (c *Client) AuthImportAuthorization(id int32, bytes []byte) (AuthAuthorization, error)
Registers a validated phone number in the system.
func (*Client) AuthImportBotAuthorization ¶
func (c *Client) AuthImportBotAuthorization(flags, apiID int32, apiHash, botAuthToken string) (AuthAuthorization, error)
Registers a validated phone number in the system.
func (*Client) AuthImportLoginToken ¶
func (c *Client) AuthImportLoginToken(token []byte) (AuthLoginToken, error)
Registers a validated phone number in the system.
func (*Client) AuthLogOut ¶
Registers a validated phone number in the system.
func (*Client) AuthRecoverPassword ¶
func (c *Client) AuthRecoverPassword(code string) (AuthAuthorization, error)
Registers a validated phone number in the system.
func (*Client) AuthRequestPasswordRecovery ¶
func (c *Client) AuthRequestPasswordRecovery() (*AuthPasswordRecovery, error)
Registers a validated phone number in the system.
func (*Client) AuthResendCode ¶
func (c *Client) AuthResendCode(phoneNumber, phoneCodeHash string) (*AuthSentCode, error)
Registers a validated phone number in the system.
func (*Client) AuthResetAuthorizations ¶
Registers a validated phone number in the system.
func (*Client) AuthSendCode ¶
func (c *Client) AuthSendCode(phoneNumber string, apiID int32, apiHash string, settings *CodeSettings) (*AuthSentCode, error)
Send the verification code for login
func (*Client) AuthSignIn ¶
func (c *Client) AuthSignIn(phoneNumber, phoneCodeHash, phoneCode string) (AuthAuthorization, error)
Registers a validated phone number in the system.
func (*Client) AuthSignUp ¶
func (c *Client) AuthSignUp(phoneNumber, phoneCodeHash, firstName, lastName string) (AuthAuthorization, error)
Registers a validated phone number in the system.
func (*Client) BotsAnswerWebhookJsonQuery ¶
Get the participants of a channel
func (*Client) BotsSendCustomRequest ¶
Get the participants of a channel
func (*Client) BotsSetBotCommands ¶
func (c *Client) BotsSetBotCommands(commands []*BotCommand) (bool, error)
Get the participants of a channel
func (*Client) ChannelsCheckUsername ¶
func (c *Client) ChannelsCheckUsername(channel InputChannel, username string) (bool, error)
Get the participants of a channel
func (*Client) ChannelsCreateChannel ¶
func (c *Client) ChannelsCreateChannel(params *ChannelsCreateChannelParams) (Updates, error)
Get the participants of a channel
func (*Client) ChannelsDeleteChannel ¶
func (c *Client) ChannelsDeleteChannel(channel InputChannel) (Updates, error)
Get the participants of a channel
func (*Client) ChannelsDeleteHistory ¶
func (c *Client) ChannelsDeleteHistory(channel InputChannel, maxID int32) (bool, error)
Get the participants of a channel
func (*Client) ChannelsDeleteMessages ¶
func (c *Client) ChannelsDeleteMessages(channel InputChannel, id []int32) (*MessagesAffectedMessages, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ChannelsDeleteUserHistory ¶
func (c *Client) ChannelsDeleteUserHistory(channel InputChannel, userID InputUser) (*MessagesAffectedHistory, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ChannelsEditAdmin ¶
func (c *Client) ChannelsEditAdmin(channel InputChannel, userID InputUser, adminRights *ChatAdminRights, rank string) (Updates, error)
Get the participants of a channel
func (*Client) ChannelsEditBanned ¶
func (c *Client) ChannelsEditBanned(channel InputChannel, userID InputUser, bannedRights *ChatBannedRights) (Updates, error)
Get the participants of a channel
func (*Client) ChannelsEditCreator ¶
func (c *Client) ChannelsEditCreator(channel InputChannel, userID InputUser, password InputCheckPasswordSRP) (Updates, error)
Get the participants of a channel
func (*Client) ChannelsEditLocation ¶
func (c *Client) ChannelsEditLocation(channel InputChannel, geoPoint InputGeoPoint, address string) (bool, error)
Get the participants of a channel
func (*Client) ChannelsEditPhoto ¶
func (c *Client) ChannelsEditPhoto(channel InputChannel, photo InputChatPhoto) (Updates, error)
Get the participants of a channel
func (*Client) ChannelsEditTitle ¶
func (c *Client) ChannelsEditTitle(channel InputChannel, title string) (Updates, error)
Get the participants of a channel
func (*Client) ChannelsExportMessageLink ¶
func (c *Client) ChannelsExportMessageLink(grouped, thread bool, channel InputChannel, id int32) (*ExportedMessageLink, error)
Get the participants of a channel
func (*Client) ChannelsGetAdminLog ¶
func (c *Client) ChannelsGetAdminLog(params *ChannelsGetAdminLogParams) (*ChannelsAdminLogResults, error)
Get the participants of a channel
func (*Client) ChannelsGetAdminedPublicChannels ¶
func (c *Client) ChannelsGetAdminedPublicChannels(byLocation, checkLimit bool) (MessagesChats, error)
Get the participants of a channel
func (*Client) ChannelsGetChannels ¶
func (c *Client) ChannelsGetChannels(id []InputChannel) (MessagesChats, error)
Get the participants of a channel
func (*Client) ChannelsGetFullChannel ¶
func (c *Client) ChannelsGetFullChannel(channel InputChannel) (*MessagesChatFull, error)
Get the participants of a channel
func (*Client) ChannelsGetGroupsForDiscussion ¶
func (c *Client) ChannelsGetGroupsForDiscussion() (MessagesChats, error)
Get the participants of a channel
func (*Client) ChannelsGetInactiveChannels ¶
func (c *Client) ChannelsGetInactiveChannels() (*MessagesInactiveChats, error)
Get the participants of a channel
func (*Client) ChannelsGetLeftChannels ¶
func (c *Client) ChannelsGetLeftChannels(offset int32) (MessagesChats, error)
Get the participants of a channel
func (*Client) ChannelsGetMessages ¶
func (c *Client) ChannelsGetMessages(channel InputChannel, id []InputMessage) (MessagesMessages, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ChannelsGetParticipant ¶
func (c *Client) ChannelsGetParticipant(channel InputChannel, userID InputUser) (*ChannelsChannelParticipant, error)
Get the participants of a channel
func (*Client) ChannelsGetParticipants ¶
func (c *Client) ChannelsGetParticipants(channel InputChannel, filter ChannelParticipantsFilter, offset, limit, hash int32) (ChannelsChannelParticipants, error)
Get the participants of a channel
func (*Client) ChannelsInviteToChannel ¶
func (c *Client) ChannelsInviteToChannel(channel InputChannel, users []InputUser) (Updates, error)
Get the participants of a channel
func (*Client) ChannelsJoinChannel ¶
func (c *Client) ChannelsJoinChannel(channel InputChannel) (Updates, error)
Get the participants of a channel
func (*Client) ChannelsLeaveChannel ¶
func (c *Client) ChannelsLeaveChannel(channel InputChannel) (Updates, error)
Get the participants of a channel
func (*Client) ChannelsReadHistory ¶
func (c *Client) ChannelsReadHistory(channel InputChannel, maxID int32) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ChannelsReadMessageContents ¶
func (c *Client) ChannelsReadMessageContents(channel InputChannel, id []int32) (bool, error)
Get the participants of a channel
func (*Client) ChannelsReportSpam ¶
func (c *Client) ChannelsReportSpam(channel InputChannel, userID InputUser, id []int32) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ChannelsSetDiscussionGroup ¶
func (c *Client) ChannelsSetDiscussionGroup(broadcast, group InputChannel) (bool, error)
Get the participants of a channel
func (*Client) ChannelsSetStickers ¶
func (c *Client) ChannelsSetStickers(channel InputChannel, stickerset InputStickerSet) (bool, error)
Get the participants of a channel
func (*Client) ChannelsTogglePreHistoryHidden ¶
func (c *Client) ChannelsTogglePreHistoryHidden(channel InputChannel, enabled bool) (Updates, error)
Get the participants of a channel
func (*Client) ChannelsToggleSignatures ¶
func (c *Client) ChannelsToggleSignatures(channel InputChannel, enabled bool) (Updates, error)
Get the participants of a channel
func (*Client) ChannelsToggleSlowMode ¶
func (c *Client) ChannelsToggleSlowMode(channel InputChannel, seconds int32) (Updates, error)
Get the participants of a channel
func (*Client) ChannelsUpdateUsername ¶
func (c *Client) ChannelsUpdateUsername(channel InputChannel, username string) (bool, error)
Get the participants of a channel
func (*Client) ContactsAcceptContact ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ContactsAddContact ¶
func (c *Client) ContactsAddContact(params *ContactsAddContactParams) (Updates, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ContactsBlock ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ContactsBlockFromReplies ¶
func (c *Client) ContactsBlockFromReplies(deleteMessage, deleteHistory, reportSpam bool, msgID int32) (Updates, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ContactsDeleteByPhones ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ContactsDeleteContacts ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ContactsGetBlocked ¶
func (c *Client) ContactsGetBlocked(offset, limit int32) (ContactsBlocked, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ContactsGetContactIDs ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ContactsGetContacts ¶
func (c *Client) ContactsGetContacts(hash int32) (ContactsContacts, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ContactsGetLocated ¶
func (c *Client) ContactsGetLocated(background bool, geoPoint InputGeoPoint, selfExpires int32) (Updates, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ContactsGetSaved ¶
func (c *Client) ContactsGetSaved() ([]*SavedPhoneContact, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ContactsGetStatuses ¶
func (c *Client) ContactsGetStatuses() ([]*ContactStatus, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ContactsGetTopPeers ¶
func (c *Client) ContactsGetTopPeers(params *ContactsGetTopPeersParams) (ContactsTopPeers, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ContactsImportContacts ¶
func (c *Client) ContactsImportContacts(contacts []*InputPhoneContact) (*ContactsImportedContacts, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ContactsResetSaved ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ContactsResetTopPeerRating ¶
func (c *Client) ContactsResetTopPeerRating(category TopPeerCategory, peer InputPeer) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ContactsResolveUsername ¶
func (c *Client) ContactsResolveUsername(username string) (*ContactsResolvedPeer, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ContactsSearch ¶
func (c *Client) ContactsSearch(q string, limit int32) (*ContactsFound, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ContactsToggleTopPeers ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) ContactsUnblock ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) FoldersDeleteFolder ¶
Get the participants of a channel
func (*Client) FoldersEditPeerFolders ¶
func (c *Client) FoldersEditPeerFolders(folderPeers []*InputFolderPeer) (Updates, error)
Get the participants of a channel
func (*Client) GetChannelInfoByInviteLink ¶
func (c *Client) GetChannelInfoByInviteLink(hashOrLink string) (*ChannelFull, error)
func (*Client) GetChatByID ¶
GetChatByID is searching in all user chats specific chat with input id TODO: need to test
func (*Client) GetChatInfoByHashLink ¶
func (*Client) GetPossibleAllParticipantsOfGroup ¶
func (c *Client) GetPossibleAllParticipantsOfGroup(ch InputChannel) ([]int, error)
func (*Client) GetPossibleAllUsersOfGroup ¶
func (c *Client) GetPossibleAllUsersOfGroup(ch InputChannel) ([]User, error)
func (*Client) HelpAcceptTermsOfService ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpDismissSuggestion ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpEditUserInfo ¶
func (c *Client) HelpEditUserInfo(userID InputUser, message string, entities []MessageEntity) (HelpUserInfo, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpGetAppChangelog ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpGetAppConfig ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpGetAppUpdate ¶
func (c *Client) HelpGetAppUpdate(source string) (HelpAppUpdate, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpGetCdnConfig ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpGetConfig ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpGetCountriesList ¶
func (c *Client) HelpGetCountriesList(langCode string, hash int32) (HelpCountriesList, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpGetDeepLinkInfo ¶
func (c *Client) HelpGetDeepLinkInfo(path string) (HelpDeepLinkInfo, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpGetInviteText ¶
func (c *Client) HelpGetInviteText() (*HelpInviteText, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpGetNearestDc ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpGetPassportConfig ¶
func (c *Client) HelpGetPassportConfig(hash int32) (HelpPassportConfig, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpGetPromoData ¶
func (c *Client) HelpGetPromoData() (HelpPromoData, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpGetRecentMeUrls ¶
func (c *Client) HelpGetRecentMeUrls(referer string) (*HelpRecentMeUrls, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpGetSupport ¶
func (c *Client) HelpGetSupport() (*HelpSupport, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpGetSupportName ¶
func (c *Client) HelpGetSupportName() (*HelpSupportName, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpGetTermsOfServiceUpdate ¶
func (c *Client) HelpGetTermsOfServiceUpdate() (HelpTermsOfServiceUpdate, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpGetUserInfo ¶
func (c *Client) HelpGetUserInfo(userID InputUser) (HelpUserInfo, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpHidePromoData ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpSaveAppLog ¶
func (c *Client) HelpSaveAppLog(events []*InputAppEvent) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) HelpSetBotUpdatesStatus ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) InitConnection ¶
func (c *Client) InitConnection(params *InitConnectionParams) (tl.Object, error)
func (*Client) InvokeWithLayer ¶
func (*Client) InvokeWithTakeout ¶
func (*Client) LangpackGetDifference ¶
func (c *Client) LangpackGetDifference(langPack, langCode string, fromVersion int32) (*LangPackDifference, error)
Get the participants of a channel
func (*Client) LangpackGetLangPack ¶
func (c *Client) LangpackGetLangPack(langPack, langCode string) (*LangPackDifference, error)
Get the participants of a channel
func (*Client) LangpackGetLanguage ¶
func (c *Client) LangpackGetLanguage(langPack, langCode string) (*LangPackLanguage, error)
Get the participants of a channel
func (*Client) LangpackGetLanguages ¶
func (c *Client) LangpackGetLanguages(langPack string) ([]*LangPackLanguage, error)
Get the participants of a channel
func (*Client) LangpackGetStrings ¶
func (c *Client) LangpackGetStrings(langPack, langCode string, keys []string) ([]LangPackString, error)
Get the participants of a channel
func (*Client) MessagesAcceptEncryption ¶
func (c *Client) MessagesAcceptEncryption(peer *InputEncryptedChat, gB []byte, keyFingerprint int64) (EncryptedChat, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesAcceptURLAuth ¶
func (c *Client) MessagesAcceptURLAuth(writeAllowed bool, peer InputPeer, msgID, buttonID int32) (URLAuthResult, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesAddChatUser ¶
func (c *Client) MessagesAddChatUser(chatID int32, userID InputUser, fwdLimit int32) (Updates, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesCheckChatInvite ¶
func (c *Client) MessagesCheckChatInvite(hash string) (ChatInvite, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesClearAllDrafts ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesClearRecentStickers ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesCreateChat ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesDeleteChatUser ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesDeleteHistory ¶
func (c *Client) MessagesDeleteHistory(justClear, revoke bool, peer InputPeer, maxID int32) (*MessagesAffectedHistory, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesDeleteMessages ¶
func (c *Client) MessagesDeleteMessages(revoke bool, id []int32) (*MessagesAffectedMessages, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesDeleteScheduledMessages ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesDiscardEncryption ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesEditChatAbout ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesEditChatAdmin ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesEditChatDefaultBannedRights ¶
func (c *Client) MessagesEditChatDefaultBannedRights(peer InputPeer, bannedRights *ChatBannedRights) (Updates, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesEditChatPhoto ¶
func (c *Client) MessagesEditChatPhoto(chatID int32, photo InputChatPhoto) (Updates, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesEditChatTitle ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesEditInlineBotMessage ¶
func (c *Client) MessagesEditInlineBotMessage(params *MessagesEditInlineBotMessageParams) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesEditMessage ¶
func (c *Client) MessagesEditMessage(params *MessagesEditMessageParams) (Updates, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesExportChatInvite ¶
func (c *Client) MessagesExportChatInvite(peer InputPeer) (ExportedChatInvite, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesFaveSticker ¶
func (c *Client) MessagesFaveSticker(id InputDocument, unfave bool) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesForwardMessages ¶
func (c *Client) MessagesForwardMessages(params *MessagesForwardMessagesParams) (Updates, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetAllChats ¶
func (c *Client) MessagesGetAllChats(exceptIds []int32) (MessagesChats, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetAllDrafts ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetAllStickers ¶
func (c *Client) MessagesGetAllStickers(hash int32) (MessagesAllStickers, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetArchivedStickers ¶
func (c *Client) MessagesGetArchivedStickers(masks bool, offsetID int64, limit int32) (*MessagesArchivedStickers, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetAttachedStickers ¶
func (c *Client) MessagesGetAttachedStickers(media InputStickeredMedia) ([]StickerSetCovered, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetBotCallbackAnswer ¶
func (c *Client) MessagesGetBotCallbackAnswer(params *MessagesGetBotCallbackAnswerParams) (*MessagesBotCallbackAnswer, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetChats ¶
func (c *Client) MessagesGetChats(id []int32) (MessagesChats, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetCommonChats ¶
func (c *Client) MessagesGetCommonChats(userID InputUser, maxID, limit int32) (MessagesChats, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetDhConfig ¶
func (c *Client) MessagesGetDhConfig(version, randomLength int32) (MessagesDhConfig, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetDialogFilters ¶
func (c *Client) MessagesGetDialogFilters() ([]*DialogFilter, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetDialogUnreadMarks ¶
func (c *Client) MessagesGetDialogUnreadMarks() ([]DialogPeer, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetDialogs ¶
func (c *Client) MessagesGetDialogs(params *MessagesGetDialogsParams) (MessagesDialogs, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetDiscussionMessage ¶
func (c *Client) MessagesGetDiscussionMessage(peer InputPeer, msgID int32) (*MessagesDiscussionMessage, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetDocumentByHash ¶
func (c *Client) MessagesGetDocumentByHash(sha256 []byte, size int32, mimeType string) (Document, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetEmojiKeywords ¶
func (c *Client) MessagesGetEmojiKeywords(langCode string) (*EmojiKeywordsDifference, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetEmojiKeywordsDifference ¶
func (c *Client) MessagesGetEmojiKeywordsDifference(langCode string, fromVersion int32) (*EmojiKeywordsDifference, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetEmojiKeywordsLanguages ¶
func (c *Client) MessagesGetEmojiKeywordsLanguages(langCodes []string) ([]*EmojiLanguage, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetEmojiURL ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetFavedStickers ¶
func (c *Client) MessagesGetFavedStickers(hash int32) (MessagesFavedStickers, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetFeaturedStickers ¶
func (c *Client) MessagesGetFeaturedStickers(hash int32) (MessagesFeaturedStickers, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetFullChat ¶
func (c *Client) MessagesGetFullChat(chatID int32) (*MessagesChatFull, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetGameHighScores ¶
func (c *Client) MessagesGetGameHighScores(peer InputPeer, id int32, userID InputUser) (*MessagesHighScores, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetHistory ¶
func (c *Client) MessagesGetHistory(params *MessagesGetHistoryParams) (MessagesMessages, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetInlineBotResults ¶
func (c *Client) MessagesGetInlineBotResults(params *MessagesGetInlineBotResultsParams) (*MessagesBotResults, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetInlineGameHighScores ¶
func (c *Client) MessagesGetInlineGameHighScores(id *InputBotInlineMessageID, userID InputUser) (*MessagesHighScores, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetMaskStickers ¶
func (c *Client) MessagesGetMaskStickers(hash int32) (MessagesAllStickers, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetMessageEditData ¶
func (c *Client) MessagesGetMessageEditData(peer InputPeer, id int32) (*MessagesMessageEditData, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetMessages ¶
func (c *Client) MessagesGetMessages(id []InputMessage) (MessagesMessages, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetMessagesViews ¶
func (c *Client) MessagesGetMessagesViews(peer InputPeer, id []int32, increment bool) (*MessagesMessageViews, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetOldFeaturedStickers ¶
func (c *Client) MessagesGetOldFeaturedStickers(offset, limit, hash int32) (MessagesFeaturedStickers, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetOnlines ¶
func (c *Client) MessagesGetOnlines(peer InputPeer) (*ChatOnlines, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetPeerDialogs ¶
func (c *Client) MessagesGetPeerDialogs(peers []InputDialogPeer) (*MessagesPeerDialogs, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetPeerSettings ¶
func (c *Client) MessagesGetPeerSettings(peer InputPeer) (*PeerSettings, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetPinnedDialogs ¶
func (c *Client) MessagesGetPinnedDialogs(folderID int32) (*MessagesPeerDialogs, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetPollResults ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetPollVotes ¶
func (c *Client) MessagesGetPollVotes(params *MessagesGetPollVotesParams) (*MessagesVotesList, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetRecentLocations ¶
func (c *Client) MessagesGetRecentLocations(peer InputPeer, limit, hash int32) (MessagesMessages, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetRecentStickers ¶
func (c *Client) MessagesGetRecentStickers(attached bool, hash int32) (MessagesRecentStickers, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetReplies ¶
func (c *Client) MessagesGetReplies(params *MessagesGetRepliesParams) (MessagesMessages, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetSavedGifs ¶
func (c *Client) MessagesGetSavedGifs(hash int32) (MessagesSavedGifs, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetScheduledHistory ¶
func (c *Client) MessagesGetScheduledHistory(peer InputPeer, hash int32) (MessagesMessages, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetScheduledMessages ¶
func (c *Client) MessagesGetScheduledMessages(peer InputPeer, id []int32) (MessagesMessages, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetSearchCounters ¶
func (c *Client) MessagesGetSearchCounters(peer InputPeer, filters []MessagesFilter) ([]*MessagesSearchCounter, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetSplitRanges ¶
func (c *Client) MessagesGetSplitRanges() ([]*MessageRange, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetStatsURL ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetStickerSet ¶
func (c *Client) MessagesGetStickerSet(stickerset InputStickerSet) (*MessagesStickerSet, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetStickers ¶
func (c *Client) MessagesGetStickers(emoticon string, hash int32) (MessagesStickers, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetSuggestedDialogFilters ¶
func (c *Client) MessagesGetSuggestedDialogFilters() ([]*DialogFilterSuggested, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetUnreadMentions ¶
func (c *Client) MessagesGetUnreadMentions(params *MessagesGetUnreadMentionsParams) (MessagesMessages, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetWebPage ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesGetWebPagePreview ¶
func (c *Client) MessagesGetWebPagePreview(message string, entities []MessageEntity) (MessageMedia, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesHidePeerSettingsBar ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesImportChatInvite ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesInstallStickerSet ¶
func (c *Client) MessagesInstallStickerSet(stickerset InputStickerSet, archived bool) (MessagesStickerSetInstallResult, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesMarkDialogUnread ¶
func (c *Client) MessagesMarkDialogUnread(unread bool, peer InputDialogPeer) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesMigrateChat ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesReadDiscussion ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesReadEncryptedHistory ¶
func (c *Client) MessagesReadEncryptedHistory(peer *InputEncryptedChat, maxDate int32) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesReadFeaturedStickers ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesReadHistory ¶
func (c *Client) MessagesReadHistory(peer InputPeer, maxID int32) (*MessagesAffectedMessages, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesReadMentions ¶
func (c *Client) MessagesReadMentions(peer InputPeer) (*MessagesAffectedHistory, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesReadMessageContents ¶
func (c *Client) MessagesReadMessageContents(id []int32) (*MessagesAffectedMessages, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesReceivedMessages ¶
func (c *Client) MessagesReceivedMessages(maxID int32) ([]*ReceivedNotifyMessage, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesReceivedQueue ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesReorderPinnedDialogs ¶
func (c *Client) MessagesReorderPinnedDialogs(force bool, folderID int32, order []InputDialogPeer) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesReorderStickerSets ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesReport ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesReportEncryptedSpam ¶
func (c *Client) MessagesReportEncryptedSpam(peer *InputEncryptedChat) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesReportSpam ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesRequestEncryption ¶
func (c *Client) MessagesRequestEncryption(userID InputUser, randomID int32, gA []byte) (EncryptedChat, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesRequestURLAuth ¶
func (c *Client) MessagesRequestURLAuth(peer InputPeer, msgID, buttonID int32) (URLAuthResult, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSaveDraft ¶
func (c *Client) MessagesSaveDraft(params *MessagesSaveDraftParams) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSaveGif ¶
func (c *Client) MessagesSaveGif(id InputDocument, unsave bool) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSaveRecentSticker ¶
func (c *Client) MessagesSaveRecentSticker(attached bool, id InputDocument, unsave bool) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSearch ¶
func (c *Client) MessagesSearch(params *MessagesSearchParams) (MessagesMessages, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSearchGlobal ¶
func (c *Client) MessagesSearchGlobal(params *MessagesSearchGlobalParams) (MessagesMessages, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSearchStickerSets ¶
func (c *Client) MessagesSearchStickerSets(excludeFeatured bool, q string, hash int32) (MessagesFoundStickerSets, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSendEncrypted ¶
func (c *Client) MessagesSendEncrypted(silent bool, peer *InputEncryptedChat, randomID int64, data []byte) (MessagesSentEncryptedMessage, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSendEncryptedFile ¶
func (c *Client) MessagesSendEncryptedFile(params *MessagesSendEncryptedFileParams) (MessagesSentEncryptedMessage, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSendEncryptedService ¶
func (c *Client) MessagesSendEncryptedService(peer *InputEncryptedChat, randomID int64, data []byte) (MessagesSentEncryptedMessage, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSendInlineBotResult ¶
func (c *Client) MessagesSendInlineBotResult(params *MessagesSendInlineBotResultParams) (Updates, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSendMedia ¶
func (c *Client) MessagesSendMedia(params *MessagesSendMediaParams) (Updates, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSendMessage ¶
func (c *Client) MessagesSendMessage(params *MessagesSendMessageParams) (Updates, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSendMultiMedia ¶
func (c *Client) MessagesSendMultiMedia(params *MessagesSendMultiMediaParams) (Updates, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSendScheduledMessages ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSendScreenshotNotification ¶
func (c *Client) MessagesSendScreenshotNotification(peer InputPeer, replyToMsgID int32, randomID int64) (Updates, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSendVote ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSetBotCallbackAnswer ¶
func (c *Client) MessagesSetBotCallbackAnswer(params *MessagesSetBotCallbackAnswerParams) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSetBotPrecheckoutResults ¶
func (c *Client) MessagesSetBotPrecheckoutResults(success bool, queryID int64, error string) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSetBotShippingResults ¶
func (c *Client) MessagesSetBotShippingResults(queryID int64, error string, shippingOptions []*ShippingOption) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSetEncryptedTyping ¶
func (c *Client) MessagesSetEncryptedTyping(peer *InputEncryptedChat, typing bool) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSetGameScore ¶
func (c *Client) MessagesSetGameScore(params *MessagesSetGameScoreParams) (Updates, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSetInlineBotResults ¶
func (c *Client) MessagesSetInlineBotResults(params *MessagesSetInlineBotResultsParams) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSetInlineGameScore ¶
func (c *Client) MessagesSetInlineGameScore(params *MessagesSetInlineGameScoreParams) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesSetTyping ¶
func (c *Client) MessagesSetTyping(peer InputPeer, topMsgID int32, action SendMessageAction) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesStartBot ¶
func (c *Client) MessagesStartBot(bot InputUser, peer InputPeer, randomID int64, startParam string) (Updates, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesToggleDialogPin ¶
func (c *Client) MessagesToggleDialogPin(pinned bool, peer InputDialogPeer) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesToggleStickerSets ¶
func (c *Client) MessagesToggleStickerSets(uninstall, archive, unarchive bool, stickersets []InputStickerSet) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesUninstallStickerSet ¶
func (c *Client) MessagesUninstallStickerSet(stickerset InputStickerSet) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesUnpinAllMessages ¶
func (c *Client) MessagesUnpinAllMessages(peer InputPeer) (*MessagesAffectedHistory, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesUpdateDialogFilter ¶
func (c *Client) MessagesUpdateDialogFilter(id int32, filter *DialogFilter) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesUpdateDialogFiltersOrder ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesUpdatePinnedMessage ¶
func (c *Client) MessagesUpdatePinnedMessage(params *MessagesUpdatePinnedMessageParams) (Updates, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesUploadEncryptedFile ¶
func (c *Client) MessagesUploadEncryptedFile(peer *InputEncryptedChat, file InputEncryptedFile) (EncryptedFile, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) MessagesUploadMedia ¶
func (c *Client) MessagesUploadMedia(peer InputPeer, media InputMedia) (MessageMedia, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) PaymentsClearSavedInfo ¶
Get the participants of a channel
func (*Client) PaymentsGetBankCardData ¶
func (c *Client) PaymentsGetBankCardData(number string) (*PaymentsBankCardData, error)
Get the participants of a channel
func (*Client) PaymentsGetPaymentForm ¶
func (c *Client) PaymentsGetPaymentForm(msgID int32) (*PaymentsPaymentForm, error)
Get the participants of a channel
func (*Client) PaymentsGetPaymentReceipt ¶
func (c *Client) PaymentsGetPaymentReceipt(msgID int32) (*PaymentsPaymentReceipt, error)
Get the participants of a channel
func (*Client) PaymentsGetSavedInfo ¶
func (c *Client) PaymentsGetSavedInfo() (*PaymentsSavedInfo, error)
Get the participants of a channel
func (*Client) PaymentsSendPaymentForm ¶
func (c *Client) PaymentsSendPaymentForm(msgID int32, requestedInfoID, shippingOptionID string, credentials InputPaymentCredentials) (PaymentsPaymentResult, error)
Get the participants of a channel
func (*Client) PaymentsValidateRequestedInfo ¶
func (c *Client) PaymentsValidateRequestedInfo(save bool, msgID int32, info *PaymentRequestedInfo) (*PaymentsValidatedRequestedInfo, error)
Get the participants of a channel
func (*Client) PhoneAcceptCall ¶
func (c *Client) PhoneAcceptCall(peer *InputPhoneCall, gB []byte, protocol *PhoneCallProtocol) (*PhonePhoneCall, error)
Get the participants of a channel
func (*Client) PhoneConfirmCall ¶
func (c *Client) PhoneConfirmCall(peer *InputPhoneCall, gA []byte, keyFingerprint int64, protocol *PhoneCallProtocol) (*PhonePhoneCall, error)
Get the participants of a channel
func (*Client) PhoneDiscardCall ¶
func (c *Client) PhoneDiscardCall(params *PhoneDiscardCallParams) (Updates, error)
Get the participants of a channel
func (*Client) PhoneGetCallConfig ¶
Get the participants of a channel
func (*Client) PhoneGetCallConfigFormatted ¶
func (c *Client) PhoneGetCallConfigFormatted() (*calls.CallConfig, error)
func (*Client) PhoneReceivedCall ¶
func (c *Client) PhoneReceivedCall(peer *InputPhoneCall) (bool, error)
Get the participants of a channel
func (*Client) PhoneRequestCall ¶
func (c *Client) PhoneRequestCall(params *PhoneRequestCallParams) (*PhonePhoneCall, error)
Get the participants of a channel
func (*Client) PhoneSaveCallDebug ¶
func (c *Client) PhoneSaveCallDebug(peer *InputPhoneCall, debug *DataJson) (bool, error)
Get the participants of a channel
func (*Client) PhoneSendSignalingData ¶
func (c *Client) PhoneSendSignalingData(peer *InputPhoneCall, data []byte) (bool, error)
Get the participants of a channel
func (*Client) PhoneSetCallRating ¶
func (c *Client) PhoneSetCallRating(userInitiative bool, peer *InputPhoneCall, rating int32, comment string) (Updates, error)
Get the participants of a channel
func (*Client) PhotosDeletePhotos ¶
func (c *Client) PhotosDeletePhotos(id []InputPhoto) ([]int64, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) PhotosGetUserPhotos ¶
func (c *Client) PhotosGetUserPhotos(userID InputUser, offset int32, maxID int64, limit int32) (PhotosPhotos, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) PhotosUpdateProfilePhoto ¶
func (c *Client) PhotosUpdateProfilePhoto(id InputPhoto) (*PhotosPhoto, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) PhotosUploadProfilePhoto ¶
func (c *Client) PhotosUploadProfilePhoto(file, video InputFile, videoStartTs float64) (*PhotosPhoto, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) StatsGetBroadcastStats ¶
func (c *Client) StatsGetBroadcastStats(dark bool, channel InputChannel) (*StatsBroadcastStats, error)
Get the participants of a channel
func (*Client) StatsGetMegagroupStats ¶
func (c *Client) StatsGetMegagroupStats(dark bool, channel InputChannel) (*StatsMegagroupStats, error)
Get the participants of a channel
func (*Client) StatsGetMessagePublicForwards ¶
func (c *Client) StatsGetMessagePublicForwards(params *StatsGetMessagePublicForwardsParams) (MessagesMessages, error)
Get the participants of a channel
func (*Client) StatsGetMessageStats ¶
func (c *Client) StatsGetMessageStats(dark bool, channel InputChannel, msgID int32) (*StatsMessageStats, error)
Get the participants of a channel
func (*Client) StatsLoadAsyncGraph ¶
func (c *Client) StatsLoadAsyncGraph(token string, x int64) (StatsGraph, error)
Get the participants of a channel
func (*Client) StickersAddStickerToSet ¶
func (c *Client) StickersAddStickerToSet(stickerset InputStickerSet, sticker *InputStickerSetItem) (*MessagesStickerSet, error)
Get the participants of a channel
func (*Client) StickersChangeStickerPosition ¶
func (c *Client) StickersChangeStickerPosition(sticker InputDocument, position int32) (*MessagesStickerSet, error)
Get the participants of a channel
func (*Client) StickersCreateStickerSet ¶
func (c *Client) StickersCreateStickerSet(params *StickersCreateStickerSetParams) (*MessagesStickerSet, error)
Get the participants of a channel
func (*Client) StickersRemoveStickerFromSet ¶
func (c *Client) StickersRemoveStickerFromSet(sticker InputDocument) (*MessagesStickerSet, error)
Get the participants of a channel
func (*Client) StickersSetStickerSetThumb ¶
func (c *Client) StickersSetStickerSetThumb(stickerset InputStickerSet, thumb InputDocument) (*MessagesStickerSet, error)
Get the participants of a channel
func (*Client) UpdatesGetChannelDifference ¶
func (c *Client) UpdatesGetChannelDifference(params *UpdatesGetChannelDifferenceParams) (UpdatesChannelDifference, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) UpdatesGetDifference ¶
func (c *Client) UpdatesGetDifference(pts, ptsTotalLimit, date, qts int32) (UpdatesDifference, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) UpdatesGetState ¶
func (c *Client) UpdatesGetState() (*UpdatesState, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) UploadGetCdnFile ¶
func (c *Client) UploadGetCdnFile(fileToken []byte, offset, limit int32) (UploadCdnFile, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) UploadGetCdnFileHashes ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) UploadGetFile ¶
func (c *Client) UploadGetFile(params *UploadGetFileParams) (UploadFile, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) UploadGetFileHashes ¶
func (c *Client) UploadGetFileHashes(location InputFileLocation, offset int32) ([]*FileHash, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) UploadGetWebFile ¶
func (c *Client) UploadGetWebFile(location InputWebFileLocation, offset, limit int32) (*UploadWebFile, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) UploadReuploadCdnFile ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) UploadSaveBigFilePart ¶
func (c *Client) UploadSaveBigFilePart(fileID int64, filePart, fileTotalParts int32, bytes []byte) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) UploadSaveFilePart ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) UsersGetFullUser ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) UsersGetUsers ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*Client) UsersSetSecureValueErrors ¶
func (c *Client) UsersSetSecureValueErrors(id InputUser, errs []SecureValueError) (bool, error)
Sends a Telegram Passport authorization form, effectively sharing data with the service
type ClientConfig ¶
type CodeSettings ¶
type CodeSettings struct {
AllowFlashcall bool `tl:"flag:0,encoded_in_bitflags"`
CurrentNumber bool `tl:"flag:1,encoded_in_bitflags"`
AllowAppHash bool `tl:"flag:4,encoded_in_bitflags"`
}
func (*CodeSettings) CRC ¶
func (*CodeSettings) CRC() uint32
func (*CodeSettings) FlagIndex ¶
func (*CodeSettings) FlagIndex() int
type Config ¶
type Config struct {
PhonecallsEnabled bool `tl:"flag:1,encoded_in_bitflags"`
DefaultP2PContacts bool `tl:"flag:3,encoded_in_bitflags"`
PreloadFeaturedStickers bool `tl:"flag:4,encoded_in_bitflags"`
IgnorePhoneEntities bool `tl:"flag:5,encoded_in_bitflags"`
RevokePmInbox bool `tl:"flag:6,encoded_in_bitflags"`
BlockedMode bool `tl:"flag:8,encoded_in_bitflags"`
PfsEnabled bool `tl:"flag:13,encoded_in_bitflags"`
Date int32
Expires int32
TestMode bool
ThisDc int32
DcOptions []*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
SavedGifsLimit int32
EditTimeLimit int32
RevokeTimeLimit int32
RevokePmTimeLimit int32
RatingEDecay int32
StickersRecentLimit int32
StickersFavedLimit int32
ChannelsReadMediaPeriod int32
TmpSessions int32 `tl:"flag:0"`
PinnedDialogsCountMax int32
PinnedInfolderCountMax int32
CallReceiveTimeoutMs int32
CallRingTimeoutMs int32
CallConnectTimeoutMs int32
CallPacketTimeoutMs int32
MeURLPrefix string
AutoupdateURLPrefix string `tl:"flag:7"`
GifSearchUsername string `tl:"flag:9"`
VenueSearchUsername string `tl:"flag:10"`
ImgSearchUsername string `tl:"flag:11"`
StaticMapsProvider string `tl:"flag:12"`
CaptionLengthMax int32
MessageLengthMax int32
WebfileDcID int32
SuggestedLangCode string `tl:"flag:2"`
LangPackVersion int32 `tl:"flag:2"`
BaseLangPackVersion int32 `tl:"flag:2"`
}
type ContactStatus ¶
type ContactStatus struct {
UserID int32
Status UserStatus
}
func (*ContactStatus) CRC ¶
func (*ContactStatus) CRC() uint32
type ContactsAcceptContactParams ¶
type ContactsAcceptContactParams struct {
ID InputUser
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ContactsAcceptContactParams) CRC ¶
func (*ContactsAcceptContactParams) CRC() uint32
type ContactsAddContactParams ¶
type ContactsAddContactParams struct {
AddPhonePrivacyException bool `tl:"flag:0,encoded_in_bitflags"`
ID InputUser
FirstName string // New user first name
LastName string // New user last name
Phone string
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ContactsAddContactParams) CRC ¶
func (*ContactsAddContactParams) CRC() uint32
func (*ContactsAddContactParams) FlagIndex ¶
func (*ContactsAddContactParams) FlagIndex() int
type ContactsBlockFromRepliesParams ¶
type ContactsBlockFromRepliesParams struct {
DeleteMessage bool `tl:"flag:0,encoded_in_bitflags"`
DeleteHistory bool `tl:"flag:1,encoded_in_bitflags"`
ReportSpam bool `tl:"flag:2,encoded_in_bitflags"`
MsgID int32 // Message identifier on which a current query depends
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ContactsBlockFromRepliesParams) CRC ¶
func (*ContactsBlockFromRepliesParams) CRC() uint32
func (*ContactsBlockFromRepliesParams) FlagIndex ¶
func (*ContactsBlockFromRepliesParams) FlagIndex() int
type ContactsBlockParams ¶
type ContactsBlockParams struct {
ID InputPeer
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ContactsBlockParams) CRC ¶
func (*ContactsBlockParams) CRC() uint32
type ContactsBlocked ¶
type ContactsBlockedObj ¶
type ContactsBlockedObj struct {
Blocked []*PeerBlocked
Chats []Chat
Users []User
}
func (*ContactsBlockedObj) CRC ¶
func (*ContactsBlockedObj) CRC() uint32
func (*ContactsBlockedObj) ImplementsContactsBlocked ¶
func (*ContactsBlockedObj) ImplementsContactsBlocked()
type ContactsBlockedSlice ¶
type ContactsBlockedSlice struct {
Count int32
Blocked []*PeerBlocked
Chats []Chat
Users []User
}
func (*ContactsBlockedSlice) CRC ¶
func (*ContactsBlockedSlice) CRC() uint32
func (*ContactsBlockedSlice) ImplementsContactsBlocked ¶
func (*ContactsBlockedSlice) ImplementsContactsBlocked()
type ContactsContacts ¶
type ContactsContactsNotModified ¶
type ContactsContactsNotModified struct{}
Contact list on the server is the same as the list on the client.
func (*ContactsContactsNotModified) CRC ¶
func (*ContactsContactsNotModified) CRC() uint32
func (*ContactsContactsNotModified) ImplementsContactsContacts ¶
func (*ContactsContactsNotModified) ImplementsContactsContacts()
type ContactsContactsObj ¶
type ContactsContactsObj struct {
Contacts []*Contact // Contact list
SavedCount int32 // Number of contacts that were saved successfully
Users []User // User list
}
The current user's contact list and info on users.
func (*ContactsContactsObj) CRC ¶
func (*ContactsContactsObj) CRC() uint32
func (*ContactsContactsObj) ImplementsContactsContacts ¶
func (*ContactsContactsObj) ImplementsContactsContacts()
type ContactsDeleteByPhonesParams ¶
type ContactsDeleteByPhonesParams struct {
Phones []string
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ContactsDeleteByPhonesParams) CRC ¶
func (*ContactsDeleteByPhonesParams) CRC() uint32
type ContactsDeleteContactsParams ¶
type ContactsDeleteContactsParams struct {
ID []InputUser
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ContactsDeleteContactsParams) CRC ¶
func (*ContactsDeleteContactsParams) CRC() uint32
type ContactsFound ¶
func (*ContactsFound) CRC ¶
func (*ContactsFound) CRC() uint32
type ContactsGetBlockedParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ContactsGetBlockedParams) CRC ¶
func (*ContactsGetBlockedParams) CRC() uint32
type ContactsGetContactIDsParams ¶
type ContactsGetContactIDsParams struct {
Hash int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ContactsGetContactIDsParams) CRC ¶
func (*ContactsGetContactIDsParams) CRC() uint32
type ContactsGetContactsParams ¶
type ContactsGetContactsParams struct {
Hash int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ContactsGetContactsParams) CRC ¶
func (*ContactsGetContactsParams) CRC() uint32
type ContactsGetLocatedParams ¶
type ContactsGetLocatedParams struct {
Background bool `tl:"flag:1,encoded_in_bitflags"`
GeoPoint InputGeoPoint
SelfExpires int32 `tl:"flag:0"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ContactsGetLocatedParams) CRC ¶
func (*ContactsGetLocatedParams) CRC() uint32
func (*ContactsGetLocatedParams) FlagIndex ¶
func (*ContactsGetLocatedParams) FlagIndex() int
type ContactsGetSavedParams ¶
type ContactsGetSavedParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ContactsGetSavedParams) CRC ¶
func (*ContactsGetSavedParams) CRC() uint32
type ContactsGetStatusesParams ¶
type ContactsGetStatusesParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ContactsGetStatusesParams) CRC ¶
func (*ContactsGetStatusesParams) CRC() uint32
type ContactsGetTopPeersParams ¶
type ContactsGetTopPeersParams struct {
Correspondents bool `tl:"flag:0,encoded_in_bitflags"`
BotsPm bool `tl:"flag:1,encoded_in_bitflags"`
BotsInline bool `tl:"flag:2,encoded_in_bitflags"`
PhoneCalls bool `tl:"flag:3,encoded_in_bitflags"`
ForwardUsers bool `tl:"flag:4,encoded_in_bitflags"`
ForwardChats bool `tl:"flag:5,encoded_in_bitflags"`
Groups bool `tl:"flag:10,encoded_in_bitflags"`
Channels bool `tl:"flag:15,encoded_in_bitflags"`
Offset int32
Limit int32
Hash int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ContactsGetTopPeersParams) CRC ¶
func (*ContactsGetTopPeersParams) CRC() uint32
func (*ContactsGetTopPeersParams) FlagIndex ¶
func (*ContactsGetTopPeersParams) FlagIndex() int
type ContactsImportContactsParams ¶
type ContactsImportContactsParams struct {
Contacts []*InputPhoneContact
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ContactsImportContactsParams) CRC ¶
func (*ContactsImportContactsParams) CRC() uint32
type ContactsImportedContacts ¶
type ContactsImportedContacts struct {
Imported []*ImportedContact
PopularInvites []*PopularContact
RetryContacts []int64
Users []User
}
func (*ContactsImportedContacts) CRC ¶
func (*ContactsImportedContacts) CRC() uint32
type ContactsResetSavedParams ¶
type ContactsResetSavedParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ContactsResetSavedParams) CRC ¶
func (*ContactsResetSavedParams) CRC() uint32
type ContactsResetTopPeerRatingParams ¶
type ContactsResetTopPeerRatingParams struct {
Category TopPeerCategory
Peer InputPeer
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ContactsResetTopPeerRatingParams) CRC ¶
func (*ContactsResetTopPeerRatingParams) CRC() uint32
type ContactsResolveUsernameParams ¶
type ContactsResolveUsernameParams struct {
Username string
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ContactsResolveUsernameParams) CRC ¶
func (*ContactsResolveUsernameParams) CRC() uint32
type ContactsResolvedPeer ¶
func (*ContactsResolvedPeer) CRC ¶
func (*ContactsResolvedPeer) CRC() uint32
type ContactsSearchParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ContactsSearchParams) CRC ¶
func (*ContactsSearchParams) CRC() uint32
type ContactsToggleTopPeersParams ¶
type ContactsToggleTopPeersParams struct {
Enabled bool
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ContactsToggleTopPeersParams) CRC ¶
func (*ContactsToggleTopPeersParams) CRC() uint32
type ContactsTopPeers ¶
type ContactsTopPeersDisabled ¶
type ContactsTopPeersDisabled struct{}
func (*ContactsTopPeersDisabled) CRC ¶
func (*ContactsTopPeersDisabled) CRC() uint32
func (*ContactsTopPeersDisabled) ImplementsContactsTopPeers ¶
func (*ContactsTopPeersDisabled) ImplementsContactsTopPeers()
type ContactsTopPeersNotModified ¶
type ContactsTopPeersNotModified struct{}
func (*ContactsTopPeersNotModified) CRC ¶
func (*ContactsTopPeersNotModified) CRC() uint32
func (*ContactsTopPeersNotModified) ImplementsContactsTopPeers ¶
func (*ContactsTopPeersNotModified) ImplementsContactsTopPeers()
type ContactsTopPeersObj ¶
type ContactsTopPeersObj struct {
Categories []*TopPeerCategoryPeers
Chats []Chat
Users []User
}
func (*ContactsTopPeersObj) CRC ¶
func (*ContactsTopPeersObj) CRC() uint32
func (*ContactsTopPeersObj) ImplementsContactsTopPeers ¶
func (*ContactsTopPeersObj) ImplementsContactsTopPeers()
type ContactsUnblockParams ¶
type ContactsUnblockParams struct {
ID InputPeer
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*ContactsUnblockParams) CRC ¶
func (*ContactsUnblockParams) CRC() uint32
type DcOption ¶
type DcOption struct {
Ipv6 bool `tl:"flag:0,encoded_in_bitflags"`
MediaOnly bool `tl:"flag:1,encoded_in_bitflags"`
TcpoOnly bool `tl:"flag:2,encoded_in_bitflags"`
Cdn bool `tl:"flag:3,encoded_in_bitflags"`
Static bool `tl:"flag:4,encoded_in_bitflags"`
ID int32
IpAddress string
Port int32
Secret []byte `tl:"flag:10"`
}
type DialogFilter ¶
type DialogFilter struct {
Contacts bool `tl:"flag:0,encoded_in_bitflags"`
NonContacts bool `tl:"flag:1,encoded_in_bitflags"`
Groups bool `tl:"flag:2,encoded_in_bitflags"`
Broadcasts bool `tl:"flag:3,encoded_in_bitflags"`
Bots bool `tl:"flag:4,encoded_in_bitflags"`
ExcludeMuted bool `tl:"flag:11,encoded_in_bitflags"`
ExcludeRead bool `tl:"flag:12,encoded_in_bitflags"`
ExcludeArchived bool `tl:"flag:13,encoded_in_bitflags"`
ID int32
Title string
Emoticon string `tl:"flag:25"`
PinnedPeers []InputPeer
IncludePeers []InputPeer
ExcludePeers []InputPeer
}
func (*DialogFilter) CRC ¶
func (*DialogFilter) CRC() uint32
func (*DialogFilter) FlagIndex ¶
func (*DialogFilter) FlagIndex() int
type DialogFilterSuggested ¶
type DialogFilterSuggested struct {
Filter *DialogFilter
Description string
}
func (*DialogFilterSuggested) CRC ¶
func (*DialogFilterSuggested) CRC() uint32
type DialogFolder ¶
type DialogFolder struct {
Pinned bool `tl:"flag:2,encoded_in_bitflags"`
Folder *Folder
Peer Peer
TopMessage int32
UnreadMutedPeersCount int32
UnreadUnmutedPeersCount int32
UnreadMutedMessagesCount int32
UnreadUnmutedMessagesCount int32
}
func (*DialogFolder) CRC ¶
func (*DialogFolder) CRC() uint32
func (*DialogFolder) FlagIndex ¶
func (*DialogFolder) FlagIndex() int
func (*DialogFolder) ImplementsDialog ¶
func (*DialogFolder) ImplementsDialog()
type DialogObj ¶
type DialogObj struct {
Pinned bool `tl:"flag:2,encoded_in_bitflags"`
UnreadMark bool `tl:"flag:3,encoded_in_bitflags"`
Peer Peer
TopMessage int32
ReadInboxMaxID int32
ReadOutboxMaxID int32
UnreadCount int32
UnreadMentionsCount int32
NotifySettings *PeerNotifySettings
Pts int32 `tl:"flag:0"`
Draft DraftMessage `tl:"flag:1"`
FolderID int32 `tl:"flag:4"`
}
func (*DialogObj) ImplementsDialog ¶
func (*DialogObj) ImplementsDialog()
type DialogPeer ¶
type DialogPeerFolder ¶
type DialogPeerFolder struct {
FolderID int32
}
func (*DialogPeerFolder) CRC ¶
func (*DialogPeerFolder) CRC() uint32
func (*DialogPeerFolder) ImplementsDialogPeer ¶
func (*DialogPeerFolder) ImplementsDialogPeer()
type DialogPeerObj ¶
type DialogPeerObj struct {
Peer Peer
}
func (*DialogPeerObj) CRC ¶
func (*DialogPeerObj) CRC() uint32
func (*DialogPeerObj) ImplementsDialogPeer ¶
func (*DialogPeerObj) ImplementsDialogPeer()
type DocumentAttribute ¶
type DocumentAttributeAnimated ¶
type DocumentAttributeAnimated struct{}
func (*DocumentAttributeAnimated) CRC ¶
func (*DocumentAttributeAnimated) CRC() uint32
func (*DocumentAttributeAnimated) ImplementsDocumentAttribute ¶
func (*DocumentAttributeAnimated) ImplementsDocumentAttribute()
type DocumentAttributeAudio ¶
type DocumentAttributeAudio struct {
Voice bool `tl:"flag:10,encoded_in_bitflags"`
Duration int32
Title string `tl:"flag:0"`
Performer string `tl:"flag:1"`
Waveform []byte `tl:"flag:2"`
}
func (*DocumentAttributeAudio) CRC ¶
func (*DocumentAttributeAudio) CRC() uint32
func (*DocumentAttributeAudio) FlagIndex ¶
func (*DocumentAttributeAudio) FlagIndex() int
func (*DocumentAttributeAudio) ImplementsDocumentAttribute ¶
func (*DocumentAttributeAudio) ImplementsDocumentAttribute()
type DocumentAttributeFilename ¶
type DocumentAttributeFilename struct {
FileName string
}
func (*DocumentAttributeFilename) CRC ¶
func (*DocumentAttributeFilename) CRC() uint32
func (*DocumentAttributeFilename) ImplementsDocumentAttribute ¶
func (*DocumentAttributeFilename) ImplementsDocumentAttribute()
type DocumentAttributeHasStickers ¶
type DocumentAttributeHasStickers struct{}
func (*DocumentAttributeHasStickers) CRC ¶
func (*DocumentAttributeHasStickers) CRC() uint32
func (*DocumentAttributeHasStickers) ImplementsDocumentAttribute ¶
func (*DocumentAttributeHasStickers) ImplementsDocumentAttribute()
type DocumentAttributeImageSize ¶
func (*DocumentAttributeImageSize) CRC ¶
func (*DocumentAttributeImageSize) CRC() uint32
func (*DocumentAttributeImageSize) ImplementsDocumentAttribute ¶
func (*DocumentAttributeImageSize) ImplementsDocumentAttribute()
type DocumentAttributeSticker ¶
type DocumentAttributeSticker struct {
Mask bool `tl:"flag:1,encoded_in_bitflags"`
Alt string
Stickerset InputStickerSet
MaskCoords *MaskCoords `tl:"flag:0"`
}
func (*DocumentAttributeSticker) CRC ¶
func (*DocumentAttributeSticker) CRC() uint32
func (*DocumentAttributeSticker) FlagIndex ¶
func (*DocumentAttributeSticker) FlagIndex() int
func (*DocumentAttributeSticker) ImplementsDocumentAttribute ¶
func (*DocumentAttributeSticker) ImplementsDocumentAttribute()
type DocumentAttributeVideo ¶
type DocumentAttributeVideo struct {
RoundMessage bool `tl:"flag:0,encoded_in_bitflags"`
SupportsStreaming bool `tl:"flag:1,encoded_in_bitflags"`
Duration int32
W int32
H int32
}
func (*DocumentAttributeVideo) CRC ¶
func (*DocumentAttributeVideo) CRC() uint32
func (*DocumentAttributeVideo) FlagIndex ¶
func (*DocumentAttributeVideo) FlagIndex() int
func (*DocumentAttributeVideo) ImplementsDocumentAttribute ¶
func (*DocumentAttributeVideo) ImplementsDocumentAttribute()
type DocumentEmpty ¶
type DocumentEmpty struct {
ID int64
}
func (*DocumentEmpty) CRC ¶
func (*DocumentEmpty) CRC() uint32
func (*DocumentEmpty) ImplementsDocument ¶
func (*DocumentEmpty) ImplementsDocument()
type DocumentObj ¶
type DocumentObj struct {
ID int64
AccessHash int64
FileReference []byte
Date int32
MimeType string
Size int32
Thumbs []PhotoSize `tl:"flag:0"`
VideoThumbs []*VideoSize `tl:"flag:1"`
DcID int32
Attributes []DocumentAttribute
}
func (*DocumentObj) CRC ¶
func (*DocumentObj) CRC() uint32
func (*DocumentObj) FlagIndex ¶
func (*DocumentObj) FlagIndex() int
func (*DocumentObj) ImplementsDocument ¶
func (*DocumentObj) ImplementsDocument()
type DraftMessage ¶
type DraftMessageEmpty ¶
type DraftMessageEmpty struct {
Date int32 `tl:"flag:0"`
}
func (*DraftMessageEmpty) CRC ¶
func (*DraftMessageEmpty) CRC() uint32
func (*DraftMessageEmpty) FlagIndex ¶
func (*DraftMessageEmpty) FlagIndex() int
func (*DraftMessageEmpty) ImplementsDraftMessage ¶
func (*DraftMessageEmpty) ImplementsDraftMessage()
type DraftMessageObj ¶
type DraftMessageObj struct {
NoWebpage bool `tl:"flag:1,encoded_in_bitflags"`
ReplyToMsgID int32 `tl:"flag:0"`
Message string
Entities []MessageEntity `tl:"flag:3"`
Date int32
}
func (*DraftMessageObj) CRC ¶
func (*DraftMessageObj) CRC() uint32
func (*DraftMessageObj) FlagIndex ¶
func (*DraftMessageObj) FlagIndex() int
func (*DraftMessageObj) ImplementsDraftMessage ¶
func (*DraftMessageObj) ImplementsDraftMessage()
type EmojiKeyword ¶
type EmojiKeywordDeleted ¶
func (*EmojiKeywordDeleted) CRC ¶
func (*EmojiKeywordDeleted) CRC() uint32
func (*EmojiKeywordDeleted) ImplementsEmojiKeyword ¶
func (*EmojiKeywordDeleted) ImplementsEmojiKeyword()
type EmojiKeywordObj ¶
func (*EmojiKeywordObj) CRC ¶
func (*EmojiKeywordObj) CRC() uint32
func (*EmojiKeywordObj) ImplementsEmojiKeyword ¶
func (*EmojiKeywordObj) ImplementsEmojiKeyword()
type EmojiKeywordsDifference ¶
type EmojiKeywordsDifference struct {
LangCode string
FromVersion int32
Version int32
Keywords []EmojiKeyword
}
func (*EmojiKeywordsDifference) CRC ¶
func (*EmojiKeywordsDifference) CRC() uint32
type EmojiLanguage ¶
type EmojiLanguage struct {
LangCode string
}
func (*EmojiLanguage) CRC ¶
func (*EmojiLanguage) CRC() uint32
type EncryptedChat ¶
type EncryptedChatDiscarded ¶
type EncryptedChatDiscarded struct {
ID int32
}
func (*EncryptedChatDiscarded) CRC ¶
func (*EncryptedChatDiscarded) CRC() uint32
func (*EncryptedChatDiscarded) ImplementsEncryptedChat ¶
func (*EncryptedChatDiscarded) ImplementsEncryptedChat()
type EncryptedChatEmpty ¶
type EncryptedChatEmpty struct {
ID int32
}
func (*EncryptedChatEmpty) CRC ¶
func (*EncryptedChatEmpty) CRC() uint32
func (*EncryptedChatEmpty) ImplementsEncryptedChat ¶
func (*EncryptedChatEmpty) ImplementsEncryptedChat()
type EncryptedChatObj ¶
type EncryptedChatObj struct {
ID int32
AccessHash int64
Date int32
AdminID int32
ParticipantID int32
GAOrB []byte
KeyFingerprint int64
}
func (*EncryptedChatObj) CRC ¶
func (*EncryptedChatObj) CRC() uint32
func (*EncryptedChatObj) ImplementsEncryptedChat ¶
func (*EncryptedChatObj) ImplementsEncryptedChat()
type EncryptedChatRequested ¶
type EncryptedChatRequested struct {
FolderID int32 `tl:"flag:0"`
ID int32
AccessHash int64
Date int32
AdminID int32
ParticipantID int32
GA []byte
}
func (*EncryptedChatRequested) CRC ¶
func (*EncryptedChatRequested) CRC() uint32
func (*EncryptedChatRequested) FlagIndex ¶
func (*EncryptedChatRequested) FlagIndex() int
func (*EncryptedChatRequested) ImplementsEncryptedChat ¶
func (*EncryptedChatRequested) ImplementsEncryptedChat()
type EncryptedChatWaiting ¶
type EncryptedChatWaiting struct {
ID int32
AccessHash int64
Date int32
AdminID int32
ParticipantID int32
}
func (*EncryptedChatWaiting) CRC ¶
func (*EncryptedChatWaiting) CRC() uint32
func (*EncryptedChatWaiting) ImplementsEncryptedChat ¶
func (*EncryptedChatWaiting) ImplementsEncryptedChat()
type EncryptedFile ¶
type EncryptedFileEmpty ¶
type EncryptedFileEmpty struct{}
func (*EncryptedFileEmpty) CRC ¶
func (*EncryptedFileEmpty) CRC() uint32
func (*EncryptedFileEmpty) ImplementsEncryptedFile ¶
func (*EncryptedFileEmpty) ImplementsEncryptedFile()
type EncryptedFileObj ¶
type EncryptedFileObj struct {
ID int64
AccessHash int64
Size int32
DcID int32
KeyFingerprint int32
}
func (*EncryptedFileObj) CRC ¶
func (*EncryptedFileObj) CRC() uint32
func (*EncryptedFileObj) ImplementsEncryptedFile ¶
func (*EncryptedFileObj) ImplementsEncryptedFile()
type EncryptedMessage ¶
type EncryptedMessageObj ¶
type EncryptedMessageObj struct {
RandomID int64
ChatID int32
Date int32
Bytes []byte
File EncryptedFile
}
func (*EncryptedMessageObj) CRC ¶
func (*EncryptedMessageObj) CRC() uint32
func (*EncryptedMessageObj) ImplementsEncryptedMessage ¶
func (*EncryptedMessageObj) ImplementsEncryptedMessage()
type EncryptedMessageService ¶
func (*EncryptedMessageService) CRC ¶
func (*EncryptedMessageService) CRC() uint32
func (*EncryptedMessageService) ImplementsEncryptedMessage ¶
func (*EncryptedMessageService) ImplementsEncryptedMessage()
type ExportedChatInvite ¶
type ExportedMessageLink ¶
func (*ExportedMessageLink) CRC ¶
func (*ExportedMessageLink) CRC() uint32
type FileLocationToBeDeprecated ¶
func (*FileLocationToBeDeprecated) CRC ¶
func (*FileLocationToBeDeprecated) CRC() uint32
type Folder ¶
type FolderPeer ¶
func (*FolderPeer) CRC ¶
func (*FolderPeer) CRC() uint32
type FoldersDeleteFolderParams ¶
type FoldersDeleteFolderParams struct {
FolderID int32
}
Get the participants of a channel
func (*FoldersDeleteFolderParams) CRC ¶
func (*FoldersDeleteFolderParams) CRC() uint32
type FoldersEditPeerFoldersParams ¶
type FoldersEditPeerFoldersParams struct {
FolderPeers []*InputFolderPeer
}
Get the participants of a channel
func (*FoldersEditPeerFoldersParams) CRC ¶
func (*FoldersEditPeerFoldersParams) CRC() uint32
type Game ¶
type GeoPointEmpty ¶
type GeoPointEmpty struct{}
func (*GeoPointEmpty) CRC ¶
func (*GeoPointEmpty) CRC() uint32
func (*GeoPointEmpty) ImplementsGeoPoint ¶
func (*GeoPointEmpty) ImplementsGeoPoint()
type GeoPointObj ¶
type GeoPointObj struct {
Long float64
Lat float64
AccessHash int64
AccuracyRadius int32 `tl:"flag:0"`
}
func (*GeoPointObj) CRC ¶
func (*GeoPointObj) CRC() uint32
func (*GeoPointObj) FlagIndex ¶
func (*GeoPointObj) FlagIndex() int
func (*GeoPointObj) ImplementsGeoPoint ¶
func (*GeoPointObj) ImplementsGeoPoint()
type GlobalPrivacySettings ¶
type GlobalPrivacySettings struct {
ArchiveAndMuteNewNoncontactPeers bool `tl:"flag:0"`
}
func (*GlobalPrivacySettings) CRC ¶
func (*GlobalPrivacySettings) CRC() uint32
func (*GlobalPrivacySettings) FlagIndex ¶
func (*GlobalPrivacySettings) FlagIndex() int
type HelpAcceptTermsOfServiceParams ¶
type HelpAcceptTermsOfServiceParams struct {
ID *DataJson
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpAcceptTermsOfServiceParams) CRC ¶
func (*HelpAcceptTermsOfServiceParams) CRC() uint32
type HelpAppUpdate ¶
type HelpAppUpdateObj ¶
type HelpAppUpdateObj struct {
CanNotSkip bool `tl:"flag:0,encoded_in_bitflags"`
ID int32
Version string
Text string
Entities []MessageEntity
Document Document `tl:"flag:1"`
URL string `tl:"flag:2"`
}
func (*HelpAppUpdateObj) CRC ¶
func (*HelpAppUpdateObj) CRC() uint32
func (*HelpAppUpdateObj) FlagIndex ¶
func (*HelpAppUpdateObj) FlagIndex() int
func (*HelpAppUpdateObj) ImplementsHelpAppUpdate ¶
func (*HelpAppUpdateObj) ImplementsHelpAppUpdate()
type HelpConfigSimple ¶
type HelpConfigSimple struct {
Date int32
Expires int32
Rules []*AccessPointRule
}
func (*HelpConfigSimple) CRC ¶
func (*HelpConfigSimple) CRC() uint32
type HelpCountriesList ¶
type HelpCountriesListNotModified ¶
type HelpCountriesListNotModified struct{}
func (*HelpCountriesListNotModified) CRC ¶
func (*HelpCountriesListNotModified) CRC() uint32
func (*HelpCountriesListNotModified) ImplementsHelpCountriesList ¶
func (*HelpCountriesListNotModified) ImplementsHelpCountriesList()
type HelpCountriesListObj ¶
type HelpCountriesListObj struct {
Countries []*HelpCountry
Hash int32
}
func (*HelpCountriesListObj) CRC ¶
func (*HelpCountriesListObj) CRC() uint32
func (*HelpCountriesListObj) ImplementsHelpCountriesList ¶
func (*HelpCountriesListObj) ImplementsHelpCountriesList()
type HelpCountry ¶
type HelpCountry struct {
Hidden bool `tl:"flag:0,encoded_in_bitflags"`
Iso2 string
DefaultName string
Name string `tl:"flag:1"`
CountryCodes []*HelpCountryCode
}
func (*HelpCountry) CRC ¶
func (*HelpCountry) CRC() uint32
func (*HelpCountry) FlagIndex ¶
func (*HelpCountry) FlagIndex() int
type HelpCountryCode ¶
type HelpCountryCode struct {
CountryCode string
Prefixes []string `tl:"flag:0"`
Patterns []string `tl:"flag:1"`
}
func (*HelpCountryCode) CRC ¶
func (*HelpCountryCode) CRC() uint32
func (*HelpCountryCode) FlagIndex ¶
func (*HelpCountryCode) FlagIndex() int
type HelpDeepLinkInfo ¶
type HelpDeepLinkInfoEmpty ¶
type HelpDeepLinkInfoEmpty struct{}
func (*HelpDeepLinkInfoEmpty) CRC ¶
func (*HelpDeepLinkInfoEmpty) CRC() uint32
func (*HelpDeepLinkInfoEmpty) ImplementsHelpDeepLinkInfo ¶
func (*HelpDeepLinkInfoEmpty) ImplementsHelpDeepLinkInfo()
type HelpDeepLinkInfoObj ¶
type HelpDeepLinkInfoObj struct {
UpdateApp bool `tl:"flag:0,encoded_in_bitflags"`
Message string
Entities []MessageEntity `tl:"flag:1"`
}
func (*HelpDeepLinkInfoObj) CRC ¶
func (*HelpDeepLinkInfoObj) CRC() uint32
func (*HelpDeepLinkInfoObj) FlagIndex ¶
func (*HelpDeepLinkInfoObj) FlagIndex() int
func (*HelpDeepLinkInfoObj) ImplementsHelpDeepLinkInfo ¶
func (*HelpDeepLinkInfoObj) ImplementsHelpDeepLinkInfo()
type HelpDismissSuggestionParams ¶
type HelpDismissSuggestionParams struct {
Suggestion string
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpDismissSuggestionParams) CRC ¶
func (*HelpDismissSuggestionParams) CRC() uint32
type HelpEditUserInfoParams ¶
type HelpEditUserInfoParams struct {
UserID InputUser
Message string
Entities []MessageEntity
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpEditUserInfoParams) CRC ¶
func (*HelpEditUserInfoParams) CRC() uint32
type HelpGetAppChangelogParams ¶
type HelpGetAppChangelogParams struct {
PrevAppVersion string
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpGetAppChangelogParams) CRC ¶
func (*HelpGetAppChangelogParams) CRC() uint32
type HelpGetAppConfigParams ¶
type HelpGetAppConfigParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpGetAppConfigParams) CRC ¶
func (*HelpGetAppConfigParams) CRC() uint32
type HelpGetAppUpdateParams ¶
type HelpGetAppUpdateParams struct {
Source string
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpGetAppUpdateParams) CRC ¶
func (*HelpGetAppUpdateParams) CRC() uint32
type HelpGetCdnConfigParams ¶
type HelpGetCdnConfigParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpGetCdnConfigParams) CRC ¶
func (*HelpGetCdnConfigParams) CRC() uint32
type HelpGetConfigParams ¶
type HelpGetConfigParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpGetConfigParams) CRC ¶
func (*HelpGetConfigParams) CRC() uint32
type HelpGetCountriesListParams ¶
type HelpGetCountriesListParams struct {
LangCode string // Code for the language used on the client, ISO 639-1 standard
Hash int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpGetCountriesListParams) CRC ¶
func (*HelpGetCountriesListParams) CRC() uint32
type HelpGetDeepLinkInfoParams ¶
type HelpGetDeepLinkInfoParams struct {
Path string
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpGetDeepLinkInfoParams) CRC ¶
func (*HelpGetDeepLinkInfoParams) CRC() uint32
type HelpGetInviteTextParams ¶
type HelpGetInviteTextParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpGetInviteTextParams) CRC ¶
func (*HelpGetInviteTextParams) CRC() uint32
type HelpGetNearestDcParams ¶
type HelpGetNearestDcParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpGetNearestDcParams) CRC ¶
func (*HelpGetNearestDcParams) CRC() uint32
type HelpGetPassportConfigParams ¶
type HelpGetPassportConfigParams struct {
Hash int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpGetPassportConfigParams) CRC ¶
func (*HelpGetPassportConfigParams) CRC() uint32
type HelpGetPromoDataParams ¶
type HelpGetPromoDataParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpGetPromoDataParams) CRC ¶
func (*HelpGetPromoDataParams) CRC() uint32
type HelpGetRecentMeUrlsParams ¶
type HelpGetRecentMeUrlsParams struct {
Referer string
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpGetRecentMeUrlsParams) CRC ¶
func (*HelpGetRecentMeUrlsParams) CRC() uint32
type HelpGetSupportNameParams ¶
type HelpGetSupportNameParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpGetSupportNameParams) CRC ¶
func (*HelpGetSupportNameParams) CRC() uint32
type HelpGetSupportParams ¶
type HelpGetSupportParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpGetSupportParams) CRC ¶
func (*HelpGetSupportParams) CRC() uint32
type HelpGetTermsOfServiceUpdateParams ¶
type HelpGetTermsOfServiceUpdateParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpGetTermsOfServiceUpdateParams) CRC ¶
func (*HelpGetTermsOfServiceUpdateParams) CRC() uint32
type HelpGetUserInfoParams ¶
type HelpGetUserInfoParams struct {
UserID InputUser
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpGetUserInfoParams) CRC ¶
func (*HelpGetUserInfoParams) CRC() uint32
type HelpHidePromoDataParams ¶
type HelpHidePromoDataParams struct {
Peer InputPeer
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpHidePromoDataParams) CRC ¶
func (*HelpHidePromoDataParams) CRC() uint32
type HelpInviteText ¶
type HelpInviteText struct {
Message string
}
func (*HelpInviteText) CRC ¶
func (*HelpInviteText) CRC() uint32
type HelpNoAppUpdate ¶
type HelpNoAppUpdate struct{}
func (*HelpNoAppUpdate) CRC ¶
func (*HelpNoAppUpdate) CRC() uint32
func (*HelpNoAppUpdate) ImplementsHelpAppUpdate ¶
func (*HelpNoAppUpdate) ImplementsHelpAppUpdate()
type HelpPassportConfig ¶
type HelpPassportConfigNotModified ¶
type HelpPassportConfigNotModified struct{}
func (*HelpPassportConfigNotModified) CRC ¶
func (*HelpPassportConfigNotModified) CRC() uint32
func (*HelpPassportConfigNotModified) ImplementsHelpPassportConfig ¶
func (*HelpPassportConfigNotModified) ImplementsHelpPassportConfig()
type HelpPassportConfigObj ¶
func (*HelpPassportConfigObj) CRC ¶
func (*HelpPassportConfigObj) CRC() uint32
func (*HelpPassportConfigObj) ImplementsHelpPassportConfig ¶
func (*HelpPassportConfigObj) ImplementsHelpPassportConfig()
type HelpPromoData ¶
type HelpPromoDataEmpty ¶
type HelpPromoDataEmpty struct {
Expires int32
}
func (*HelpPromoDataEmpty) CRC ¶
func (*HelpPromoDataEmpty) CRC() uint32
func (*HelpPromoDataEmpty) ImplementsHelpPromoData ¶
func (*HelpPromoDataEmpty) ImplementsHelpPromoData()
type HelpPromoDataObj ¶
type HelpPromoDataObj struct {
Proxy bool `tl:"flag:0,encoded_in_bitflags"`
Expires int32
Peer Peer
Chats []Chat
Users []User
PsaType string `tl:"flag:1"`
PsaMessage string `tl:"flag:2"`
}
func (*HelpPromoDataObj) CRC ¶
func (*HelpPromoDataObj) CRC() uint32
func (*HelpPromoDataObj) FlagIndex ¶
func (*HelpPromoDataObj) FlagIndex() int
func (*HelpPromoDataObj) ImplementsHelpPromoData ¶
func (*HelpPromoDataObj) ImplementsHelpPromoData()
type HelpRecentMeUrls ¶
type HelpRecentMeUrls struct {
Urls []RecentMeURL
Chats []Chat
Users []User
}
func (*HelpRecentMeUrls) CRC ¶
func (*HelpRecentMeUrls) CRC() uint32
type HelpSaveAppLogParams ¶
type HelpSaveAppLogParams struct {
Events []*InputAppEvent
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpSaveAppLogParams) CRC ¶
func (*HelpSaveAppLogParams) CRC() uint32
type HelpSetBotUpdatesStatusParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*HelpSetBotUpdatesStatusParams) CRC ¶
func (*HelpSetBotUpdatesStatusParams) CRC() uint32
type HelpSupport ¶
func (*HelpSupport) CRC ¶
func (*HelpSupport) CRC() uint32
type HelpSupportName ¶
type HelpSupportName struct {
Name string
}
func (*HelpSupportName) CRC ¶
func (*HelpSupportName) CRC() uint32
type HelpTermsOfService ¶
type HelpTermsOfService struct {
Popup bool `tl:"flag:0,encoded_in_bitflags"`
ID *DataJson
Text string
Entities []MessageEntity
MinAgeConfirm int32 `tl:"flag:1"`
}
func (*HelpTermsOfService) CRC ¶
func (*HelpTermsOfService) CRC() uint32
func (*HelpTermsOfService) FlagIndex ¶
func (*HelpTermsOfService) FlagIndex() int
type HelpTermsOfServiceUpdateEmpty ¶
type HelpTermsOfServiceUpdateEmpty struct {
Expires int32
}
func (*HelpTermsOfServiceUpdateEmpty) CRC ¶
func (*HelpTermsOfServiceUpdateEmpty) CRC() uint32
func (*HelpTermsOfServiceUpdateEmpty) ImplementsHelpTermsOfServiceUpdate ¶
func (*HelpTermsOfServiceUpdateEmpty) ImplementsHelpTermsOfServiceUpdate()
type HelpTermsOfServiceUpdateObj ¶
type HelpTermsOfServiceUpdateObj struct {
Expires int32
TermsOfService *HelpTermsOfService
}
func (*HelpTermsOfServiceUpdateObj) CRC ¶
func (*HelpTermsOfServiceUpdateObj) CRC() uint32
func (*HelpTermsOfServiceUpdateObj) ImplementsHelpTermsOfServiceUpdate ¶
func (*HelpTermsOfServiceUpdateObj) ImplementsHelpTermsOfServiceUpdate()
type HelpUserInfo ¶
type HelpUserInfoEmpty ¶
type HelpUserInfoEmpty struct{}
func (*HelpUserInfoEmpty) CRC ¶
func (*HelpUserInfoEmpty) CRC() uint32
func (*HelpUserInfoEmpty) ImplementsHelpUserInfo ¶
func (*HelpUserInfoEmpty) ImplementsHelpUserInfo()
type HelpUserInfoObj ¶
type HelpUserInfoObj struct {
Message string
Entities []MessageEntity
Author string
Date int32
}
func (*HelpUserInfoObj) CRC ¶
func (*HelpUserInfoObj) CRC() uint32
func (*HelpUserInfoObj) ImplementsHelpUserInfo ¶
func (*HelpUserInfoObj) ImplementsHelpUserInfo()
type ImportedContact ¶
func (*ImportedContact) CRC ¶
func (*ImportedContact) CRC() uint32
type InitConnectionParams ¶
type InitConnectionParams struct {
ApiID int32 // Application identifier (see. App configuration)
DeviceModel string // Device model
SystemVersion string // Operation system version
AppVersion string // Application version
SystemLangCode string // Code for the language used on the device's OS, ISO 639-1 standard
LangPack string // Language pack to use
LangCode string // Code for the language used on the client, ISO 639-1 standard
Proxy *InputClientProxy `tl:"flag:0"` // Info about an MTProto proxy
Params JsonValue `tl:"flag:1"` // Additional initConnection parameters. For now, only the tz_offset field is supported, for specifying timezone offset in seconds.
Query tl.Object // The query itself
}
func (*InitConnectionParams) CRC ¶
func (*InitConnectionParams) CRC() uint32
func (*InitConnectionParams) FlagIndex ¶
func (*InitConnectionParams) FlagIndex() int
type InlineBotSwitchPm ¶
func (*InlineBotSwitchPm) CRC ¶
func (*InlineBotSwitchPm) CRC() uint32
type InputAppEvent ¶
func (*InputAppEvent) CRC ¶
func (*InputAppEvent) CRC() uint32
type InputBotInlineMessage ¶
type InputBotInlineMessageGame ¶
type InputBotInlineMessageGame struct {
ReplyMarkup ReplyMarkup `tl:"flag:2"`
}
func (*InputBotInlineMessageGame) CRC ¶
func (*InputBotInlineMessageGame) CRC() uint32
func (*InputBotInlineMessageGame) FlagIndex ¶
func (*InputBotInlineMessageGame) FlagIndex() int
func (*InputBotInlineMessageGame) ImplementsInputBotInlineMessage ¶
func (*InputBotInlineMessageGame) ImplementsInputBotInlineMessage()
type InputBotInlineMessageID ¶
func (*InputBotInlineMessageID) CRC ¶
func (*InputBotInlineMessageID) CRC() uint32
type InputBotInlineMessageMediaAuto ¶
type InputBotInlineMessageMediaAuto struct {
Message string
Entities []MessageEntity `tl:"flag:1"`
ReplyMarkup ReplyMarkup `tl:"flag:2"`
}
func (*InputBotInlineMessageMediaAuto) CRC ¶
func (*InputBotInlineMessageMediaAuto) CRC() uint32
func (*InputBotInlineMessageMediaAuto) FlagIndex ¶
func (*InputBotInlineMessageMediaAuto) FlagIndex() int
func (*InputBotInlineMessageMediaAuto) ImplementsInputBotInlineMessage ¶
func (*InputBotInlineMessageMediaAuto) ImplementsInputBotInlineMessage()
type InputBotInlineMessageMediaContact ¶
type InputBotInlineMessageMediaContact struct {
PhoneNumber string
FirstName string
LastName string
Vcard string
ReplyMarkup ReplyMarkup `tl:"flag:2"`
}
func (*InputBotInlineMessageMediaContact) CRC ¶
func (*InputBotInlineMessageMediaContact) CRC() uint32
func (*InputBotInlineMessageMediaContact) FlagIndex ¶
func (*InputBotInlineMessageMediaContact) FlagIndex() int
func (*InputBotInlineMessageMediaContact) ImplementsInputBotInlineMessage ¶
func (*InputBotInlineMessageMediaContact) ImplementsInputBotInlineMessage()
type InputBotInlineMessageMediaGeo ¶
type InputBotInlineMessageMediaGeo struct {
GeoPoint InputGeoPoint
Heading int32 `tl:"flag:0"`
Period int32 `tl:"flag:1"`
ProximityNotificationRadius int32 `tl:"flag:3"`
ReplyMarkup ReplyMarkup `tl:"flag:2"`
}
func (*InputBotInlineMessageMediaGeo) CRC ¶
func (*InputBotInlineMessageMediaGeo) CRC() uint32
func (*InputBotInlineMessageMediaGeo) FlagIndex ¶
func (*InputBotInlineMessageMediaGeo) FlagIndex() int
func (*InputBotInlineMessageMediaGeo) ImplementsInputBotInlineMessage ¶
func (*InputBotInlineMessageMediaGeo) ImplementsInputBotInlineMessage()
type InputBotInlineMessageMediaVenue ¶
type InputBotInlineMessageMediaVenue struct {
GeoPoint InputGeoPoint
Title string
Address string
Provider string
VenueID string
VenueType string
ReplyMarkup ReplyMarkup `tl:"flag:2"`
}
func (*InputBotInlineMessageMediaVenue) CRC ¶
func (*InputBotInlineMessageMediaVenue) CRC() uint32
func (*InputBotInlineMessageMediaVenue) FlagIndex ¶
func (*InputBotInlineMessageMediaVenue) FlagIndex() int
func (*InputBotInlineMessageMediaVenue) ImplementsInputBotInlineMessage ¶
func (*InputBotInlineMessageMediaVenue) ImplementsInputBotInlineMessage()
type InputBotInlineMessageText ¶
type InputBotInlineMessageText struct {
NoWebpage bool `tl:"flag:0,encoded_in_bitflags"`
Message string
Entities []MessageEntity `tl:"flag:1"`
ReplyMarkup ReplyMarkup `tl:"flag:2"`
}
func (*InputBotInlineMessageText) CRC ¶
func (*InputBotInlineMessageText) CRC() uint32
func (*InputBotInlineMessageText) FlagIndex ¶
func (*InputBotInlineMessageText) FlagIndex() int
func (*InputBotInlineMessageText) ImplementsInputBotInlineMessage ¶
func (*InputBotInlineMessageText) ImplementsInputBotInlineMessage()
type InputBotInlineResult ¶
type InputBotInlineResultDocument ¶
type InputBotInlineResultDocument struct {
ID string
Type string
Title string `tl:"flag:1"`
Description string `tl:"flag:2"`
Document InputDocument
SendMessage InputBotInlineMessage
}
func (*InputBotInlineResultDocument) CRC ¶
func (*InputBotInlineResultDocument) CRC() uint32
func (*InputBotInlineResultDocument) FlagIndex ¶
func (*InputBotInlineResultDocument) FlagIndex() int
func (*InputBotInlineResultDocument) ImplementsInputBotInlineResult ¶
func (*InputBotInlineResultDocument) ImplementsInputBotInlineResult()
type InputBotInlineResultGame ¶
type InputBotInlineResultGame struct {
ID string
ShortName string
SendMessage InputBotInlineMessage
}
func (*InputBotInlineResultGame) CRC ¶
func (*InputBotInlineResultGame) CRC() uint32
func (*InputBotInlineResultGame) ImplementsInputBotInlineResult ¶
func (*InputBotInlineResultGame) ImplementsInputBotInlineResult()
type InputBotInlineResultObj ¶
type InputBotInlineResultObj struct {
ID string
Type string
Title string `tl:"flag:1"`
Description string `tl:"flag:2"`
URL string `tl:"flag:3"`
Thumb *InputWebDocument `tl:"flag:4"`
Content *InputWebDocument `tl:"flag:5"`
SendMessage InputBotInlineMessage
}
func (*InputBotInlineResultObj) CRC ¶
func (*InputBotInlineResultObj) CRC() uint32
func (*InputBotInlineResultObj) FlagIndex ¶
func (*InputBotInlineResultObj) FlagIndex() int
func (*InputBotInlineResultObj) ImplementsInputBotInlineResult ¶
func (*InputBotInlineResultObj) ImplementsInputBotInlineResult()
type InputBotInlineResultPhoto ¶
type InputBotInlineResultPhoto struct {
ID string
Type string
Photo InputPhoto
SendMessage InputBotInlineMessage
}
func (*InputBotInlineResultPhoto) CRC ¶
func (*InputBotInlineResultPhoto) CRC() uint32
func (*InputBotInlineResultPhoto) ImplementsInputBotInlineResult ¶
func (*InputBotInlineResultPhoto) ImplementsInputBotInlineResult()
type InputChannel ¶
type InputChannelEmpty ¶
type InputChannelEmpty struct{}
func (*InputChannelEmpty) CRC ¶
func (*InputChannelEmpty) CRC() uint32
func (*InputChannelEmpty) ImplementsInputChannel ¶
func (*InputChannelEmpty) ImplementsInputChannel()
type InputChannelFromMessage ¶
func (*InputChannelFromMessage) CRC ¶
func (*InputChannelFromMessage) CRC() uint32
func (*InputChannelFromMessage) ImplementsInputChannel ¶
func (*InputChannelFromMessage) ImplementsInputChannel()
type InputChannelObj ¶
func (*InputChannelObj) CRC ¶
func (*InputChannelObj) CRC() uint32
func (*InputChannelObj) ImplementsInputChannel ¶
func (*InputChannelObj) ImplementsInputChannel()
type InputChatPhoto ¶
type InputChatPhotoEmpty ¶
type InputChatPhotoEmpty struct{}
func (*InputChatPhotoEmpty) CRC ¶
func (*InputChatPhotoEmpty) CRC() uint32
func (*InputChatPhotoEmpty) ImplementsInputChatPhoto ¶
func (*InputChatPhotoEmpty) ImplementsInputChatPhoto()
type InputChatPhotoObj ¶
type InputChatPhotoObj struct {
ID InputPhoto
}
func (*InputChatPhotoObj) CRC ¶
func (*InputChatPhotoObj) CRC() uint32
func (*InputChatPhotoObj) ImplementsInputChatPhoto ¶
func (*InputChatPhotoObj) ImplementsInputChatPhoto()
type InputChatUploadedPhoto ¶
type InputChatUploadedPhoto struct {
File InputFile `tl:"flag:0"`
Video InputFile `tl:"flag:1"`
VideoStartTs float64 `tl:"flag:2"`
}
func (*InputChatUploadedPhoto) CRC ¶
func (*InputChatUploadedPhoto) CRC() uint32
func (*InputChatUploadedPhoto) FlagIndex ¶
func (*InputChatUploadedPhoto) FlagIndex() int
func (*InputChatUploadedPhoto) ImplementsInputChatPhoto ¶
func (*InputChatUploadedPhoto) ImplementsInputChatPhoto()
type InputCheckPasswordEmpty ¶
type InputCheckPasswordEmpty struct{}
func (*InputCheckPasswordEmpty) CRC ¶
func (*InputCheckPasswordEmpty) CRC() uint32
func (*InputCheckPasswordEmpty) ImplementsInputCheckPasswordSRP ¶
func (*InputCheckPasswordEmpty) ImplementsInputCheckPasswordSRP()
type InputCheckPasswordSRP ¶
func GetInputCheckPassword ¶
func GetInputCheckPassword(password string, accountPassword *AccountPassword) (InputCheckPasswordSRP, error)
type InputCheckPasswordSRPObj ¶
func (*InputCheckPasswordSRPObj) CRC ¶
func (*InputCheckPasswordSRPObj) CRC() uint32
func (*InputCheckPasswordSRPObj) ImplementsInputCheckPasswordSRP ¶
func (*InputCheckPasswordSRPObj) ImplementsInputCheckPasswordSRP()
type InputClientProxy ¶
func (*InputClientProxy) CRC ¶
func (*InputClientProxy) CRC() uint32
type InputDialogPeer ¶
type InputDialogPeerFolder ¶
type InputDialogPeerFolder struct {
FolderID int32
}
func (*InputDialogPeerFolder) CRC ¶
func (*InputDialogPeerFolder) CRC() uint32
func (*InputDialogPeerFolder) ImplementsInputDialogPeer ¶
func (*InputDialogPeerFolder) ImplementsInputDialogPeer()
type InputDialogPeerObj ¶
type InputDialogPeerObj struct {
Peer InputPeer
}
func (*InputDialogPeerObj) CRC ¶
func (*InputDialogPeerObj) CRC() uint32
func (*InputDialogPeerObj) ImplementsInputDialogPeer ¶
func (*InputDialogPeerObj) ImplementsInputDialogPeer()
type InputDocument ¶
type InputDocumentEmpty ¶
type InputDocumentEmpty struct{}
func (*InputDocumentEmpty) CRC ¶
func (*InputDocumentEmpty) CRC() uint32
func (*InputDocumentEmpty) ImplementsInputDocument ¶
func (*InputDocumentEmpty) ImplementsInputDocument()
type InputDocumentFileLocation ¶
type InputDocumentFileLocation struct {
ID int64
AccessHash int64
FileReference []byte
ThumbSize string
}
func (*InputDocumentFileLocation) CRC ¶
func (*InputDocumentFileLocation) CRC() uint32
func (*InputDocumentFileLocation) ImplementsInputFileLocation ¶
func (*InputDocumentFileLocation) ImplementsInputFileLocation()
type InputDocumentObj ¶
func (*InputDocumentObj) CRC ¶
func (*InputDocumentObj) CRC() uint32
func (*InputDocumentObj) ImplementsInputDocument ¶
func (*InputDocumentObj) ImplementsInputDocument()
type InputEncryptedChat ¶
func (*InputEncryptedChat) CRC ¶
func (*InputEncryptedChat) CRC() uint32
type InputEncryptedFile ¶
type InputEncryptedFileBigUploaded ¶
func (*InputEncryptedFileBigUploaded) CRC ¶
func (*InputEncryptedFileBigUploaded) CRC() uint32
func (*InputEncryptedFileBigUploaded) ImplementsInputEncryptedFile ¶
func (*InputEncryptedFileBigUploaded) ImplementsInputEncryptedFile()
type InputEncryptedFileEmpty ¶
type InputEncryptedFileEmpty struct{}
func (*InputEncryptedFileEmpty) CRC ¶
func (*InputEncryptedFileEmpty) CRC() uint32
func (*InputEncryptedFileEmpty) ImplementsInputEncryptedFile ¶
func (*InputEncryptedFileEmpty) ImplementsInputEncryptedFile()
type InputEncryptedFileLocation ¶
func (*InputEncryptedFileLocation) CRC ¶
func (*InputEncryptedFileLocation) CRC() uint32
func (*InputEncryptedFileLocation) ImplementsInputFileLocation ¶
func (*InputEncryptedFileLocation) ImplementsInputFileLocation()
type InputEncryptedFileObj ¶
func (*InputEncryptedFileObj) CRC ¶
func (*InputEncryptedFileObj) CRC() uint32
func (*InputEncryptedFileObj) ImplementsInputEncryptedFile ¶
func (*InputEncryptedFileObj) ImplementsInputEncryptedFile()
type InputEncryptedFileUploaded ¶
type InputEncryptedFileUploaded struct {
ID int64
Parts int32
Md5Checksum string
KeyFingerprint int32
}
func (*InputEncryptedFileUploaded) CRC ¶
func (*InputEncryptedFileUploaded) CRC() uint32
func (*InputEncryptedFileUploaded) ImplementsInputEncryptedFile ¶
func (*InputEncryptedFileUploaded) ImplementsInputEncryptedFile()
type InputFileBig ¶
type InputFileBig struct {
ID int64 // Random file id, created by the client
Parts int32 // Number of parts saved
Name string // Full file name
}
Assigns a big file (over 10Mb in size), saved in part using the method upload.saveBigFilePart.
func (*InputFileBig) CRC ¶
func (*InputFileBig) CRC() uint32
func (*InputFileBig) ImplementsInputFile ¶
func (*InputFileBig) ImplementsInputFile()
type InputFileLocation ¶
type InputFileLocationObj ¶
func (*InputFileLocationObj) CRC ¶
func (*InputFileLocationObj) CRC() uint32
func (*InputFileLocationObj) ImplementsInputFileLocation ¶
func (*InputFileLocationObj) ImplementsInputFileLocation()
type InputFileObj ¶
type InputFileObj struct {
ID int64 // Random file identifier created by the client
Parts int32 // Number of parts saved
Name string // Full name of the file
Md5Checksum string // In case the file's md5-hash was passed, contents of the file will be checked prior to use
}
Defines a file saved in parts using the method upload.saveFilePart.
func (*InputFileObj) CRC ¶
func (*InputFileObj) CRC() uint32
func (*InputFileObj) ImplementsInputFile ¶
func (*InputFileObj) ImplementsInputFile()
type InputFolderPeer ¶
func (*InputFolderPeer) CRC ¶
func (*InputFolderPeer) CRC() uint32
type InputGameID ¶
func (*InputGameID) CRC ¶
func (*InputGameID) CRC() uint32
func (*InputGameID) ImplementsInputGame ¶
func (*InputGameID) ImplementsInputGame()
type InputGameShortName ¶
func (*InputGameShortName) CRC ¶
func (*InputGameShortName) CRC() uint32
func (*InputGameShortName) ImplementsInputGame ¶
func (*InputGameShortName) ImplementsInputGame()
type InputGeoPoint ¶
type InputGeoPointEmpty ¶
type InputGeoPointEmpty struct{}
func (*InputGeoPointEmpty) CRC ¶
func (*InputGeoPointEmpty) CRC() uint32
func (*InputGeoPointEmpty) ImplementsInputGeoPoint ¶
func (*InputGeoPointEmpty) ImplementsInputGeoPoint()
type InputGeoPointObj ¶
func (*InputGeoPointObj) CRC ¶
func (*InputGeoPointObj) CRC() uint32
func (*InputGeoPointObj) FlagIndex ¶
func (*InputGeoPointObj) FlagIndex() int
func (*InputGeoPointObj) ImplementsInputGeoPoint ¶
func (*InputGeoPointObj) ImplementsInputGeoPoint()
type InputKeyboardButtonURLAuth ¶
type InputKeyboardButtonURLAuth struct {
RequestWriteAccess bool `tl:"flag:0,encoded_in_bitflags"`
Text string
FwdText string `tl:"flag:1"`
URL string
Bot InputUser
}
func (*InputKeyboardButtonURLAuth) CRC ¶
func (*InputKeyboardButtonURLAuth) CRC() uint32
func (*InputKeyboardButtonURLAuth) FlagIndex ¶
func (*InputKeyboardButtonURLAuth) FlagIndex() int
func (*InputKeyboardButtonURLAuth) ImplementsKeyboardButton ¶
func (*InputKeyboardButtonURLAuth) ImplementsKeyboardButton()
type InputMedia ¶
type InputMediaContact ¶
func (*InputMediaContact) CRC ¶
func (*InputMediaContact) CRC() uint32
func (*InputMediaContact) ImplementsInputMedia ¶
func (*InputMediaContact) ImplementsInputMedia()
type InputMediaDice ¶
type InputMediaDice struct {
Emoticon string
}
func (*InputMediaDice) CRC ¶
func (*InputMediaDice) CRC() uint32
func (*InputMediaDice) ImplementsInputMedia ¶
func (*InputMediaDice) ImplementsInputMedia()
type InputMediaDocument ¶
type InputMediaDocument struct {
ID InputDocument
TtlSeconds int32 `tl:"flag:0"`
}
func (*InputMediaDocument) CRC ¶
func (*InputMediaDocument) CRC() uint32
func (*InputMediaDocument) FlagIndex ¶
func (*InputMediaDocument) FlagIndex() int
func (*InputMediaDocument) ImplementsInputMedia ¶
func (*InputMediaDocument) ImplementsInputMedia()
type InputMediaDocumentExternal ¶
func (*InputMediaDocumentExternal) CRC ¶
func (*InputMediaDocumentExternal) CRC() uint32
func (*InputMediaDocumentExternal) FlagIndex ¶
func (*InputMediaDocumentExternal) FlagIndex() int
func (*InputMediaDocumentExternal) ImplementsInputMedia ¶
func (*InputMediaDocumentExternal) ImplementsInputMedia()
type InputMediaEmpty ¶
type InputMediaEmpty struct{}
func (*InputMediaEmpty) CRC ¶
func (*InputMediaEmpty) CRC() uint32
func (*InputMediaEmpty) ImplementsInputMedia ¶
func (*InputMediaEmpty) ImplementsInputMedia()
type InputMediaGame ¶
type InputMediaGame struct {
ID InputGame
}
func (*InputMediaGame) CRC ¶
func (*InputMediaGame) CRC() uint32
func (*InputMediaGame) ImplementsInputMedia ¶
func (*InputMediaGame) ImplementsInputMedia()
type InputMediaGeoLive ¶
type InputMediaGeoLive struct {
Stopped bool `tl:"flag:0,encoded_in_bitflags"`
GeoPoint InputGeoPoint
Heading int32 `tl:"flag:2"`
Period int32 `tl:"flag:1"`
ProximityNotificationRadius int32 `tl:"flag:3"`
}
func (*InputMediaGeoLive) CRC ¶
func (*InputMediaGeoLive) CRC() uint32
func (*InputMediaGeoLive) FlagIndex ¶
func (*InputMediaGeoLive) FlagIndex() int
func (*InputMediaGeoLive) ImplementsInputMedia ¶
func (*InputMediaGeoLive) ImplementsInputMedia()
type InputMediaGeoPoint ¶
type InputMediaGeoPoint struct {
GeoPoint InputGeoPoint
}
func (*InputMediaGeoPoint) CRC ¶
func (*InputMediaGeoPoint) CRC() uint32
func (*InputMediaGeoPoint) ImplementsInputMedia ¶
func (*InputMediaGeoPoint) ImplementsInputMedia()
type InputMediaInvoice ¶
type InputMediaInvoice struct {
Title string
Description string
Photo *InputWebDocument `tl:"flag:0"`
Invoice *Invoice
Payload []byte
Provider string
ProviderData *DataJson
StartParam string
}
func (*InputMediaInvoice) CRC ¶
func (*InputMediaInvoice) CRC() uint32
func (*InputMediaInvoice) FlagIndex ¶
func (*InputMediaInvoice) FlagIndex() int
func (*InputMediaInvoice) ImplementsInputMedia ¶
func (*InputMediaInvoice) ImplementsInputMedia()
type InputMediaPhoto ¶
type InputMediaPhoto struct {
ID InputPhoto
TtlSeconds int32 `tl:"flag:0"`
}
func (*InputMediaPhoto) CRC ¶
func (*InputMediaPhoto) CRC() uint32
func (*InputMediaPhoto) FlagIndex ¶
func (*InputMediaPhoto) FlagIndex() int
func (*InputMediaPhoto) ImplementsInputMedia ¶
func (*InputMediaPhoto) ImplementsInputMedia()
type InputMediaPhotoExternal ¶
func (*InputMediaPhotoExternal) CRC ¶
func (*InputMediaPhotoExternal) CRC() uint32
func (*InputMediaPhotoExternal) FlagIndex ¶
func (*InputMediaPhotoExternal) FlagIndex() int
func (*InputMediaPhotoExternal) ImplementsInputMedia ¶
func (*InputMediaPhotoExternal) ImplementsInputMedia()
type InputMediaPoll ¶
type InputMediaPoll struct {
Poll *Poll
CorrectAnswers [][]byte `tl:"flag:0"`
Solution string `tl:"flag:1"`
SolutionEntities []MessageEntity `tl:"flag:1"`
}
func (*InputMediaPoll) CRC ¶
func (*InputMediaPoll) CRC() uint32
func (*InputMediaPoll) FlagIndex ¶
func (*InputMediaPoll) FlagIndex() int
func (*InputMediaPoll) ImplementsInputMedia ¶
func (*InputMediaPoll) ImplementsInputMedia()
type InputMediaUploadedDocument ¶
type InputMediaUploadedDocument struct {
NosoundVideo bool `tl:"flag:3,encoded_in_bitflags"`
ForceFile bool `tl:"flag:4,encoded_in_bitflags"`
File InputFile
Thumb InputFile `tl:"flag:2"`
MimeType string
Attributes []DocumentAttribute
Stickers []InputDocument `tl:"flag:0"`
TtlSeconds int32 `tl:"flag:1"`
}
func (*InputMediaUploadedDocument) CRC ¶
func (*InputMediaUploadedDocument) CRC() uint32
func (*InputMediaUploadedDocument) FlagIndex ¶
func (*InputMediaUploadedDocument) FlagIndex() int
func (*InputMediaUploadedDocument) ImplementsInputMedia ¶
func (*InputMediaUploadedDocument) ImplementsInputMedia()
type InputMediaUploadedPhoto ¶
type InputMediaUploadedPhoto struct {
File InputFile
Stickers []InputDocument `tl:"flag:0"`
TtlSeconds int32 `tl:"flag:1"`
}
func (*InputMediaUploadedPhoto) CRC ¶
func (*InputMediaUploadedPhoto) CRC() uint32
func (*InputMediaUploadedPhoto) FlagIndex ¶
func (*InputMediaUploadedPhoto) FlagIndex() int
func (*InputMediaUploadedPhoto) ImplementsInputMedia ¶
func (*InputMediaUploadedPhoto) ImplementsInputMedia()
type InputMediaVenue ¶
type InputMediaVenue struct {
GeoPoint InputGeoPoint
Title string
Address string
Provider string
VenueID string
VenueType string
}
func (*InputMediaVenue) CRC ¶
func (*InputMediaVenue) CRC() uint32
func (*InputMediaVenue) ImplementsInputMedia ¶
func (*InputMediaVenue) ImplementsInputMedia()
type InputMessage ¶
type InputMessageCallbackQuery ¶
func (*InputMessageCallbackQuery) CRC ¶
func (*InputMessageCallbackQuery) CRC() uint32
func (*InputMessageCallbackQuery) ImplementsInputMessage ¶
func (*InputMessageCallbackQuery) ImplementsInputMessage()
type InputMessageEntityMentionName ¶
func (*InputMessageEntityMentionName) CRC ¶
func (*InputMessageEntityMentionName) CRC() uint32
func (*InputMessageEntityMentionName) ImplementsMessageEntity ¶
func (*InputMessageEntityMentionName) ImplementsMessageEntity()
type InputMessageID ¶
type InputMessageID struct {
ID int32
}
func (*InputMessageID) CRC ¶
func (*InputMessageID) CRC() uint32
func (*InputMessageID) ImplementsInputMessage ¶
func (*InputMessageID) ImplementsInputMessage()
type InputMessagePinned ¶
type InputMessagePinned struct{}
func (*InputMessagePinned) CRC ¶
func (*InputMessagePinned) CRC() uint32
func (*InputMessagePinned) ImplementsInputMessage ¶
func (*InputMessagePinned) ImplementsInputMessage()
type InputMessageReplyTo ¶
type InputMessageReplyTo struct {
ID int32
}
func (*InputMessageReplyTo) CRC ¶
func (*InputMessageReplyTo) CRC() uint32
func (*InputMessageReplyTo) ImplementsInputMessage ¶
func (*InputMessageReplyTo) ImplementsInputMessage()
type InputMessagesFilterChatPhotos ¶
type InputMessagesFilterChatPhotos struct{}
func (*InputMessagesFilterChatPhotos) CRC ¶
func (*InputMessagesFilterChatPhotos) CRC() uint32
func (*InputMessagesFilterChatPhotos) ImplementsMessagesFilter ¶
func (*InputMessagesFilterChatPhotos) ImplementsMessagesFilter()
type InputMessagesFilterContacts ¶
type InputMessagesFilterContacts struct{}
func (*InputMessagesFilterContacts) CRC ¶
func (*InputMessagesFilterContacts) CRC() uint32
func (*InputMessagesFilterContacts) ImplementsMessagesFilter ¶
func (*InputMessagesFilterContacts) ImplementsMessagesFilter()
type InputMessagesFilterDocument ¶
type InputMessagesFilterDocument struct{}
func (*InputMessagesFilterDocument) CRC ¶
func (*InputMessagesFilterDocument) CRC() uint32
func (*InputMessagesFilterDocument) ImplementsMessagesFilter ¶
func (*InputMessagesFilterDocument) ImplementsMessagesFilter()
type InputMessagesFilterEmpty ¶
type InputMessagesFilterEmpty struct{}
func (*InputMessagesFilterEmpty) CRC ¶
func (*InputMessagesFilterEmpty) CRC() uint32
func (*InputMessagesFilterEmpty) ImplementsMessagesFilter ¶
func (*InputMessagesFilterEmpty) ImplementsMessagesFilter()
type InputMessagesFilterGeo ¶
type InputMessagesFilterGeo struct{}
func (*InputMessagesFilterGeo) CRC ¶
func (*InputMessagesFilterGeo) CRC() uint32
func (*InputMessagesFilterGeo) ImplementsMessagesFilter ¶
func (*InputMessagesFilterGeo) ImplementsMessagesFilter()
type InputMessagesFilterGif ¶
type InputMessagesFilterGif struct{}
func (*InputMessagesFilterGif) CRC ¶
func (*InputMessagesFilterGif) CRC() uint32
func (*InputMessagesFilterGif) ImplementsMessagesFilter ¶
func (*InputMessagesFilterGif) ImplementsMessagesFilter()
type InputMessagesFilterMusic ¶
type InputMessagesFilterMusic struct{}
func (*InputMessagesFilterMusic) CRC ¶
func (*InputMessagesFilterMusic) CRC() uint32
func (*InputMessagesFilterMusic) ImplementsMessagesFilter ¶
func (*InputMessagesFilterMusic) ImplementsMessagesFilter()
type InputMessagesFilterMyMentions ¶
type InputMessagesFilterMyMentions struct{}
func (*InputMessagesFilterMyMentions) CRC ¶
func (*InputMessagesFilterMyMentions) CRC() uint32
func (*InputMessagesFilterMyMentions) ImplementsMessagesFilter ¶
func (*InputMessagesFilterMyMentions) ImplementsMessagesFilter()
type InputMessagesFilterPhoneCalls ¶
type InputMessagesFilterPhoneCalls struct {
Missed bool `tl:"flag:0,encoded_in_bitflags"`
}
func (*InputMessagesFilterPhoneCalls) CRC ¶
func (*InputMessagesFilterPhoneCalls) CRC() uint32
func (*InputMessagesFilterPhoneCalls) FlagIndex ¶
func (*InputMessagesFilterPhoneCalls) FlagIndex() int
func (*InputMessagesFilterPhoneCalls) ImplementsMessagesFilter ¶
func (*InputMessagesFilterPhoneCalls) ImplementsMessagesFilter()
type InputMessagesFilterPhotoVideo ¶
type InputMessagesFilterPhotoVideo struct{}
func (*InputMessagesFilterPhotoVideo) CRC ¶
func (*InputMessagesFilterPhotoVideo) CRC() uint32
func (*InputMessagesFilterPhotoVideo) ImplementsMessagesFilter ¶
func (*InputMessagesFilterPhotoVideo) ImplementsMessagesFilter()
type InputMessagesFilterPhotos ¶
type InputMessagesFilterPhotos struct{}
func (*InputMessagesFilterPhotos) CRC ¶
func (*InputMessagesFilterPhotos) CRC() uint32
func (*InputMessagesFilterPhotos) ImplementsMessagesFilter ¶
func (*InputMessagesFilterPhotos) ImplementsMessagesFilter()
type InputMessagesFilterPinned ¶
type InputMessagesFilterPinned struct{}
func (*InputMessagesFilterPinned) CRC ¶
func (*InputMessagesFilterPinned) CRC() uint32
func (*InputMessagesFilterPinned) ImplementsMessagesFilter ¶
func (*InputMessagesFilterPinned) ImplementsMessagesFilter()
type InputMessagesFilterRoundVideo ¶
type InputMessagesFilterRoundVideo struct{}
func (*InputMessagesFilterRoundVideo) CRC ¶
func (*InputMessagesFilterRoundVideo) CRC() uint32
func (*InputMessagesFilterRoundVideo) ImplementsMessagesFilter ¶
func (*InputMessagesFilterRoundVideo) ImplementsMessagesFilter()
type InputMessagesFilterRoundVoice ¶
type InputMessagesFilterRoundVoice struct{}
func (*InputMessagesFilterRoundVoice) CRC ¶
func (*InputMessagesFilterRoundVoice) CRC() uint32
func (*InputMessagesFilterRoundVoice) ImplementsMessagesFilter ¶
func (*InputMessagesFilterRoundVoice) ImplementsMessagesFilter()
type InputMessagesFilterURL ¶
type InputMessagesFilterURL struct{}
func (*InputMessagesFilterURL) CRC ¶
func (*InputMessagesFilterURL) CRC() uint32
func (*InputMessagesFilterURL) ImplementsMessagesFilter ¶
func (*InputMessagesFilterURL) ImplementsMessagesFilter()
type InputMessagesFilterVideo ¶
type InputMessagesFilterVideo struct{}
func (*InputMessagesFilterVideo) CRC ¶
func (*InputMessagesFilterVideo) CRC() uint32
func (*InputMessagesFilterVideo) ImplementsMessagesFilter ¶
func (*InputMessagesFilterVideo) ImplementsMessagesFilter()
type InputMessagesFilterVoice ¶
type InputMessagesFilterVoice struct{}
func (*InputMessagesFilterVoice) CRC ¶
func (*InputMessagesFilterVoice) CRC() uint32
func (*InputMessagesFilterVoice) ImplementsMessagesFilter ¶
func (*InputMessagesFilterVoice) ImplementsMessagesFilter()
type InputNotifyBroadcasts ¶
type InputNotifyBroadcasts struct{}
func (*InputNotifyBroadcasts) CRC ¶
func (*InputNotifyBroadcasts) CRC() uint32
func (*InputNotifyBroadcasts) ImplementsInputNotifyPeer ¶
func (*InputNotifyBroadcasts) ImplementsInputNotifyPeer()
type InputNotifyChats ¶
type InputNotifyChats struct{}
func (*InputNotifyChats) CRC ¶
func (*InputNotifyChats) CRC() uint32
func (*InputNotifyChats) ImplementsInputNotifyPeer ¶
func (*InputNotifyChats) ImplementsInputNotifyPeer()
type InputNotifyPeer ¶
type InputNotifyPeerObj ¶
type InputNotifyPeerObj struct {
Peer InputPeer
}
func (*InputNotifyPeerObj) CRC ¶
func (*InputNotifyPeerObj) CRC() uint32
func (*InputNotifyPeerObj) ImplementsInputNotifyPeer ¶
func (*InputNotifyPeerObj) ImplementsInputNotifyPeer()
type InputNotifyUsers ¶
type InputNotifyUsers struct{}
func (*InputNotifyUsers) CRC ¶
func (*InputNotifyUsers) CRC() uint32
func (*InputNotifyUsers) ImplementsInputNotifyPeer ¶
func (*InputNotifyUsers) ImplementsInputNotifyPeer()
type InputPaymentCredentials ¶
type InputPaymentCredentialsAndroidPay ¶
func (*InputPaymentCredentialsAndroidPay) CRC ¶
func (*InputPaymentCredentialsAndroidPay) CRC() uint32
func (*InputPaymentCredentialsAndroidPay) ImplementsInputPaymentCredentials ¶
func (*InputPaymentCredentialsAndroidPay) ImplementsInputPaymentCredentials()
type InputPaymentCredentialsApplePay ¶
type InputPaymentCredentialsApplePay struct {
PaymentData *DataJson
}
func (*InputPaymentCredentialsApplePay) CRC ¶
func (*InputPaymentCredentialsApplePay) CRC() uint32
func (*InputPaymentCredentialsApplePay) ImplementsInputPaymentCredentials ¶
func (*InputPaymentCredentialsApplePay) ImplementsInputPaymentCredentials()
type InputPaymentCredentialsObj ¶
type InputPaymentCredentialsObj struct {
Save bool `tl:"flag:0,encoded_in_bitflags"`
Data *DataJson
}
func (*InputPaymentCredentialsObj) CRC ¶
func (*InputPaymentCredentialsObj) CRC() uint32
func (*InputPaymentCredentialsObj) FlagIndex ¶
func (*InputPaymentCredentialsObj) FlagIndex() int
func (*InputPaymentCredentialsObj) ImplementsInputPaymentCredentials ¶
func (*InputPaymentCredentialsObj) ImplementsInputPaymentCredentials()
type InputPaymentCredentialsSaved ¶
func (*InputPaymentCredentialsSaved) CRC ¶
func (*InputPaymentCredentialsSaved) CRC() uint32
func (*InputPaymentCredentialsSaved) ImplementsInputPaymentCredentials ¶
func (*InputPaymentCredentialsSaved) ImplementsInputPaymentCredentials()
type InputPeerChannel ¶
type InputPeerChannel struct {
ChannelID int32 // Channel identifier
AccessHash int64 // **access_hash** value from the [channel](https://core.telegram.org/constructor/channel) constructor
}
Defines a channel for further interaction.
func (*InputPeerChannel) CRC ¶
func (*InputPeerChannel) CRC() uint32
func (*InputPeerChannel) ImplementsInputPeer ¶
func (*InputPeerChannel) ImplementsInputPeer()
type InputPeerChannelFromMessage ¶
type InputPeerChannelFromMessage struct {
Peer InputPeer // The chat where the channel's message was seen
MsgID int32 // The message ID
ChannelID int32 // The identifier of the channel that was seen
}
Defines a [min](https://core.telegram.org/api/min) channel that was seen in a certain message of a certain chat.
func (*InputPeerChannelFromMessage) CRC ¶
func (*InputPeerChannelFromMessage) CRC() uint32
func (*InputPeerChannelFromMessage) ImplementsInputPeer ¶
func (*InputPeerChannelFromMessage) ImplementsInputPeer()
type InputPeerChat ¶
type InputPeerChat struct {
ChatID int32 // Chat idientifier
}
Defines a chat for further interaction.
func (*InputPeerChat) CRC ¶
func (*InputPeerChat) CRC() uint32
func (*InputPeerChat) ImplementsInputPeer ¶
func (*InputPeerChat) ImplementsInputPeer()
type InputPeerEmpty ¶
type InputPeerEmpty struct{}
An empty constructor, no user or chat is defined.
func (*InputPeerEmpty) CRC ¶
func (*InputPeerEmpty) CRC() uint32
func (*InputPeerEmpty) ImplementsInputPeer ¶
func (*InputPeerEmpty) ImplementsInputPeer()
type InputPeerNotifySettings ¶
type InputPeerNotifySettings struct {
ShowPreviews bool `tl:"flag:0"`
Silent bool `tl:"flag:1"`
MuteUntil int32 `tl:"flag:2"`
Sound string `tl:"flag:3"`
}
func (*InputPeerNotifySettings) CRC ¶
func (*InputPeerNotifySettings) CRC() uint32
func (*InputPeerNotifySettings) FlagIndex ¶
func (*InputPeerNotifySettings) FlagIndex() int
type InputPeerPhotoFileLocation ¶
type InputPeerPhotoFileLocation struct {
Big bool `tl:"flag:0,encoded_in_bitflags"`
Peer InputPeer
VolumeID int64
LocalID int32
}
func (*InputPeerPhotoFileLocation) CRC ¶
func (*InputPeerPhotoFileLocation) CRC() uint32
func (*InputPeerPhotoFileLocation) FlagIndex ¶
func (*InputPeerPhotoFileLocation) FlagIndex() int
func (*InputPeerPhotoFileLocation) ImplementsInputFileLocation ¶
func (*InputPeerPhotoFileLocation) ImplementsInputFileLocation()
type InputPeerSelf ¶
type InputPeerSelf struct{}
Defines the current user.
func (*InputPeerSelf) CRC ¶
func (*InputPeerSelf) CRC() uint32
func (*InputPeerSelf) ImplementsInputPeer ¶
func (*InputPeerSelf) ImplementsInputPeer()
type InputPeerUser ¶
type InputPeerUser struct {
UserID int32 // User identifier
AccessHash int64 // **access_hash** value from the [user](https://core.telegram.org/constructor/user) constructor
}
Defines a user for further interaction.
func (*InputPeerUser) CRC ¶
func (*InputPeerUser) CRC() uint32
func (*InputPeerUser) ImplementsInputPeer ¶
func (*InputPeerUser) ImplementsInputPeer()
type InputPeerUserFromMessage ¶
type InputPeerUserFromMessage struct {
Peer InputPeer // The chat where the user was seen
MsgID int32 // The message ID
UserID int32 // The identifier of the user that was seen
}
Defines a [min](https://core.telegram.org/api/min) user that was seen in a certain message of a certain chat.
func (*InputPeerUserFromMessage) CRC ¶
func (*InputPeerUserFromMessage) CRC() uint32
func (*InputPeerUserFromMessage) ImplementsInputPeer ¶
func (*InputPeerUserFromMessage) ImplementsInputPeer()
type InputPhoneCall ¶
func (*InputPhoneCall) CRC ¶
func (*InputPhoneCall) CRC() uint32
type InputPhoneContact ¶
type InputPhoneContact struct {
ClientID int64 // User identifier on the client
Phone string // Phone number
FirstName string // Contact's first name
LastName string // Contact's last name
}
Phone contact. The client_id is just an arbitrary contact ID: it should be set, for example, to an incremental number when using contacts.importContacts, in order to retry importing only the contacts that weren't imported successfully.
func (*InputPhoneContact) CRC ¶
func (*InputPhoneContact) CRC() uint32
type InputPhoto ¶
type InputPhotoEmpty ¶
type InputPhotoEmpty struct{}
func (*InputPhotoEmpty) CRC ¶
func (*InputPhotoEmpty) CRC() uint32
func (*InputPhotoEmpty) ImplementsInputPhoto ¶
func (*InputPhotoEmpty) ImplementsInputPhoto()
type InputPhotoFileLocation ¶
type InputPhotoFileLocation struct {
ID int64
AccessHash int64
FileReference []byte
ThumbSize string
}
func (*InputPhotoFileLocation) CRC ¶
func (*InputPhotoFileLocation) CRC() uint32
func (*InputPhotoFileLocation) ImplementsInputFileLocation ¶
func (*InputPhotoFileLocation) ImplementsInputFileLocation()
type InputPhotoLegacyFileLocation ¶
type InputPhotoLegacyFileLocation struct {
ID int64
AccessHash int64
FileReference []byte
VolumeID int64
LocalID int32
Secret int64
}
func (*InputPhotoLegacyFileLocation) CRC ¶
func (*InputPhotoLegacyFileLocation) CRC() uint32
func (*InputPhotoLegacyFileLocation) ImplementsInputFileLocation ¶
func (*InputPhotoLegacyFileLocation) ImplementsInputFileLocation()
type InputPhotoObj ¶
func (*InputPhotoObj) CRC ¶
func (*InputPhotoObj) CRC() uint32
func (*InputPhotoObj) ImplementsInputPhoto ¶
func (*InputPhotoObj) ImplementsInputPhoto()
type InputPrivacyKey ¶
type InputPrivacyKey uint32
const ( InputPrivacyKeyAddedByPhone InputPrivacyKey = 0xd1219bdd InputPrivacyKeyChatInvite InputPrivacyKey = 0xbdfb0426 InputPrivacyKeyForwards InputPrivacyKey = 0xa4dd4c08 InputPrivacyKeyPhoneCall InputPrivacyKey = 0xfabadc5f InputPrivacyKeyPhoneNumber InputPrivacyKey = 0x352dafa InputPrivacyKeyPhoneP2P InputPrivacyKey = 0xdb9e70d2 InputPrivacyKeyProfilePhoto InputPrivacyKey = 0x5719bacc InputPrivacyKeyStatusTimestamp InputPrivacyKey = 0x4f96cb18 )
func (InputPrivacyKey) CRC ¶
func (e InputPrivacyKey) CRC() uint32
func (InputPrivacyKey) String ¶
func (e InputPrivacyKey) String() string
type InputPrivacyRule ¶
type InputPrivacyValueAllowAll ¶
type InputPrivacyValueAllowAll struct{}
func (*InputPrivacyValueAllowAll) CRC ¶
func (*InputPrivacyValueAllowAll) CRC() uint32
func (*InputPrivacyValueAllowAll) ImplementsInputPrivacyRule ¶
func (*InputPrivacyValueAllowAll) ImplementsInputPrivacyRule()
type InputPrivacyValueAllowChatParticipants ¶
type InputPrivacyValueAllowChatParticipants struct {
Chats []int32
}
func (*InputPrivacyValueAllowChatParticipants) CRC ¶
func (*InputPrivacyValueAllowChatParticipants) CRC() uint32
func (*InputPrivacyValueAllowChatParticipants) ImplementsInputPrivacyRule ¶
func (*InputPrivacyValueAllowChatParticipants) ImplementsInputPrivacyRule()
type InputPrivacyValueAllowContacts ¶
type InputPrivacyValueAllowContacts struct{}
func (*InputPrivacyValueAllowContacts) CRC ¶
func (*InputPrivacyValueAllowContacts) CRC() uint32
func (*InputPrivacyValueAllowContacts) ImplementsInputPrivacyRule ¶
func (*InputPrivacyValueAllowContacts) ImplementsInputPrivacyRule()
type InputPrivacyValueAllowUsers ¶
type InputPrivacyValueAllowUsers struct {
Users []InputUser
}
func (*InputPrivacyValueAllowUsers) CRC ¶
func (*InputPrivacyValueAllowUsers) CRC() uint32
func (*InputPrivacyValueAllowUsers) ImplementsInputPrivacyRule ¶
func (*InputPrivacyValueAllowUsers) ImplementsInputPrivacyRule()
type InputPrivacyValueDisallowAll ¶
type InputPrivacyValueDisallowAll struct{}
func (*InputPrivacyValueDisallowAll) CRC ¶
func (*InputPrivacyValueDisallowAll) CRC() uint32
func (*InputPrivacyValueDisallowAll) ImplementsInputPrivacyRule ¶
func (*InputPrivacyValueDisallowAll) ImplementsInputPrivacyRule()
type InputPrivacyValueDisallowChatParticipants ¶
type InputPrivacyValueDisallowChatParticipants struct {
Chats []int32
}
func (*InputPrivacyValueDisallowChatParticipants) CRC ¶
func (*InputPrivacyValueDisallowChatParticipants) CRC() uint32
func (*InputPrivacyValueDisallowChatParticipants) ImplementsInputPrivacyRule ¶
func (*InputPrivacyValueDisallowChatParticipants) ImplementsInputPrivacyRule()
type InputPrivacyValueDisallowContacts ¶
type InputPrivacyValueDisallowContacts struct{}
func (*InputPrivacyValueDisallowContacts) CRC ¶
func (*InputPrivacyValueDisallowContacts) CRC() uint32
func (*InputPrivacyValueDisallowContacts) ImplementsInputPrivacyRule ¶
func (*InputPrivacyValueDisallowContacts) ImplementsInputPrivacyRule()
type InputPrivacyValueDisallowUsers ¶
type InputPrivacyValueDisallowUsers struct {
Users []InputUser
}
func (*InputPrivacyValueDisallowUsers) CRC ¶
func (*InputPrivacyValueDisallowUsers) CRC() uint32
func (*InputPrivacyValueDisallowUsers) ImplementsInputPrivacyRule ¶
func (*InputPrivacyValueDisallowUsers) ImplementsInputPrivacyRule()
type InputReportReasonChildAbuse ¶
type InputReportReasonChildAbuse struct{}
func (*InputReportReasonChildAbuse) CRC ¶
func (*InputReportReasonChildAbuse) CRC() uint32
func (*InputReportReasonChildAbuse) ImplementsReportReason ¶
func (*InputReportReasonChildAbuse) ImplementsReportReason()
type InputReportReasonCopyright ¶
type InputReportReasonCopyright struct{}
func (*InputReportReasonCopyright) CRC ¶
func (*InputReportReasonCopyright) CRC() uint32
func (*InputReportReasonCopyright) ImplementsReportReason ¶
func (*InputReportReasonCopyright) ImplementsReportReason()
type InputReportReasonGeoIrrelevant ¶
type InputReportReasonGeoIrrelevant struct{}
func (*InputReportReasonGeoIrrelevant) CRC ¶
func (*InputReportReasonGeoIrrelevant) CRC() uint32
func (*InputReportReasonGeoIrrelevant) ImplementsReportReason ¶
func (*InputReportReasonGeoIrrelevant) ImplementsReportReason()
type InputReportReasonOther ¶
type InputReportReasonOther struct {
Text string
}
func (*InputReportReasonOther) CRC ¶
func (*InputReportReasonOther) CRC() uint32
func (*InputReportReasonOther) ImplementsReportReason ¶
func (*InputReportReasonOther) ImplementsReportReason()
type InputReportReasonPornography ¶
type InputReportReasonPornography struct{}
func (*InputReportReasonPornography) CRC ¶
func (*InputReportReasonPornography) CRC() uint32
func (*InputReportReasonPornography) ImplementsReportReason ¶
func (*InputReportReasonPornography) ImplementsReportReason()
type InputReportReasonSpam ¶
type InputReportReasonSpam struct{}
func (*InputReportReasonSpam) CRC ¶
func (*InputReportReasonSpam) CRC() uint32
func (*InputReportReasonSpam) ImplementsReportReason ¶
func (*InputReportReasonSpam) ImplementsReportReason()
type InputReportReasonViolence ¶
type InputReportReasonViolence struct{}
func (*InputReportReasonViolence) CRC ¶
func (*InputReportReasonViolence) CRC() uint32
func (*InputReportReasonViolence) ImplementsReportReason ¶
func (*InputReportReasonViolence) ImplementsReportReason()
type InputSecureFile ¶
type InputSecureFileLocation ¶
func (*InputSecureFileLocation) CRC ¶
func (*InputSecureFileLocation) CRC() uint32
func (*InputSecureFileLocation) ImplementsInputFileLocation ¶
func (*InputSecureFileLocation) ImplementsInputFileLocation()
type InputSecureFileObj ¶
func (*InputSecureFileObj) CRC ¶
func (*InputSecureFileObj) CRC() uint32
func (*InputSecureFileObj) ImplementsInputSecureFile ¶
func (*InputSecureFileObj) ImplementsInputSecureFile()
type InputSecureFileUploaded ¶
type InputSecureFileUploaded struct {
ID int64
Parts int32
Md5Checksum string
FileHash []byte
Secret []byte
}
func (*InputSecureFileUploaded) CRC ¶
func (*InputSecureFileUploaded) CRC() uint32
func (*InputSecureFileUploaded) ImplementsInputSecureFile ¶
func (*InputSecureFileUploaded) ImplementsInputSecureFile()
type InputSecureValue ¶
type InputSecureValue struct {
Type SecureValueType
Data *SecureData `tl:"flag:0"`
FrontSide InputSecureFile `tl:"flag:1"`
ReverseSide InputSecureFile `tl:"flag:2"`
Selfie InputSecureFile `tl:"flag:3"`
Translation []InputSecureFile `tl:"flag:6"`
Files []InputSecureFile `tl:"flag:4"`
PlainData SecurePlainData `tl:"flag:5"`
}
func (*InputSecureValue) CRC ¶
func (*InputSecureValue) CRC() uint32
func (*InputSecureValue) FlagIndex ¶
func (*InputSecureValue) FlagIndex() int
type InputSingleMedia ¶
type InputSingleMedia struct {
Media InputMedia
RandomID int64
Message string
Entities []MessageEntity `tl:"flag:0"`
}
func (*InputSingleMedia) CRC ¶
func (*InputSingleMedia) CRC() uint32
func (*InputSingleMedia) FlagIndex ¶
func (*InputSingleMedia) FlagIndex() int
type InputStickerSet ¶
type InputStickerSetAnimatedEmoji ¶
type InputStickerSetAnimatedEmoji struct{}
func (*InputStickerSetAnimatedEmoji) CRC ¶
func (*InputStickerSetAnimatedEmoji) CRC() uint32
func (*InputStickerSetAnimatedEmoji) ImplementsInputStickerSet ¶
func (*InputStickerSetAnimatedEmoji) ImplementsInputStickerSet()
type InputStickerSetDice ¶
type InputStickerSetDice struct {
Emoticon string
}
func (*InputStickerSetDice) CRC ¶
func (*InputStickerSetDice) CRC() uint32
func (*InputStickerSetDice) ImplementsInputStickerSet ¶
func (*InputStickerSetDice) ImplementsInputStickerSet()
type InputStickerSetEmpty ¶
type InputStickerSetEmpty struct{}
func (*InputStickerSetEmpty) CRC ¶
func (*InputStickerSetEmpty) CRC() uint32
func (*InputStickerSetEmpty) ImplementsInputStickerSet ¶
func (*InputStickerSetEmpty) ImplementsInputStickerSet()
type InputStickerSetID ¶
func (*InputStickerSetID) CRC ¶
func (*InputStickerSetID) CRC() uint32
func (*InputStickerSetID) ImplementsInputStickerSet ¶
func (*InputStickerSetID) ImplementsInputStickerSet()
type InputStickerSetItem ¶
type InputStickerSetItem struct {
Document InputDocument
Emoji string
MaskCoords *MaskCoords `tl:"flag:0"`
}
func (*InputStickerSetItem) CRC ¶
func (*InputStickerSetItem) CRC() uint32
func (*InputStickerSetItem) FlagIndex ¶
func (*InputStickerSetItem) FlagIndex() int
type InputStickerSetShortName ¶
type InputStickerSetShortName struct {
ShortName string
}
func (*InputStickerSetShortName) CRC ¶
func (*InputStickerSetShortName) CRC() uint32
func (*InputStickerSetShortName) ImplementsInputStickerSet ¶
func (*InputStickerSetShortName) ImplementsInputStickerSet()
type InputStickerSetThumb ¶
type InputStickerSetThumb struct {
Stickerset InputStickerSet
VolumeID int64
LocalID int32
}
func (*InputStickerSetThumb) CRC ¶
func (*InputStickerSetThumb) CRC() uint32
func (*InputStickerSetThumb) ImplementsInputFileLocation ¶
func (*InputStickerSetThumb) ImplementsInputFileLocation()
type InputStickeredMedia ¶
type InputStickeredMediaDocument ¶
type InputStickeredMediaDocument struct {
ID InputDocument
}
func (*InputStickeredMediaDocument) CRC ¶
func (*InputStickeredMediaDocument) CRC() uint32
func (*InputStickeredMediaDocument) ImplementsInputStickeredMedia ¶
func (*InputStickeredMediaDocument) ImplementsInputStickeredMedia()
type InputStickeredMediaPhoto ¶
type InputStickeredMediaPhoto struct {
ID InputPhoto
}
func (*InputStickeredMediaPhoto) CRC ¶
func (*InputStickeredMediaPhoto) CRC() uint32
func (*InputStickeredMediaPhoto) ImplementsInputStickeredMedia ¶
func (*InputStickeredMediaPhoto) ImplementsInputStickeredMedia()
type InputTakeoutFileLocation ¶
type InputTakeoutFileLocation struct{}
func (*InputTakeoutFileLocation) CRC ¶
func (*InputTakeoutFileLocation) CRC() uint32
func (*InputTakeoutFileLocation) ImplementsInputFileLocation ¶
func (*InputTakeoutFileLocation) ImplementsInputFileLocation()
type InputTheme ¶
type InputThemeObj ¶
func (*InputThemeObj) CRC ¶
func (*InputThemeObj) CRC() uint32
func (*InputThemeObj) ImplementsInputTheme ¶
func (*InputThemeObj) ImplementsInputTheme()
type InputThemeSettings ¶
type InputThemeSettings struct {
BaseTheme BaseTheme
AccentColor int32
MessageTopColor int32 `tl:"flag:0"`
MessageBottomColor int32 `tl:"flag:0"`
Wallpaper InputWallPaper `tl:"flag:1"`
WallpaperSettings *WallPaperSettings `tl:"flag:1"`
}
func (*InputThemeSettings) CRC ¶
func (*InputThemeSettings) CRC() uint32
func (*InputThemeSettings) FlagIndex ¶
func (*InputThemeSettings) FlagIndex() int
type InputThemeSlug ¶
type InputThemeSlug struct {
Slug string
}
func (*InputThemeSlug) CRC ¶
func (*InputThemeSlug) CRC() uint32
func (*InputThemeSlug) ImplementsInputTheme ¶
func (*InputThemeSlug) ImplementsInputTheme()
type InputUserEmpty ¶
type InputUserEmpty struct{}
Empty constructor, does not define a user.
func (*InputUserEmpty) CRC ¶
func (*InputUserEmpty) CRC() uint32
func (*InputUserEmpty) ImplementsInputUser ¶
func (*InputUserEmpty) ImplementsInputUser()
type InputUserFromMessage ¶
type InputUserFromMessage struct {
Peer InputPeer // The chat where the user was seen
MsgID int32 // The message ID
UserID int32 // The identifier of the user that was seen
}
Defines a min user that was seen in a certain message of a certain chat.
func (*InputUserFromMessage) CRC ¶
func (*InputUserFromMessage) CRC() uint32
func (*InputUserFromMessage) ImplementsInputUser ¶
func (*InputUserFromMessage) ImplementsInputUser()
type InputUserObj ¶
type InputUserObj struct {
UserID int32 // User identifier
AccessHash int64 // access_hash value from the user constructor
}
Defines a user for further interaction.
func (*InputUserObj) CRC ¶
func (*InputUserObj) CRC() uint32
func (*InputUserObj) ImplementsInputUser ¶
func (*InputUserObj) ImplementsInputUser()
type InputUserSelf ¶
type InputUserSelf struct{}
Defines the current user.
func (*InputUserSelf) CRC ¶
func (*InputUserSelf) CRC() uint32
func (*InputUserSelf) ImplementsInputUser ¶
func (*InputUserSelf) ImplementsInputUser()
type InputWallPaper ¶
type InputWallPaperNoFile ¶
type InputWallPaperNoFile struct{}
func (*InputWallPaperNoFile) CRC ¶
func (*InputWallPaperNoFile) CRC() uint32
func (*InputWallPaperNoFile) ImplementsInputWallPaper ¶
func (*InputWallPaperNoFile) ImplementsInputWallPaper()
type InputWallPaperObj ¶
func (*InputWallPaperObj) CRC ¶
func (*InputWallPaperObj) CRC() uint32
func (*InputWallPaperObj) ImplementsInputWallPaper ¶
func (*InputWallPaperObj) ImplementsInputWallPaper()
type InputWallPaperSlug ¶
type InputWallPaperSlug struct {
Slug string
}
func (*InputWallPaperSlug) CRC ¶
func (*InputWallPaperSlug) CRC() uint32
func (*InputWallPaperSlug) ImplementsInputWallPaper ¶
func (*InputWallPaperSlug) ImplementsInputWallPaper()
type InputWebDocument ¶
type InputWebDocument struct {
URL string
Size int32
MimeType string
Attributes []DocumentAttribute
}
func (*InputWebDocument) CRC ¶
func (*InputWebDocument) CRC() uint32
type InputWebFileGeoPointLocation ¶
type InputWebFileGeoPointLocation struct {
GeoPoint InputGeoPoint
AccessHash int64
W int32
H int32
Zoom int32
Scale int32
}
func (*InputWebFileGeoPointLocation) CRC ¶
func (*InputWebFileGeoPointLocation) CRC() uint32
func (*InputWebFileGeoPointLocation) ImplementsInputWebFileLocation ¶
func (*InputWebFileGeoPointLocation) ImplementsInputWebFileLocation()
type InputWebFileLocation ¶
type InputWebFileLocationObj ¶
func (*InputWebFileLocationObj) CRC ¶
func (*InputWebFileLocationObj) CRC() uint32
func (*InputWebFileLocationObj) ImplementsInputWebFileLocation ¶
func (*InputWebFileLocationObj) ImplementsInputWebFileLocation()
type Invoice ¶
type Invoice struct {
Test bool `tl:"flag:0,encoded_in_bitflags"`
NameRequested bool `tl:"flag:1,encoded_in_bitflags"`
PhoneRequested bool `tl:"flag:2,encoded_in_bitflags"`
EmailRequested bool `tl:"flag:3,encoded_in_bitflags"`
ShippingAddressRequested bool `tl:"flag:4,encoded_in_bitflags"`
Flexible bool `tl:"flag:5,encoded_in_bitflags"`
PhoneToProvider bool `tl:"flag:6,encoded_in_bitflags"`
EmailToProvider bool `tl:"flag:7,encoded_in_bitflags"`
Currency string
Prices []*LabeledPrice
}
type InvokeWithLayerParams ¶
func (*InvokeWithLayerParams) CRC ¶
func (*InvokeWithLayerParams) CRC() uint32
type InvokeWithTakeoutParams ¶
func (*InvokeWithTakeoutParams) CRC ¶
func (*InvokeWithTakeoutParams) CRC() uint32
type IpPortObj ¶
func (*IpPortObj) ImplementsIpPort ¶
func (*IpPortObj) ImplementsIpPort()
type IpPortSecret ¶
func (*IpPortSecret) CRC ¶
func (*IpPortSecret) CRC() uint32
func (*IpPortSecret) ImplementsIpPort ¶
func (*IpPortSecret) ImplementsIpPort()
type JsonArray ¶
type JsonArray struct {
Value []JsonValue
}
func (*JsonArray) ImplementsJsonValue ¶
func (*JsonArray) ImplementsJsonValue()
type JsonBool ¶
type JsonBool struct {
Value bool
}
func (*JsonBool) ImplementsJsonValue ¶
func (*JsonBool) ImplementsJsonValue()
type JsonNull ¶
type JsonNull struct{}
func (*JsonNull) ImplementsJsonValue ¶
func (*JsonNull) ImplementsJsonValue()
type JsonNumber ¶
type JsonNumber struct {
Value float64
}
func (*JsonNumber) CRC ¶
func (*JsonNumber) CRC() uint32
func (*JsonNumber) ImplementsJsonValue ¶
func (*JsonNumber) ImplementsJsonValue()
type JsonObject ¶
type JsonObject struct {
Value []*JsonObjectValue
}
func (*JsonObject) CRC ¶
func (*JsonObject) CRC() uint32
func (*JsonObject) ImplementsJsonValue ¶
func (*JsonObject) ImplementsJsonValue()
type JsonObjectValue ¶
func (*JsonObjectValue) CRC ¶
func (*JsonObjectValue) CRC() uint32
type JsonString ¶
type JsonString struct {
Value string
}
func (*JsonString) CRC ¶
func (*JsonString) CRC() uint32
func (*JsonString) ImplementsJsonValue ¶
func (*JsonString) ImplementsJsonValue()
type KeyboardButton ¶
type KeyboardButtonBuy ¶
type KeyboardButtonBuy struct {
Text string
}
func (*KeyboardButtonBuy) CRC ¶
func (*KeyboardButtonBuy) CRC() uint32
func (*KeyboardButtonBuy) ImplementsKeyboardButton ¶
func (*KeyboardButtonBuy) ImplementsKeyboardButton()
type KeyboardButtonCallback ¶
type KeyboardButtonCallback struct {
RequiresPassword bool `tl:"flag:0,encoded_in_bitflags"`
Text string
Data []byte
}
func (*KeyboardButtonCallback) CRC ¶
func (*KeyboardButtonCallback) CRC() uint32
func (*KeyboardButtonCallback) FlagIndex ¶
func (*KeyboardButtonCallback) FlagIndex() int
func (*KeyboardButtonCallback) ImplementsKeyboardButton ¶
func (*KeyboardButtonCallback) ImplementsKeyboardButton()
type KeyboardButtonGame ¶
type KeyboardButtonGame struct {
Text string
}
func (*KeyboardButtonGame) CRC ¶
func (*KeyboardButtonGame) CRC() uint32
func (*KeyboardButtonGame) ImplementsKeyboardButton ¶
func (*KeyboardButtonGame) ImplementsKeyboardButton()
type KeyboardButtonObj ¶
type KeyboardButtonObj struct {
Text string
}
func (*KeyboardButtonObj) CRC ¶
func (*KeyboardButtonObj) CRC() uint32
func (*KeyboardButtonObj) ImplementsKeyboardButton ¶
func (*KeyboardButtonObj) ImplementsKeyboardButton()
type KeyboardButtonRequestGeoLocation ¶
type KeyboardButtonRequestGeoLocation struct {
Text string
}
func (*KeyboardButtonRequestGeoLocation) CRC ¶
func (*KeyboardButtonRequestGeoLocation) CRC() uint32
func (*KeyboardButtonRequestGeoLocation) ImplementsKeyboardButton ¶
func (*KeyboardButtonRequestGeoLocation) ImplementsKeyboardButton()
type KeyboardButtonRequestPhone ¶
type KeyboardButtonRequestPhone struct {
Text string
}
func (*KeyboardButtonRequestPhone) CRC ¶
func (*KeyboardButtonRequestPhone) CRC() uint32
func (*KeyboardButtonRequestPhone) ImplementsKeyboardButton ¶
func (*KeyboardButtonRequestPhone) ImplementsKeyboardButton()
type KeyboardButtonRequestPoll ¶
func (*KeyboardButtonRequestPoll) CRC ¶
func (*KeyboardButtonRequestPoll) CRC() uint32
func (*KeyboardButtonRequestPoll) FlagIndex ¶
func (*KeyboardButtonRequestPoll) FlagIndex() int
func (*KeyboardButtonRequestPoll) ImplementsKeyboardButton ¶
func (*KeyboardButtonRequestPoll) ImplementsKeyboardButton()
type KeyboardButtonRow ¶
type KeyboardButtonRow struct {
Buttons []KeyboardButton
}
func (*KeyboardButtonRow) CRC ¶
func (*KeyboardButtonRow) CRC() uint32
type KeyboardButtonSwitchInline ¶
type KeyboardButtonSwitchInline struct {
SamePeer bool `tl:"flag:0,encoded_in_bitflags"`
Text string
Query string
}
func (*KeyboardButtonSwitchInline) CRC ¶
func (*KeyboardButtonSwitchInline) CRC() uint32
func (*KeyboardButtonSwitchInline) FlagIndex ¶
func (*KeyboardButtonSwitchInline) FlagIndex() int
func (*KeyboardButtonSwitchInline) ImplementsKeyboardButton ¶
func (*KeyboardButtonSwitchInline) ImplementsKeyboardButton()
type KeyboardButtonURL ¶
func (*KeyboardButtonURL) CRC ¶
func (*KeyboardButtonURL) CRC() uint32
func (*KeyboardButtonURL) ImplementsKeyboardButton ¶
func (*KeyboardButtonURL) ImplementsKeyboardButton()
type KeyboardButtonURLAuth ¶
type KeyboardButtonURLAuth struct {
Text string
FwdText string `tl:"flag:0"`
URL string
ButtonID int32
}
func (*KeyboardButtonURLAuth) CRC ¶
func (*KeyboardButtonURLAuth) CRC() uint32
func (*KeyboardButtonURLAuth) FlagIndex ¶
func (*KeyboardButtonURLAuth) FlagIndex() int
func (*KeyboardButtonURLAuth) ImplementsKeyboardButton ¶
func (*KeyboardButtonURLAuth) ImplementsKeyboardButton()
type LabeledPrice ¶
func (*LabeledPrice) CRC ¶
func (*LabeledPrice) CRC() uint32
type LangPackDifference ¶
type LangPackDifference struct {
LangCode string
FromVersion int32
Version int32
Strings []LangPackString
}
func (*LangPackDifference) CRC ¶
func (*LangPackDifference) CRC() uint32
type LangPackLanguage ¶
type LangPackLanguage struct {
Official bool `tl:"flag:0,encoded_in_bitflags"`
Rtl bool `tl:"flag:2,encoded_in_bitflags"`
Beta bool `tl:"flag:3,encoded_in_bitflags"`
Name string
NativeName string
LangCode string
BaseLangCode string `tl:"flag:1"`
PluralCode string
StringsCount int32
TranslatedCount int32
TranslationsURL string
}
func (*LangPackLanguage) CRC ¶
func (*LangPackLanguage) CRC() uint32
func (*LangPackLanguage) FlagIndex ¶
func (*LangPackLanguage) FlagIndex() int
type LangPackString ¶
type LangPackStringDeleted ¶
type LangPackStringDeleted struct {
Key string
}
func (*LangPackStringDeleted) CRC ¶
func (*LangPackStringDeleted) CRC() uint32
func (*LangPackStringDeleted) ImplementsLangPackString ¶
func (*LangPackStringDeleted) ImplementsLangPackString()
type LangPackStringObj ¶
func (*LangPackStringObj) CRC ¶
func (*LangPackStringObj) CRC() uint32
func (*LangPackStringObj) ImplementsLangPackString ¶
func (*LangPackStringObj) ImplementsLangPackString()
type LangPackStringPluralized ¶
type LangPackStringPluralized struct {
Key string
ZeroValue string `tl:"flag:0"`
OneValue string `tl:"flag:1"`
TwoValue string `tl:"flag:2"`
FewValue string `tl:"flag:3"`
ManyValue string `tl:"flag:4"`
OtherValue string
}
func (*LangPackStringPluralized) CRC ¶
func (*LangPackStringPluralized) CRC() uint32
func (*LangPackStringPluralized) FlagIndex ¶
func (*LangPackStringPluralized) FlagIndex() int
func (*LangPackStringPluralized) ImplementsLangPackString ¶
func (*LangPackStringPluralized) ImplementsLangPackString()
type LangpackGetDifferenceParams ¶
type LangpackGetDifferenceParams struct {
LangPack string // Language pack to use
LangCode string // Code for the language used on the client, ISO 639-1 standard
FromVersion int32
}
Get the participants of a channel
func (*LangpackGetDifferenceParams) CRC ¶
func (*LangpackGetDifferenceParams) CRC() uint32
type LangpackGetLangPackParams ¶
type LangpackGetLangPackParams struct {
LangPack string // Language pack to use
LangCode string // Code for the language used on the client, ISO 639-1 standard
}
Get the participants of a channel
func (*LangpackGetLangPackParams) CRC ¶
func (*LangpackGetLangPackParams) CRC() uint32
type LangpackGetLanguageParams ¶
type LangpackGetLanguageParams struct {
LangPack string // Language pack to use
LangCode string // Code for the language used on the client, ISO 639-1 standard
}
Get the participants of a channel
func (*LangpackGetLanguageParams) CRC ¶
func (*LangpackGetLanguageParams) CRC() uint32
type LangpackGetLanguagesParams ¶
type LangpackGetLanguagesParams struct {
LangPack string // Language pack to use
}
Get the participants of a channel
func (*LangpackGetLanguagesParams) CRC ¶
func (*LangpackGetLanguagesParams) CRC() uint32
type LangpackGetStringsParams ¶
type LangpackGetStringsParams struct {
LangPack string // Language pack to use
LangCode string // Code for the language used on the client, ISO 639-1 standard
Keys []string
}
Get the participants of a channel
func (*LangpackGetStringsParams) CRC ¶
func (*LangpackGetStringsParams) CRC() uint32
type MaskCoords ¶
func (*MaskCoords) CRC ¶
func (*MaskCoords) CRC() uint32
type MessageAction ¶
type MessageActionBotAllowed ¶
type MessageActionBotAllowed struct {
Domain string
}
func (*MessageActionBotAllowed) CRC ¶
func (*MessageActionBotAllowed) CRC() uint32
func (*MessageActionBotAllowed) ImplementsMessageAction ¶
func (*MessageActionBotAllowed) ImplementsMessageAction()
type MessageActionChannelCreate ¶
type MessageActionChannelCreate struct {
Title string
}
func (*MessageActionChannelCreate) CRC ¶
func (*MessageActionChannelCreate) CRC() uint32
func (*MessageActionChannelCreate) ImplementsMessageAction ¶
func (*MessageActionChannelCreate) ImplementsMessageAction()
type MessageActionChannelMigrateFrom ¶
func (*MessageActionChannelMigrateFrom) CRC ¶
func (*MessageActionChannelMigrateFrom) CRC() uint32
func (*MessageActionChannelMigrateFrom) ImplementsMessageAction ¶
func (*MessageActionChannelMigrateFrom) ImplementsMessageAction()
type MessageActionChatAddUser ¶
type MessageActionChatAddUser struct {
Users []int32
}
func (*MessageActionChatAddUser) CRC ¶
func (*MessageActionChatAddUser) CRC() uint32
func (*MessageActionChatAddUser) ImplementsMessageAction ¶
func (*MessageActionChatAddUser) ImplementsMessageAction()
type MessageActionChatCreate ¶
func (*MessageActionChatCreate) CRC ¶
func (*MessageActionChatCreate) CRC() uint32
func (*MessageActionChatCreate) ImplementsMessageAction ¶
func (*MessageActionChatCreate) ImplementsMessageAction()
type MessageActionChatDeletePhoto ¶
type MessageActionChatDeletePhoto struct{}
func (*MessageActionChatDeletePhoto) CRC ¶
func (*MessageActionChatDeletePhoto) CRC() uint32
func (*MessageActionChatDeletePhoto) ImplementsMessageAction ¶
func (*MessageActionChatDeletePhoto) ImplementsMessageAction()
type MessageActionChatDeleteUser ¶
type MessageActionChatDeleteUser struct {
UserID int32
}
func (*MessageActionChatDeleteUser) CRC ¶
func (*MessageActionChatDeleteUser) CRC() uint32
func (*MessageActionChatDeleteUser) ImplementsMessageAction ¶
func (*MessageActionChatDeleteUser) ImplementsMessageAction()
type MessageActionChatEditPhoto ¶
type MessageActionChatEditPhoto struct {
Photo Photo
}
func (*MessageActionChatEditPhoto) CRC ¶
func (*MessageActionChatEditPhoto) CRC() uint32
func (*MessageActionChatEditPhoto) ImplementsMessageAction ¶
func (*MessageActionChatEditPhoto) ImplementsMessageAction()
type MessageActionChatEditTitle ¶
type MessageActionChatEditTitle struct {
Title string
}
func (*MessageActionChatEditTitle) CRC ¶
func (*MessageActionChatEditTitle) CRC() uint32
func (*MessageActionChatEditTitle) ImplementsMessageAction ¶
func (*MessageActionChatEditTitle) ImplementsMessageAction()
type MessageActionChatJoinedByLink ¶
type MessageActionChatJoinedByLink struct {
InviterID int32
}
func (*MessageActionChatJoinedByLink) CRC ¶
func (*MessageActionChatJoinedByLink) CRC() uint32
func (*MessageActionChatJoinedByLink) ImplementsMessageAction ¶
func (*MessageActionChatJoinedByLink) ImplementsMessageAction()
type MessageActionChatMigrateTo ¶
type MessageActionChatMigrateTo struct {
ChannelID int32
}
func (*MessageActionChatMigrateTo) CRC ¶
func (*MessageActionChatMigrateTo) CRC() uint32
func (*MessageActionChatMigrateTo) ImplementsMessageAction ¶
func (*MessageActionChatMigrateTo) ImplementsMessageAction()
type MessageActionContactSignUp ¶
type MessageActionContactSignUp struct{}
func (*MessageActionContactSignUp) CRC ¶
func (*MessageActionContactSignUp) CRC() uint32
func (*MessageActionContactSignUp) ImplementsMessageAction ¶
func (*MessageActionContactSignUp) ImplementsMessageAction()
type MessageActionCustomAction ¶
type MessageActionCustomAction struct {
Message string
}
func (*MessageActionCustomAction) CRC ¶
func (*MessageActionCustomAction) CRC() uint32
func (*MessageActionCustomAction) ImplementsMessageAction ¶
func (*MessageActionCustomAction) ImplementsMessageAction()
type MessageActionEmpty ¶
type MessageActionEmpty struct{}
func (*MessageActionEmpty) CRC ¶
func (*MessageActionEmpty) CRC() uint32
func (*MessageActionEmpty) ImplementsMessageAction ¶
func (*MessageActionEmpty) ImplementsMessageAction()
type MessageActionGameScore ¶
func (*MessageActionGameScore) CRC ¶
func (*MessageActionGameScore) CRC() uint32
func (*MessageActionGameScore) ImplementsMessageAction ¶
func (*MessageActionGameScore) ImplementsMessageAction()
type MessageActionGeoProximityReached ¶
func (*MessageActionGeoProximityReached) CRC ¶
func (*MessageActionGeoProximityReached) CRC() uint32
func (*MessageActionGeoProximityReached) ImplementsMessageAction ¶
func (*MessageActionGeoProximityReached) ImplementsMessageAction()
type MessageActionHistoryClear ¶
type MessageActionHistoryClear struct{}
func (*MessageActionHistoryClear) CRC ¶
func (*MessageActionHistoryClear) CRC() uint32
func (*MessageActionHistoryClear) ImplementsMessageAction ¶
func (*MessageActionHistoryClear) ImplementsMessageAction()
type MessageActionPaymentSent ¶
func (*MessageActionPaymentSent) CRC ¶
func (*MessageActionPaymentSent) CRC() uint32
func (*MessageActionPaymentSent) ImplementsMessageAction ¶
func (*MessageActionPaymentSent) ImplementsMessageAction()
type MessageActionPaymentSentMe ¶
type MessageActionPaymentSentMe struct {
Currency string
TotalAmount int64
Payload []byte
Info *PaymentRequestedInfo `tl:"flag:0"`
ShippingOptionID string `tl:"flag:1"`
Charge *PaymentCharge
}
func (*MessageActionPaymentSentMe) CRC ¶
func (*MessageActionPaymentSentMe) CRC() uint32
func (*MessageActionPaymentSentMe) FlagIndex ¶
func (*MessageActionPaymentSentMe) FlagIndex() int
func (*MessageActionPaymentSentMe) ImplementsMessageAction ¶
func (*MessageActionPaymentSentMe) ImplementsMessageAction()
type MessageActionPhoneCall ¶
type MessageActionPhoneCall struct {
Video bool `tl:"flag:2,encoded_in_bitflags"`
CallID int64
Reason PhoneCallDiscardReason `tl:"flag:0"`
Duration int32 `tl:"flag:1"`
}
func (*MessageActionPhoneCall) CRC ¶
func (*MessageActionPhoneCall) CRC() uint32
func (*MessageActionPhoneCall) FlagIndex ¶
func (*MessageActionPhoneCall) FlagIndex() int
func (*MessageActionPhoneCall) ImplementsMessageAction ¶
func (*MessageActionPhoneCall) ImplementsMessageAction()
type MessageActionPinMessage ¶
type MessageActionPinMessage struct{}
func (*MessageActionPinMessage) CRC ¶
func (*MessageActionPinMessage) CRC() uint32
func (*MessageActionPinMessage) ImplementsMessageAction ¶
func (*MessageActionPinMessage) ImplementsMessageAction()
type MessageActionScreenshotTaken ¶
type MessageActionScreenshotTaken struct{}
func (*MessageActionScreenshotTaken) CRC ¶
func (*MessageActionScreenshotTaken) CRC() uint32
func (*MessageActionScreenshotTaken) ImplementsMessageAction ¶
func (*MessageActionScreenshotTaken) ImplementsMessageAction()
type MessageActionSecureValuesSent ¶
type MessageActionSecureValuesSent struct {
Types []SecureValueType
}
func (*MessageActionSecureValuesSent) CRC ¶
func (*MessageActionSecureValuesSent) CRC() uint32
func (*MessageActionSecureValuesSent) ImplementsMessageAction ¶
func (*MessageActionSecureValuesSent) ImplementsMessageAction()
type MessageActionSecureValuesSentMe ¶
type MessageActionSecureValuesSentMe struct {
Values []*SecureValue
Credentials *SecureCredentialsEncrypted
}
func (*MessageActionSecureValuesSentMe) CRC ¶
func (*MessageActionSecureValuesSentMe) CRC() uint32
func (*MessageActionSecureValuesSentMe) ImplementsMessageAction ¶
func (*MessageActionSecureValuesSentMe) ImplementsMessageAction()
type MessageEmpty ¶
type MessageEmpty struct {
ID int32
}
func (*MessageEmpty) CRC ¶
func (*MessageEmpty) CRC() uint32
func (*MessageEmpty) ImplementsMessage ¶
func (*MessageEmpty) ImplementsMessage()
type MessageEntity ¶
type MessageEntityBankCard ¶
func (*MessageEntityBankCard) CRC ¶
func (*MessageEntityBankCard) CRC() uint32
func (*MessageEntityBankCard) ImplementsMessageEntity ¶
func (*MessageEntityBankCard) ImplementsMessageEntity()
type MessageEntityBlockquote ¶
func (*MessageEntityBlockquote) CRC ¶
func (*MessageEntityBlockquote) CRC() uint32
func (*MessageEntityBlockquote) ImplementsMessageEntity ¶
func (*MessageEntityBlockquote) ImplementsMessageEntity()
type MessageEntityBold ¶
func (*MessageEntityBold) CRC ¶
func (*MessageEntityBold) CRC() uint32
func (*MessageEntityBold) ImplementsMessageEntity ¶
func (*MessageEntityBold) ImplementsMessageEntity()
type MessageEntityBotCommand ¶
func (*MessageEntityBotCommand) CRC ¶
func (*MessageEntityBotCommand) CRC() uint32
func (*MessageEntityBotCommand) ImplementsMessageEntity ¶
func (*MessageEntityBotCommand) ImplementsMessageEntity()
type MessageEntityCashtag ¶
func (*MessageEntityCashtag) CRC ¶
func (*MessageEntityCashtag) CRC() uint32
func (*MessageEntityCashtag) ImplementsMessageEntity ¶
func (*MessageEntityCashtag) ImplementsMessageEntity()
type MessageEntityCode ¶
func (*MessageEntityCode) CRC ¶
func (*MessageEntityCode) CRC() uint32
func (*MessageEntityCode) ImplementsMessageEntity ¶
func (*MessageEntityCode) ImplementsMessageEntity()
type MessageEntityEmail ¶
func (*MessageEntityEmail) CRC ¶
func (*MessageEntityEmail) CRC() uint32
func (*MessageEntityEmail) ImplementsMessageEntity ¶
func (*MessageEntityEmail) ImplementsMessageEntity()
type MessageEntityHashtag ¶
func (*MessageEntityHashtag) CRC ¶
func (*MessageEntityHashtag) CRC() uint32
func (*MessageEntityHashtag) ImplementsMessageEntity ¶
func (*MessageEntityHashtag) ImplementsMessageEntity()
type MessageEntityItalic ¶
func (*MessageEntityItalic) CRC ¶
func (*MessageEntityItalic) CRC() uint32
func (*MessageEntityItalic) ImplementsMessageEntity ¶
func (*MessageEntityItalic) ImplementsMessageEntity()
type MessageEntityMention ¶
func (*MessageEntityMention) CRC ¶
func (*MessageEntityMention) CRC() uint32
func (*MessageEntityMention) ImplementsMessageEntity ¶
func (*MessageEntityMention) ImplementsMessageEntity()
type MessageEntityMentionName ¶
func (*MessageEntityMentionName) CRC ¶
func (*MessageEntityMentionName) CRC() uint32
func (*MessageEntityMentionName) ImplementsMessageEntity ¶
func (*MessageEntityMentionName) ImplementsMessageEntity()
type MessageEntityPhone ¶
func (*MessageEntityPhone) CRC ¶
func (*MessageEntityPhone) CRC() uint32
func (*MessageEntityPhone) ImplementsMessageEntity ¶
func (*MessageEntityPhone) ImplementsMessageEntity()
type MessageEntityPre ¶
func (*MessageEntityPre) CRC ¶
func (*MessageEntityPre) CRC() uint32
func (*MessageEntityPre) ImplementsMessageEntity ¶
func (*MessageEntityPre) ImplementsMessageEntity()
type MessageEntityStrike ¶
func (*MessageEntityStrike) CRC ¶
func (*MessageEntityStrike) CRC() uint32
func (*MessageEntityStrike) ImplementsMessageEntity ¶
func (*MessageEntityStrike) ImplementsMessageEntity()
type MessageEntityTextURL ¶
func (*MessageEntityTextURL) CRC ¶
func (*MessageEntityTextURL) CRC() uint32
func (*MessageEntityTextURL) ImplementsMessageEntity ¶
func (*MessageEntityTextURL) ImplementsMessageEntity()
type MessageEntityURL ¶
func (*MessageEntityURL) CRC ¶
func (*MessageEntityURL) CRC() uint32
func (*MessageEntityURL) ImplementsMessageEntity ¶
func (*MessageEntityURL) ImplementsMessageEntity()
type MessageEntityUnderline ¶
func (*MessageEntityUnderline) CRC ¶
func (*MessageEntityUnderline) CRC() uint32
func (*MessageEntityUnderline) ImplementsMessageEntity ¶
func (*MessageEntityUnderline) ImplementsMessageEntity()
type MessageEntityUnknown ¶
func (*MessageEntityUnknown) CRC ¶
func (*MessageEntityUnknown) CRC() uint32
func (*MessageEntityUnknown) ImplementsMessageEntity ¶
func (*MessageEntityUnknown) ImplementsMessageEntity()
type MessageFwdHeader ¶
type MessageFwdHeader struct {
FromID Peer `tl:"flag:0"`
FromName string `tl:"flag:5"`
Date int32
ChannelPost int32 `tl:"flag:2"`
PostAuthor string `tl:"flag:3"`
SavedFromPeer Peer `tl:"flag:4"`
SavedFromMsgID int32 `tl:"flag:4"`
PsaType string `tl:"flag:6"`
}
func (*MessageFwdHeader) CRC ¶
func (*MessageFwdHeader) CRC() uint32
func (*MessageFwdHeader) FlagIndex ¶
func (*MessageFwdHeader) FlagIndex() int
type MessageInteractionCounters ¶
func (*MessageInteractionCounters) CRC ¶
func (*MessageInteractionCounters) CRC() uint32
type MessageMedia ¶
type MessageMediaContact ¶
type MessageMediaContact struct {
PhoneNumber string
FirstName string
LastName string
Vcard string
UserID int32
}
func (*MessageMediaContact) CRC ¶
func (*MessageMediaContact) CRC() uint32
func (*MessageMediaContact) ImplementsMessageMedia ¶
func (*MessageMediaContact) ImplementsMessageMedia()
type MessageMediaDice ¶
func (*MessageMediaDice) CRC ¶
func (*MessageMediaDice) CRC() uint32
func (*MessageMediaDice) ImplementsMessageMedia ¶
func (*MessageMediaDice) ImplementsMessageMedia()
type MessageMediaDocument ¶
func (*MessageMediaDocument) CRC ¶
func (*MessageMediaDocument) CRC() uint32
func (*MessageMediaDocument) FlagIndex ¶
func (*MessageMediaDocument) FlagIndex() int
func (*MessageMediaDocument) ImplementsMessageMedia ¶
func (*MessageMediaDocument) ImplementsMessageMedia()
type MessageMediaEmpty ¶
type MessageMediaEmpty struct{}
func (*MessageMediaEmpty) CRC ¶
func (*MessageMediaEmpty) CRC() uint32
func (*MessageMediaEmpty) ImplementsMessageMedia ¶
func (*MessageMediaEmpty) ImplementsMessageMedia()
type MessageMediaGame ¶
type MessageMediaGame struct {
Game *Game
}
func (*MessageMediaGame) CRC ¶
func (*MessageMediaGame) CRC() uint32
func (*MessageMediaGame) ImplementsMessageMedia ¶
func (*MessageMediaGame) ImplementsMessageMedia()
type MessageMediaGeo ¶
type MessageMediaGeo struct {
Geo GeoPoint
}
func (*MessageMediaGeo) CRC ¶
func (*MessageMediaGeo) CRC() uint32
func (*MessageMediaGeo) ImplementsMessageMedia ¶
func (*MessageMediaGeo) ImplementsMessageMedia()
type MessageMediaGeoLive ¶
type MessageMediaGeoLive struct {
Geo GeoPoint
Heading int32 `tl:"flag:0"`
Period int32
ProximityNotificationRadius int32 `tl:"flag:1"`
}
func (*MessageMediaGeoLive) CRC ¶
func (*MessageMediaGeoLive) CRC() uint32
func (*MessageMediaGeoLive) FlagIndex ¶
func (*MessageMediaGeoLive) FlagIndex() int
func (*MessageMediaGeoLive) ImplementsMessageMedia ¶
func (*MessageMediaGeoLive) ImplementsMessageMedia()
type MessageMediaInvoice ¶
type MessageMediaInvoice struct {
ShippingAddressRequested bool `tl:"flag:1,encoded_in_bitflags"`
Test bool `tl:"flag:3,encoded_in_bitflags"`
Title string
Description string
Photo WebDocument `tl:"flag:0"`
ReceiptMsgID int32 `tl:"flag:2"`
Currency string
TotalAmount int64
StartParam string
}
func (*MessageMediaInvoice) CRC ¶
func (*MessageMediaInvoice) CRC() uint32
func (*MessageMediaInvoice) FlagIndex ¶
func (*MessageMediaInvoice) FlagIndex() int
func (*MessageMediaInvoice) ImplementsMessageMedia ¶
func (*MessageMediaInvoice) ImplementsMessageMedia()
type MessageMediaPhoto ¶
func (*MessageMediaPhoto) CRC ¶
func (*MessageMediaPhoto) CRC() uint32
func (*MessageMediaPhoto) FlagIndex ¶
func (*MessageMediaPhoto) FlagIndex() int
func (*MessageMediaPhoto) ImplementsMessageMedia ¶
func (*MessageMediaPhoto) ImplementsMessageMedia()
type MessageMediaPoll ¶
type MessageMediaPoll struct {
Poll *Poll
Results *PollResults
}
func (*MessageMediaPoll) CRC ¶
func (*MessageMediaPoll) CRC() uint32
func (*MessageMediaPoll) ImplementsMessageMedia ¶
func (*MessageMediaPoll) ImplementsMessageMedia()
type MessageMediaUnsupported ¶
type MessageMediaUnsupported struct{}
func (*MessageMediaUnsupported) CRC ¶
func (*MessageMediaUnsupported) CRC() uint32
func (*MessageMediaUnsupported) ImplementsMessageMedia ¶
func (*MessageMediaUnsupported) ImplementsMessageMedia()
type MessageMediaVenue ¶
type MessageMediaVenue struct {
Geo GeoPoint
Title string
Address string
Provider string
VenueID string
VenueType string
}
func (*MessageMediaVenue) CRC ¶
func (*MessageMediaVenue) CRC() uint32
func (*MessageMediaVenue) ImplementsMessageMedia ¶
func (*MessageMediaVenue) ImplementsMessageMedia()
type MessageMediaWebPage ¶
type MessageMediaWebPage struct {
Webpage WebPage
}
func (*MessageMediaWebPage) CRC ¶
func (*MessageMediaWebPage) CRC() uint32
func (*MessageMediaWebPage) ImplementsMessageMedia ¶
func (*MessageMediaWebPage) ImplementsMessageMedia()
type MessageObj ¶
type MessageObj struct {
Out bool `tl:"flag:1,encoded_in_bitflags"`
Mentioned bool `tl:"flag:4,encoded_in_bitflags"`
MediaUnread bool `tl:"flag:5,encoded_in_bitflags"`
Silent bool `tl:"flag:13,encoded_in_bitflags"`
Post bool `tl:"flag:14,encoded_in_bitflags"`
FromScheduled bool `tl:"flag:18,encoded_in_bitflags"`
Legacy bool `tl:"flag:19,encoded_in_bitflags"`
EditHide bool `tl:"flag:21,encoded_in_bitflags"`
Pinned bool `tl:"flag:24,encoded_in_bitflags"`
ID int32
FromID Peer `tl:"flag:8"`
PeerID Peer
FwdFrom *MessageFwdHeader `tl:"flag:2"`
ViaBotID int32 `tl:"flag:11"`
ReplyTo *MessageReplyHeader `tl:"flag:3"`
Date int32
Message string
Media MessageMedia `tl:"flag:9"`
ReplyMarkup ReplyMarkup `tl:"flag:6"`
Entities []MessageEntity `tl:"flag:7"`
Views int32 `tl:"flag:10"`
Forwards int32 `tl:"flag:10"`
Replies *MessageReplies `tl:"flag:23"`
EditDate int32 `tl:"flag:15"`
PostAuthor string `tl:"flag:16"`
GroupedID int64 `tl:"flag:17"`
RestrictionReason []*RestrictionReason `tl:"flag:22"`
}
func (*MessageObj) CRC ¶
func (*MessageObj) CRC() uint32
func (*MessageObj) FlagIndex ¶
func (*MessageObj) FlagIndex() int
func (*MessageObj) ImplementsMessage ¶
func (*MessageObj) ImplementsMessage()
type MessageRange ¶
func (*MessageRange) CRC ¶
func (*MessageRange) CRC() uint32
type MessageReplies ¶
type MessageReplies struct {
Comments bool `tl:"flag:0,encoded_in_bitflags"`
Replies int32
RepliesPts int32
RecentRepliers []Peer `tl:"flag:1"`
ChannelID int32 `tl:"flag:0"`
MaxID int32 `tl:"flag:2"`
ReadMaxID int32 `tl:"flag:3"`
}
func (*MessageReplies) CRC ¶
func (*MessageReplies) CRC() uint32
func (*MessageReplies) FlagIndex ¶
func (*MessageReplies) FlagIndex() int
type MessageReplyHeader ¶
type MessageReplyHeader struct {
ReplyToMsgID int32
ReplyToPeerID Peer `tl:"flag:0"`
ReplyToTopID int32 `tl:"flag:1"`
}
func (*MessageReplyHeader) CRC ¶
func (*MessageReplyHeader) CRC() uint32
func (*MessageReplyHeader) FlagIndex ¶
func (*MessageReplyHeader) FlagIndex() int
type MessageService ¶
type MessageService struct {
Out bool `tl:"flag:1,encoded_in_bitflags"`
Mentioned bool `tl:"flag:4,encoded_in_bitflags"`
MediaUnread bool `tl:"flag:5,encoded_in_bitflags"`
Silent bool `tl:"flag:13,encoded_in_bitflags"`
Post bool `tl:"flag:14,encoded_in_bitflags"`
Legacy bool `tl:"flag:19,encoded_in_bitflags"`
ID int32
FromID Peer `tl:"flag:8"`
PeerID Peer
ReplyTo *MessageReplyHeader `tl:"flag:3"`
Date int32
Action MessageAction
}
func (*MessageService) CRC ¶
func (*MessageService) CRC() uint32
func (*MessageService) FlagIndex ¶
func (*MessageService) FlagIndex() int
func (*MessageService) ImplementsMessage ¶
func (*MessageService) ImplementsMessage()
type MessageUserVote ¶
type MessageUserVoteInputOption ¶
func (*MessageUserVoteInputOption) CRC ¶
func (*MessageUserVoteInputOption) CRC() uint32
func (*MessageUserVoteInputOption) ImplementsMessageUserVote ¶
func (*MessageUserVoteInputOption) ImplementsMessageUserVote()
type MessageUserVoteMultiple ¶
func (*MessageUserVoteMultiple) CRC ¶
func (*MessageUserVoteMultiple) CRC() uint32
func (*MessageUserVoteMultiple) ImplementsMessageUserVote ¶
func (*MessageUserVoteMultiple) ImplementsMessageUserVote()
type MessageUserVoteObj ¶
func (*MessageUserVoteObj) CRC ¶
func (*MessageUserVoteObj) CRC() uint32
func (*MessageUserVoteObj) ImplementsMessageUserVote ¶
func (*MessageUserVoteObj) ImplementsMessageUserVote()
type MessageViews ¶
type MessageViews struct {
Views int32 `tl:"flag:0"`
Forwards int32 `tl:"flag:1"`
Replies *MessageReplies `tl:"flag:2"`
}
func (*MessageViews) CRC ¶
func (*MessageViews) CRC() uint32
func (*MessageViews) FlagIndex ¶
func (*MessageViews) FlagIndex() int
type MessagesAcceptEncryptionParams ¶
type MessagesAcceptEncryptionParams struct {
Peer *InputEncryptedChat
GB []byte
KeyFingerprint int64
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesAcceptEncryptionParams) CRC ¶
func (*MessagesAcceptEncryptionParams) CRC() uint32
type MessagesAcceptURLAuthParams ¶
type MessagesAcceptURLAuthParams struct {
WriteAllowed bool `tl:"flag:0,encoded_in_bitflags"`
Peer InputPeer
MsgID int32 // Message identifier on which a current query depends
ButtonID int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesAcceptURLAuthParams) CRC ¶
func (*MessagesAcceptURLAuthParams) CRC() uint32
func (*MessagesAcceptURLAuthParams) FlagIndex ¶
func (*MessagesAcceptURLAuthParams) FlagIndex() int
type MessagesAddChatUserParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesAddChatUserParams) CRC ¶
func (*MessagesAddChatUserParams) CRC() uint32
type MessagesAffectedHistory ¶
func (*MessagesAffectedHistory) CRC ¶
func (*MessagesAffectedHistory) CRC() uint32
type MessagesAffectedMessages ¶
func (*MessagesAffectedMessages) CRC ¶
func (*MessagesAffectedMessages) CRC() uint32
type MessagesAllStickers ¶
type MessagesAllStickersNotModified ¶
type MessagesAllStickersNotModified struct{}
func (*MessagesAllStickersNotModified) CRC ¶
func (*MessagesAllStickersNotModified) CRC() uint32
func (*MessagesAllStickersNotModified) ImplementsMessagesAllStickers ¶
func (*MessagesAllStickersNotModified) ImplementsMessagesAllStickers()
type MessagesAllStickersObj ¶
type MessagesAllStickersObj struct {
Hash int32
Sets []*StickerSet
}
func (*MessagesAllStickersObj) CRC ¶
func (*MessagesAllStickersObj) CRC() uint32
func (*MessagesAllStickersObj) ImplementsMessagesAllStickers ¶
func (*MessagesAllStickersObj) ImplementsMessagesAllStickers()
type MessagesArchivedStickers ¶
type MessagesArchivedStickers struct {
Count int32
Sets []StickerSetCovered
}
func (*MessagesArchivedStickers) CRC ¶
func (*MessagesArchivedStickers) CRC() uint32
type MessagesBotCallbackAnswer ¶
type MessagesBotCallbackAnswer struct {
Alert bool `tl:"flag:1,encoded_in_bitflags"`
HasURL bool `tl:"flag:3,encoded_in_bitflags"`
NativeUi bool `tl:"flag:4,encoded_in_bitflags"`
Message string `tl:"flag:0"`
URL string `tl:"flag:2"`
CacheTime int32
}
func (*MessagesBotCallbackAnswer) CRC ¶
func (*MessagesBotCallbackAnswer) CRC() uint32
func (*MessagesBotCallbackAnswer) FlagIndex ¶
func (*MessagesBotCallbackAnswer) FlagIndex() int
type MessagesBotResults ¶
type MessagesBotResults struct {
Gallery bool `tl:"flag:0,encoded_in_bitflags"`
QueryID int64
NextOffset string `tl:"flag:1"`
SwitchPm *InlineBotSwitchPm `tl:"flag:2"`
Results []BotInlineResult
CacheTime int32
Users []User
}
func (*MessagesBotResults) CRC ¶
func (*MessagesBotResults) CRC() uint32
func (*MessagesBotResults) FlagIndex ¶
func (*MessagesBotResults) FlagIndex() int
type MessagesChannelMessages ¶
type MessagesChannelMessages struct {
Inexact bool `tl:"flag:1,encoded_in_bitflags"`
Pts int32
Count int32
OffsetIDOffset int32 `tl:"flag:2"`
Messages []Message
Chats []Chat
Users []User
}
func (*MessagesChannelMessages) CRC ¶
func (*MessagesChannelMessages) CRC() uint32
func (*MessagesChannelMessages) FlagIndex ¶
func (*MessagesChannelMessages) FlagIndex() int
func (*MessagesChannelMessages) ImplementsMessagesMessages ¶
func (*MessagesChannelMessages) ImplementsMessagesMessages()
type MessagesChatFull ¶
func (*MessagesChatFull) CRC ¶
func (*MessagesChatFull) CRC() uint32
type MessagesChats ¶
type MessagesChatsObj ¶
type MessagesChatsObj struct {
Chats []Chat
}
func (*MessagesChatsObj) CRC ¶
func (*MessagesChatsObj) CRC() uint32
func (*MessagesChatsObj) ImplementsMessagesChats ¶
func (*MessagesChatsObj) ImplementsMessagesChats()
type MessagesChatsSlice ¶
func (*MessagesChatsSlice) CRC ¶
func (*MessagesChatsSlice) CRC() uint32
func (*MessagesChatsSlice) ImplementsMessagesChats ¶
func (*MessagesChatsSlice) ImplementsMessagesChats()
type MessagesCheckChatInviteParams ¶
type MessagesCheckChatInviteParams struct {
Hash string
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesCheckChatInviteParams) CRC ¶
func (*MessagesCheckChatInviteParams) CRC() uint32
type MessagesClearAllDraftsParams ¶
type MessagesClearAllDraftsParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesClearAllDraftsParams) CRC ¶
func (*MessagesClearAllDraftsParams) CRC() uint32
type MessagesClearRecentStickersParams ¶
type MessagesClearRecentStickersParams struct {
Attached bool `tl:"flag:0,encoded_in_bitflags"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesClearRecentStickersParams) CRC ¶
func (*MessagesClearRecentStickersParams) CRC() uint32
func (*MessagesClearRecentStickersParams) FlagIndex ¶
func (*MessagesClearRecentStickersParams) FlagIndex() int
type MessagesCreateChatParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesCreateChatParams) CRC ¶
func (*MessagesCreateChatParams) CRC() uint32
type MessagesDeleteChatUserParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesDeleteChatUserParams) CRC ¶
func (*MessagesDeleteChatUserParams) CRC() uint32
type MessagesDeleteHistoryParams ¶
type MessagesDeleteHistoryParams struct {
JustClear bool `tl:"flag:0,encoded_in_bitflags"`
Revoke bool `tl:"flag:1,encoded_in_bitflags"`
Peer InputPeer
MaxID int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesDeleteHistoryParams) CRC ¶
func (*MessagesDeleteHistoryParams) CRC() uint32
func (*MessagesDeleteHistoryParams) FlagIndex ¶
func (*MessagesDeleteHistoryParams) FlagIndex() int
type MessagesDeleteMessagesParams ¶
type MessagesDeleteMessagesParams struct {
Revoke bool `tl:"flag:0,encoded_in_bitflags"`
ID []int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesDeleteMessagesParams) CRC ¶
func (*MessagesDeleteMessagesParams) CRC() uint32
func (*MessagesDeleteMessagesParams) FlagIndex ¶
func (*MessagesDeleteMessagesParams) FlagIndex() int
type MessagesDeleteScheduledMessagesParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesDeleteScheduledMessagesParams) CRC ¶
func (*MessagesDeleteScheduledMessagesParams) CRC() uint32
type MessagesDhConfig ¶
type MessagesDhConfigNotModified ¶
type MessagesDhConfigNotModified struct {
Random []byte
}
func (*MessagesDhConfigNotModified) CRC ¶
func (*MessagesDhConfigNotModified) CRC() uint32
func (*MessagesDhConfigNotModified) ImplementsMessagesDhConfig ¶
func (*MessagesDhConfigNotModified) ImplementsMessagesDhConfig()
type MessagesDhConfigObj ¶
func (*MessagesDhConfigObj) CRC ¶
func (*MessagesDhConfigObj) CRC() uint32
func (*MessagesDhConfigObj) ImplementsMessagesDhConfig ¶
func (*MessagesDhConfigObj) ImplementsMessagesDhConfig()
type MessagesDialogs ¶
type MessagesDialogsNotModified ¶
type MessagesDialogsNotModified struct {
Count int32
}
func (*MessagesDialogsNotModified) CRC ¶
func (*MessagesDialogsNotModified) CRC() uint32
func (*MessagesDialogsNotModified) ImplementsMessagesDialogs ¶
func (*MessagesDialogsNotModified) ImplementsMessagesDialogs()
type MessagesDialogsObj ¶
func (*MessagesDialogsObj) CRC ¶
func (*MessagesDialogsObj) CRC() uint32
func (*MessagesDialogsObj) ImplementsMessagesDialogs ¶
func (*MessagesDialogsObj) ImplementsMessagesDialogs()
type MessagesDialogsSlice ¶
type MessagesDialogsSlice struct {
Count int32
Dialogs []Dialog
Messages []Message
Chats []Chat
Users []User
}
func (*MessagesDialogsSlice) CRC ¶
func (*MessagesDialogsSlice) CRC() uint32
func (*MessagesDialogsSlice) ImplementsMessagesDialogs ¶
func (*MessagesDialogsSlice) ImplementsMessagesDialogs()
type MessagesDiscardEncryptionParams ¶
type MessagesDiscardEncryptionParams struct {
ChatID int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesDiscardEncryptionParams) CRC ¶
func (*MessagesDiscardEncryptionParams) CRC() uint32
type MessagesDiscussionMessage ¶
type MessagesDiscussionMessage struct {
Messages []Message
MaxID int32 `tl:"flag:0"`
ReadInboxMaxID int32 `tl:"flag:1"`
ReadOutboxMaxID int32 `tl:"flag:2"`
Chats []Chat
Users []User
}
func (*MessagesDiscussionMessage) CRC ¶
func (*MessagesDiscussionMessage) CRC() uint32
func (*MessagesDiscussionMessage) FlagIndex ¶
func (*MessagesDiscussionMessage) FlagIndex() int
type MessagesEditChatAboutParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesEditChatAboutParams) CRC ¶
func (*MessagesEditChatAboutParams) CRC() uint32
type MessagesEditChatAdminParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesEditChatAdminParams) CRC ¶
func (*MessagesEditChatAdminParams) CRC() uint32
type MessagesEditChatDefaultBannedRightsParams ¶
type MessagesEditChatDefaultBannedRightsParams struct {
Peer InputPeer
BannedRights *ChatBannedRights
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesEditChatDefaultBannedRightsParams) CRC ¶
func (*MessagesEditChatDefaultBannedRightsParams) CRC() uint32
type MessagesEditChatPhotoParams ¶
type MessagesEditChatPhotoParams struct {
ChatID int32
Photo InputChatPhoto
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesEditChatPhotoParams) CRC ¶
func (*MessagesEditChatPhotoParams) CRC() uint32
type MessagesEditChatTitleParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesEditChatTitleParams) CRC ¶
func (*MessagesEditChatTitleParams) CRC() uint32
type MessagesEditInlineBotMessageParams ¶
type MessagesEditInlineBotMessageParams struct {
NoWebpage bool `tl:"flag:1,encoded_in_bitflags"`
ID *InputBotInlineMessageID
Message string `tl:"flag:11"`
Media InputMedia `tl:"flag:14"`
ReplyMarkup ReplyMarkup `tl:"flag:2"`
Entities []MessageEntity `tl:"flag:3"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesEditInlineBotMessageParams) CRC ¶
func (*MessagesEditInlineBotMessageParams) CRC() uint32
func (*MessagesEditInlineBotMessageParams) FlagIndex ¶
func (*MessagesEditInlineBotMessageParams) FlagIndex() int
type MessagesEditMessageParams ¶
type MessagesEditMessageParams struct {
NoWebpage bool `tl:"flag:1,encoded_in_bitflags"`
Peer InputPeer
ID int32
Message string `tl:"flag:11"`
Media InputMedia `tl:"flag:14"`
ReplyMarkup ReplyMarkup `tl:"flag:2"`
Entities []MessageEntity `tl:"flag:3"`
ScheduleDate int32 `tl:"flag:15"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesEditMessageParams) CRC ¶
func (*MessagesEditMessageParams) CRC() uint32
func (*MessagesEditMessageParams) FlagIndex ¶
func (*MessagesEditMessageParams) FlagIndex() int
type MessagesExportChatInviteParams ¶
type MessagesExportChatInviteParams struct {
Peer InputPeer
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesExportChatInviteParams) CRC ¶
func (*MessagesExportChatInviteParams) CRC() uint32
type MessagesFaveStickerParams ¶
type MessagesFaveStickerParams struct {
ID InputDocument
Unfave bool
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesFaveStickerParams) CRC ¶
func (*MessagesFaveStickerParams) CRC() uint32
type MessagesFavedStickers ¶
type MessagesFavedStickersNotModified ¶
type MessagesFavedStickersNotModified struct{}
func (*MessagesFavedStickersNotModified) CRC ¶
func (*MessagesFavedStickersNotModified) CRC() uint32
func (*MessagesFavedStickersNotModified) ImplementsMessagesFavedStickers ¶
func (*MessagesFavedStickersNotModified) ImplementsMessagesFavedStickers()
type MessagesFavedStickersObj ¶
type MessagesFavedStickersObj struct {
Hash int32
Packs []*StickerPack
Stickers []Document
}
func (*MessagesFavedStickersObj) CRC ¶
func (*MessagesFavedStickersObj) CRC() uint32
func (*MessagesFavedStickersObj) ImplementsMessagesFavedStickers ¶
func (*MessagesFavedStickersObj) ImplementsMessagesFavedStickers()
type MessagesFeaturedStickersNotModified ¶
type MessagesFeaturedStickersNotModified struct {
Count int32
}
func (*MessagesFeaturedStickersNotModified) CRC ¶
func (*MessagesFeaturedStickersNotModified) CRC() uint32
func (*MessagesFeaturedStickersNotModified) ImplementsMessagesFeaturedStickers ¶
func (*MessagesFeaturedStickersNotModified) ImplementsMessagesFeaturedStickers()
type MessagesFeaturedStickersObj ¶
type MessagesFeaturedStickersObj struct {
Hash int32
Count int32
Sets []StickerSetCovered
Unread []int64
}
func (*MessagesFeaturedStickersObj) CRC ¶
func (*MessagesFeaturedStickersObj) CRC() uint32
func (*MessagesFeaturedStickersObj) ImplementsMessagesFeaturedStickers ¶
func (*MessagesFeaturedStickersObj) ImplementsMessagesFeaturedStickers()
type MessagesFilter ¶
type MessagesForwardMessagesParams ¶
type MessagesForwardMessagesParams struct {
Silent bool `tl:"flag:5,encoded_in_bitflags"`
Background bool `tl:"flag:6,encoded_in_bitflags"`
WithMyScore bool `tl:"flag:8,encoded_in_bitflags"`
FromPeer InputPeer
ID []int32
RandomID []int64
ToPeer InputPeer
ScheduleDate int32 `tl:"flag:10"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesForwardMessagesParams) CRC ¶
func (*MessagesForwardMessagesParams) CRC() uint32
func (*MessagesForwardMessagesParams) FlagIndex ¶
func (*MessagesForwardMessagesParams) FlagIndex() int
type MessagesFoundStickerSetsNotModified ¶
type MessagesFoundStickerSetsNotModified struct{}
func (*MessagesFoundStickerSetsNotModified) CRC ¶
func (*MessagesFoundStickerSetsNotModified) CRC() uint32
func (*MessagesFoundStickerSetsNotModified) ImplementsMessagesFoundStickerSets ¶
func (*MessagesFoundStickerSetsNotModified) ImplementsMessagesFoundStickerSets()
type MessagesFoundStickerSetsObj ¶
type MessagesFoundStickerSetsObj struct {
Hash int32
Sets []StickerSetCovered
}
func (*MessagesFoundStickerSetsObj) CRC ¶
func (*MessagesFoundStickerSetsObj) CRC() uint32
func (*MessagesFoundStickerSetsObj) ImplementsMessagesFoundStickerSets ¶
func (*MessagesFoundStickerSetsObj) ImplementsMessagesFoundStickerSets()
type MessagesGetAllChatsParams ¶
type MessagesGetAllChatsParams struct {
ExceptIds []int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetAllChatsParams) CRC ¶
func (*MessagesGetAllChatsParams) CRC() uint32
type MessagesGetAllDraftsParams ¶
type MessagesGetAllDraftsParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetAllDraftsParams) CRC ¶
func (*MessagesGetAllDraftsParams) CRC() uint32
type MessagesGetAllStickersParams ¶
type MessagesGetAllStickersParams struct {
Hash int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetAllStickersParams) CRC ¶
func (*MessagesGetAllStickersParams) CRC() uint32
type MessagesGetArchivedStickersParams ¶
type MessagesGetArchivedStickersParams struct {
Masks bool `tl:"flag:0,encoded_in_bitflags"`
OffsetID int64
Limit int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetArchivedStickersParams) CRC ¶
func (*MessagesGetArchivedStickersParams) CRC() uint32
func (*MessagesGetArchivedStickersParams) FlagIndex ¶
func (*MessagesGetArchivedStickersParams) FlagIndex() int
type MessagesGetAttachedStickersParams ¶
type MessagesGetAttachedStickersParams struct {
Media InputStickeredMedia
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetAttachedStickersParams) CRC ¶
func (*MessagesGetAttachedStickersParams) CRC() uint32
type MessagesGetBotCallbackAnswerParams ¶
type MessagesGetBotCallbackAnswerParams struct {
Game bool `tl:"flag:1,encoded_in_bitflags"`
Peer InputPeer
MsgID int32 // Message identifier on which a current query depends
Data []byte `tl:"flag:0"`
Password InputCheckPasswordSRP `tl:"flag:2"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetBotCallbackAnswerParams) CRC ¶
func (*MessagesGetBotCallbackAnswerParams) CRC() uint32
func (*MessagesGetBotCallbackAnswerParams) FlagIndex ¶
func (*MessagesGetBotCallbackAnswerParams) FlagIndex() int
type MessagesGetChatsParams ¶
type MessagesGetChatsParams struct {
ID []int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetChatsParams) CRC ¶
func (*MessagesGetChatsParams) CRC() uint32
type MessagesGetCommonChatsParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetCommonChatsParams) CRC ¶
func (*MessagesGetCommonChatsParams) CRC() uint32
type MessagesGetDhConfigParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetDhConfigParams) CRC ¶
func (*MessagesGetDhConfigParams) CRC() uint32
type MessagesGetDialogFiltersParams ¶
type MessagesGetDialogFiltersParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetDialogFiltersParams) CRC ¶
func (*MessagesGetDialogFiltersParams) CRC() uint32
type MessagesGetDialogUnreadMarksParams ¶
type MessagesGetDialogUnreadMarksParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetDialogUnreadMarksParams) CRC ¶
func (*MessagesGetDialogUnreadMarksParams) CRC() uint32
type MessagesGetDialogsParams ¶
type MessagesGetDialogsParams struct {
ExcludePinned bool `tl:"flag:0,encoded_in_bitflags"`
FolderID int32 `tl:"flag:1"`
OffsetDate int32
OffsetID int32
OffsetPeer InputPeer
Limit int32
Hash int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetDialogsParams) CRC ¶
func (*MessagesGetDialogsParams) CRC() uint32
func (*MessagesGetDialogsParams) FlagIndex ¶
func (*MessagesGetDialogsParams) FlagIndex() int
type MessagesGetDiscussionMessageParams ¶
type MessagesGetDiscussionMessageParams struct {
Peer InputPeer
MsgID int32 // Message identifier on which a current query depends
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetDiscussionMessageParams) CRC ¶
func (*MessagesGetDiscussionMessageParams) CRC() uint32
type MessagesGetDocumentByHashParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetDocumentByHashParams) CRC ¶
func (*MessagesGetDocumentByHashParams) CRC() uint32
type MessagesGetEmojiKeywordsDifferenceParams ¶
type MessagesGetEmojiKeywordsDifferenceParams struct {
LangCode string // Code for the language used on the client, ISO 639-1 standard
FromVersion int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetEmojiKeywordsDifferenceParams) CRC ¶
func (*MessagesGetEmojiKeywordsDifferenceParams) CRC() uint32
type MessagesGetEmojiKeywordsLanguagesParams ¶
type MessagesGetEmojiKeywordsLanguagesParams struct {
LangCodes []string
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetEmojiKeywordsLanguagesParams) CRC ¶
func (*MessagesGetEmojiKeywordsLanguagesParams) CRC() uint32
type MessagesGetEmojiKeywordsParams ¶
type MessagesGetEmojiKeywordsParams struct {
LangCode string // Code for the language used on the client, ISO 639-1 standard
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetEmojiKeywordsParams) CRC ¶
func (*MessagesGetEmojiKeywordsParams) CRC() uint32
type MessagesGetEmojiURLParams ¶
type MessagesGetEmojiURLParams struct {
LangCode string // Code for the language used on the client, ISO 639-1 standard
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetEmojiURLParams) CRC ¶
func (*MessagesGetEmojiURLParams) CRC() uint32
type MessagesGetFavedStickersParams ¶
type MessagesGetFavedStickersParams struct {
Hash int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetFavedStickersParams) CRC ¶
func (*MessagesGetFavedStickersParams) CRC() uint32
type MessagesGetFeaturedStickersParams ¶
type MessagesGetFeaturedStickersParams struct {
Hash int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetFeaturedStickersParams) CRC ¶
func (*MessagesGetFeaturedStickersParams) CRC() uint32
type MessagesGetFullChatParams ¶
type MessagesGetFullChatParams struct {
ChatID int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetFullChatParams) CRC ¶
func (*MessagesGetFullChatParams) CRC() uint32
type MessagesGetGameHighScoresParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetGameHighScoresParams) CRC ¶
func (*MessagesGetGameHighScoresParams) CRC() uint32
type MessagesGetHistoryParams ¶
type MessagesGetHistoryParams struct {
Peer InputPeer
OffsetID int32
OffsetDate int32
AddOffset int32
Limit int32
MaxID int32
MinID int32
Hash int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetHistoryParams) CRC ¶
func (*MessagesGetHistoryParams) CRC() uint32
type MessagesGetInlineBotResultsParams ¶
type MessagesGetInlineBotResultsParams struct {
Bot InputUser
Peer InputPeer
GeoPoint InputGeoPoint `tl:"flag:0"`
Query string // Query
Offset string
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetInlineBotResultsParams) CRC ¶
func (*MessagesGetInlineBotResultsParams) CRC() uint32
func (*MessagesGetInlineBotResultsParams) FlagIndex ¶
func (*MessagesGetInlineBotResultsParams) FlagIndex() int
type MessagesGetInlineGameHighScoresParams ¶
type MessagesGetInlineGameHighScoresParams struct {
ID *InputBotInlineMessageID
UserID InputUser
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetInlineGameHighScoresParams) CRC ¶
func (*MessagesGetInlineGameHighScoresParams) CRC() uint32
type MessagesGetMaskStickersParams ¶
type MessagesGetMaskStickersParams struct {
Hash int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetMaskStickersParams) CRC ¶
func (*MessagesGetMaskStickersParams) CRC() uint32
type MessagesGetMessageEditDataParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetMessageEditDataParams) CRC ¶
func (*MessagesGetMessageEditDataParams) CRC() uint32
type MessagesGetMessagesParams ¶
type MessagesGetMessagesParams struct {
ID []InputMessage
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetMessagesParams) CRC ¶
func (*MessagesGetMessagesParams) CRC() uint32
type MessagesGetMessagesViewsParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetMessagesViewsParams) CRC ¶
func (*MessagesGetMessagesViewsParams) CRC() uint32
type MessagesGetOldFeaturedStickersParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetOldFeaturedStickersParams) CRC ¶
func (*MessagesGetOldFeaturedStickersParams) CRC() uint32
type MessagesGetOnlinesParams ¶
type MessagesGetOnlinesParams struct {
Peer InputPeer
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetOnlinesParams) CRC ¶
func (*MessagesGetOnlinesParams) CRC() uint32
type MessagesGetPeerDialogsParams ¶
type MessagesGetPeerDialogsParams struct {
Peers []InputDialogPeer
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetPeerDialogsParams) CRC ¶
func (*MessagesGetPeerDialogsParams) CRC() uint32
type MessagesGetPeerSettingsParams ¶
type MessagesGetPeerSettingsParams struct {
Peer InputPeer
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetPeerSettingsParams) CRC ¶
func (*MessagesGetPeerSettingsParams) CRC() uint32
type MessagesGetPinnedDialogsParams ¶
type MessagesGetPinnedDialogsParams struct {
FolderID int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetPinnedDialogsParams) CRC ¶
func (*MessagesGetPinnedDialogsParams) CRC() uint32
type MessagesGetPollResultsParams ¶
type MessagesGetPollResultsParams struct {
Peer InputPeer
MsgID int32 // Message identifier on which a current query depends
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetPollResultsParams) CRC ¶
func (*MessagesGetPollResultsParams) CRC() uint32
type MessagesGetPollVotesParams ¶
type MessagesGetPollVotesParams struct {
Peer InputPeer
ID int32
Option []byte `tl:"flag:0"`
Offset string `tl:"flag:1"`
Limit int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetPollVotesParams) CRC ¶
func (*MessagesGetPollVotesParams) CRC() uint32
func (*MessagesGetPollVotesParams) FlagIndex ¶
func (*MessagesGetPollVotesParams) FlagIndex() int
type MessagesGetRecentLocationsParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetRecentLocationsParams) CRC ¶
func (*MessagesGetRecentLocationsParams) CRC() uint32
type MessagesGetRecentStickersParams ¶
type MessagesGetRecentStickersParams struct {
Attached bool `tl:"flag:0,encoded_in_bitflags"`
Hash int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetRecentStickersParams) CRC ¶
func (*MessagesGetRecentStickersParams) CRC() uint32
func (*MessagesGetRecentStickersParams) FlagIndex ¶
func (*MessagesGetRecentStickersParams) FlagIndex() int
type MessagesGetRepliesParams ¶
type MessagesGetRepliesParams struct {
Peer InputPeer
MsgID int32 // Message identifier on which a current query depends
OffsetID int32
OffsetDate int32
AddOffset int32
Limit int32
MaxID int32
MinID int32
Hash int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetRepliesParams) CRC ¶
func (*MessagesGetRepliesParams) CRC() uint32
type MessagesGetSavedGifsParams ¶
type MessagesGetSavedGifsParams struct {
Hash int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetSavedGifsParams) CRC ¶
func (*MessagesGetSavedGifsParams) CRC() uint32
type MessagesGetScheduledHistoryParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetScheduledHistoryParams) CRC ¶
func (*MessagesGetScheduledHistoryParams) CRC() uint32
type MessagesGetScheduledMessagesParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetScheduledMessagesParams) CRC ¶
func (*MessagesGetScheduledMessagesParams) CRC() uint32
type MessagesGetSearchCountersParams ¶
type MessagesGetSearchCountersParams struct {
Peer InputPeer
Filters []MessagesFilter
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetSearchCountersParams) CRC ¶
func (*MessagesGetSearchCountersParams) CRC() uint32
type MessagesGetSplitRangesParams ¶
type MessagesGetSplitRangesParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetSplitRangesParams) CRC ¶
func (*MessagesGetSplitRangesParams) CRC() uint32
type MessagesGetStatsURLParams ¶
type MessagesGetStatsURLParams struct {
Dark bool `tl:"flag:0,encoded_in_bitflags"`
Peer InputPeer
Params string // Additional initConnection parameters. For now, only the tz_offset field is supported, for specifying timezone offset in seconds.
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetStatsURLParams) CRC ¶
func (*MessagesGetStatsURLParams) CRC() uint32
func (*MessagesGetStatsURLParams) FlagIndex ¶
func (*MessagesGetStatsURLParams) FlagIndex() int
type MessagesGetStickerSetParams ¶
type MessagesGetStickerSetParams struct {
Stickerset InputStickerSet
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetStickerSetParams) CRC ¶
func (*MessagesGetStickerSetParams) CRC() uint32
type MessagesGetStickersParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetStickersParams) CRC ¶
func (*MessagesGetStickersParams) CRC() uint32
type MessagesGetSuggestedDialogFiltersParams ¶
type MessagesGetSuggestedDialogFiltersParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetSuggestedDialogFiltersParams) CRC ¶
func (*MessagesGetSuggestedDialogFiltersParams) CRC() uint32
type MessagesGetUnreadMentionsParams ¶
type MessagesGetUnreadMentionsParams struct {
Peer InputPeer
OffsetID int32
AddOffset int32
Limit int32
MaxID int32
MinID int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetUnreadMentionsParams) CRC ¶
func (*MessagesGetUnreadMentionsParams) CRC() uint32
type MessagesGetWebPageParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetWebPageParams) CRC ¶
func (*MessagesGetWebPageParams) CRC() uint32
type MessagesGetWebPagePreviewParams ¶
type MessagesGetWebPagePreviewParams struct {
Message string
Entities []MessageEntity `tl:"flag:3"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesGetWebPagePreviewParams) CRC ¶
func (*MessagesGetWebPagePreviewParams) CRC() uint32
func (*MessagesGetWebPagePreviewParams) FlagIndex ¶
func (*MessagesGetWebPagePreviewParams) FlagIndex() int
type MessagesHidePeerSettingsBarParams ¶
type MessagesHidePeerSettingsBarParams struct {
Peer InputPeer
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesHidePeerSettingsBarParams) CRC ¶
func (*MessagesHidePeerSettingsBarParams) CRC() uint32
type MessagesHighScores ¶
func (*MessagesHighScores) CRC ¶
func (*MessagesHighScores) CRC() uint32
type MessagesImportChatInviteParams ¶
type MessagesImportChatInviteParams struct {
Hash string
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesImportChatInviteParams) CRC ¶
func (*MessagesImportChatInviteParams) CRC() uint32
type MessagesInactiveChats ¶
func (*MessagesInactiveChats) CRC ¶
func (*MessagesInactiveChats) CRC() uint32
type MessagesInstallStickerSetParams ¶
type MessagesInstallStickerSetParams struct {
Stickerset InputStickerSet
Archived bool
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesInstallStickerSetParams) CRC ¶
func (*MessagesInstallStickerSetParams) CRC() uint32
type MessagesMarkDialogUnreadParams ¶
type MessagesMarkDialogUnreadParams struct {
Unread bool `tl:"flag:0,encoded_in_bitflags"`
Peer InputDialogPeer
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesMarkDialogUnreadParams) CRC ¶
func (*MessagesMarkDialogUnreadParams) CRC() uint32
func (*MessagesMarkDialogUnreadParams) FlagIndex ¶
func (*MessagesMarkDialogUnreadParams) FlagIndex() int
type MessagesMessageEditData ¶
type MessagesMessageEditData struct {
Caption bool `tl:"flag:0,encoded_in_bitflags"`
}
func (*MessagesMessageEditData) CRC ¶
func (*MessagesMessageEditData) CRC() uint32
func (*MessagesMessageEditData) FlagIndex ¶
func (*MessagesMessageEditData) FlagIndex() int
type MessagesMessageViews ¶
type MessagesMessageViews struct {
Views []*MessageViews
Chats []Chat
Users []User
}
func (*MessagesMessageViews) CRC ¶
func (*MessagesMessageViews) CRC() uint32
type MessagesMessages ¶
type MessagesMessagesNotModified ¶
type MessagesMessagesNotModified struct {
Count int32
}
func (*MessagesMessagesNotModified) CRC ¶
func (*MessagesMessagesNotModified) CRC() uint32
func (*MessagesMessagesNotModified) ImplementsMessagesMessages ¶
func (*MessagesMessagesNotModified) ImplementsMessagesMessages()
type MessagesMessagesObj ¶
func (*MessagesMessagesObj) CRC ¶
func (*MessagesMessagesObj) CRC() uint32
func (*MessagesMessagesObj) ImplementsMessagesMessages ¶
func (*MessagesMessagesObj) ImplementsMessagesMessages()
type MessagesMessagesSlice ¶
type MessagesMessagesSlice struct {
Inexact bool `tl:"flag:1,encoded_in_bitflags"`
Count int32
NextRate int32 `tl:"flag:0"`
OffsetIDOffset int32 `tl:"flag:2"`
Messages []Message
Chats []Chat
Users []User
}
func (*MessagesMessagesSlice) CRC ¶
func (*MessagesMessagesSlice) CRC() uint32
func (*MessagesMessagesSlice) FlagIndex ¶
func (*MessagesMessagesSlice) FlagIndex() int
func (*MessagesMessagesSlice) ImplementsMessagesMessages ¶
func (*MessagesMessagesSlice) ImplementsMessagesMessages()
type MessagesMigrateChatParams ¶
type MessagesMigrateChatParams struct {
ChatID int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesMigrateChatParams) CRC ¶
func (*MessagesMigrateChatParams) CRC() uint32
type MessagesPeerDialogs ¶
type MessagesPeerDialogs struct {
Dialogs []Dialog
Messages []Message
Chats []Chat
Users []User
State *UpdatesState
}
func (*MessagesPeerDialogs) CRC ¶
func (*MessagesPeerDialogs) CRC() uint32
type MessagesReadDiscussionParams ¶
type MessagesReadDiscussionParams struct {
Peer InputPeer
MsgID int32 // Message identifier on which a current query depends
ReadMaxID int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesReadDiscussionParams) CRC ¶
func (*MessagesReadDiscussionParams) CRC() uint32
type MessagesReadEncryptedHistoryParams ¶
type MessagesReadEncryptedHistoryParams struct {
Peer *InputEncryptedChat
MaxDate int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesReadEncryptedHistoryParams) CRC ¶
func (*MessagesReadEncryptedHistoryParams) CRC() uint32
type MessagesReadFeaturedStickersParams ¶
type MessagesReadFeaturedStickersParams struct {
ID []int64
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesReadFeaturedStickersParams) CRC ¶
func (*MessagesReadFeaturedStickersParams) CRC() uint32
type MessagesReadHistoryParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesReadHistoryParams) CRC ¶
func (*MessagesReadHistoryParams) CRC() uint32
type MessagesReadMentionsParams ¶
type MessagesReadMentionsParams struct {
Peer InputPeer
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesReadMentionsParams) CRC ¶
func (*MessagesReadMentionsParams) CRC() uint32
type MessagesReadMessageContentsParams ¶
type MessagesReadMessageContentsParams struct {
ID []int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesReadMessageContentsParams) CRC ¶
func (*MessagesReadMessageContentsParams) CRC() uint32
type MessagesReceivedMessagesParams ¶
type MessagesReceivedMessagesParams struct {
MaxID int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesReceivedMessagesParams) CRC ¶
func (*MessagesReceivedMessagesParams) CRC() uint32
type MessagesReceivedQueueParams ¶
type MessagesReceivedQueueParams struct {
MaxQts int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesReceivedQueueParams) CRC ¶
func (*MessagesReceivedQueueParams) CRC() uint32
type MessagesRecentStickers ¶
type MessagesRecentStickersNotModified ¶
type MessagesRecentStickersNotModified struct{}
func (*MessagesRecentStickersNotModified) CRC ¶
func (*MessagesRecentStickersNotModified) CRC() uint32
func (*MessagesRecentStickersNotModified) ImplementsMessagesRecentStickers ¶
func (*MessagesRecentStickersNotModified) ImplementsMessagesRecentStickers()
type MessagesRecentStickersObj ¶
type MessagesRecentStickersObj struct {
Hash int32
Packs []*StickerPack
Stickers []Document
Dates []int32
}
func (*MessagesRecentStickersObj) CRC ¶
func (*MessagesRecentStickersObj) CRC() uint32
func (*MessagesRecentStickersObj) ImplementsMessagesRecentStickers ¶
func (*MessagesRecentStickersObj) ImplementsMessagesRecentStickers()
type MessagesReorderPinnedDialogsParams ¶
type MessagesReorderPinnedDialogsParams struct {
Force bool `tl:"flag:0,encoded_in_bitflags"`
FolderID int32
Order []InputDialogPeer
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesReorderPinnedDialogsParams) CRC ¶
func (*MessagesReorderPinnedDialogsParams) CRC() uint32
func (*MessagesReorderPinnedDialogsParams) FlagIndex ¶
func (*MessagesReorderPinnedDialogsParams) FlagIndex() int
type MessagesReorderStickerSetsParams ¶
type MessagesReorderStickerSetsParams struct {
Masks bool `tl:"flag:0,encoded_in_bitflags"`
Order []int64
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesReorderStickerSetsParams) CRC ¶
func (*MessagesReorderStickerSetsParams) CRC() uint32
func (*MessagesReorderStickerSetsParams) FlagIndex ¶
func (*MessagesReorderStickerSetsParams) FlagIndex() int
type MessagesReportEncryptedSpamParams ¶
type MessagesReportEncryptedSpamParams struct {
Peer *InputEncryptedChat
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesReportEncryptedSpamParams) CRC ¶
func (*MessagesReportEncryptedSpamParams) CRC() uint32
type MessagesReportParams ¶
type MessagesReportParams struct {
Peer InputPeer
ID []int32
Reason ReportReason
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesReportParams) CRC ¶
func (*MessagesReportParams) CRC() uint32
type MessagesReportSpamParams ¶
type MessagesReportSpamParams struct {
Peer InputPeer
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesReportSpamParams) CRC ¶
func (*MessagesReportSpamParams) CRC() uint32
type MessagesRequestEncryptionParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesRequestEncryptionParams) CRC ¶
func (*MessagesRequestEncryptionParams) CRC() uint32
type MessagesRequestURLAuthParams ¶
type MessagesRequestURLAuthParams struct {
Peer InputPeer
MsgID int32 // Message identifier on which a current query depends
ButtonID int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesRequestURLAuthParams) CRC ¶
func (*MessagesRequestURLAuthParams) CRC() uint32
type MessagesSaveDraftParams ¶
type MessagesSaveDraftParams struct {
NoWebpage bool `tl:"flag:1,encoded_in_bitflags"`
ReplyToMsgID int32 `tl:"flag:0"`
Peer InputPeer
Message string
Entities []MessageEntity `tl:"flag:3"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSaveDraftParams) CRC ¶
func (*MessagesSaveDraftParams) CRC() uint32
func (*MessagesSaveDraftParams) FlagIndex ¶
func (*MessagesSaveDraftParams) FlagIndex() int
type MessagesSaveGifParams ¶
type MessagesSaveGifParams struct {
ID InputDocument
Unsave bool
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSaveGifParams) CRC ¶
func (*MessagesSaveGifParams) CRC() uint32
type MessagesSaveRecentStickerParams ¶
type MessagesSaveRecentStickerParams struct {
Attached bool `tl:"flag:0,encoded_in_bitflags"`
ID InputDocument
Unsave bool
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSaveRecentStickerParams) CRC ¶
func (*MessagesSaveRecentStickerParams) CRC() uint32
func (*MessagesSaveRecentStickerParams) FlagIndex ¶
func (*MessagesSaveRecentStickerParams) FlagIndex() int
type MessagesSavedGifs ¶
type MessagesSavedGifsNotModified ¶
type MessagesSavedGifsNotModified struct{}
func (*MessagesSavedGifsNotModified) CRC ¶
func (*MessagesSavedGifsNotModified) CRC() uint32
func (*MessagesSavedGifsNotModified) ImplementsMessagesSavedGifs ¶
func (*MessagesSavedGifsNotModified) ImplementsMessagesSavedGifs()
type MessagesSavedGifsObj ¶
func (*MessagesSavedGifsObj) CRC ¶
func (*MessagesSavedGifsObj) CRC() uint32
func (*MessagesSavedGifsObj) ImplementsMessagesSavedGifs ¶
func (*MessagesSavedGifsObj) ImplementsMessagesSavedGifs()
type MessagesSearchCounter ¶
type MessagesSearchCounter struct {
Inexact bool `tl:"flag:1,encoded_in_bitflags"`
Filter MessagesFilter
Count int32
}
func (*MessagesSearchCounter) CRC ¶
func (*MessagesSearchCounter) CRC() uint32
func (*MessagesSearchCounter) FlagIndex ¶
func (*MessagesSearchCounter) FlagIndex() int
type MessagesSearchGlobalParams ¶
type MessagesSearchGlobalParams struct {
FolderID int32 `tl:"flag:0"`
Q string
Filter MessagesFilter
MinDate int32
MaxDate int32
OffsetRate int32
OffsetPeer InputPeer
OffsetID int32
Limit int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSearchGlobalParams) CRC ¶
func (*MessagesSearchGlobalParams) CRC() uint32
func (*MessagesSearchGlobalParams) FlagIndex ¶
func (*MessagesSearchGlobalParams) FlagIndex() int
type MessagesSearchParams ¶
type MessagesSearchParams struct {
Peer InputPeer
Q string
FromID InputPeer `tl:"flag:0"`
TopMsgID int32 `tl:"flag:1"`
Filter MessagesFilter
MinDate int32
MaxDate int32
OffsetID int32
AddOffset int32
Limit int32
MaxID int32
MinID int32
Hash int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSearchParams) CRC ¶
func (*MessagesSearchParams) CRC() uint32
func (*MessagesSearchParams) FlagIndex ¶
func (*MessagesSearchParams) FlagIndex() int
type MessagesSearchStickerSetsParams ¶
type MessagesSearchStickerSetsParams struct {
ExcludeFeatured bool `tl:"flag:0,encoded_in_bitflags"`
Q string
Hash int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSearchStickerSetsParams) CRC ¶
func (*MessagesSearchStickerSetsParams) CRC() uint32
func (*MessagesSearchStickerSetsParams) FlagIndex ¶
func (*MessagesSearchStickerSetsParams) FlagIndex() int
type MessagesSendEncryptedFileParams ¶
type MessagesSendEncryptedFileParams struct {
Silent bool `tl:"flag:0,encoded_in_bitflags"`
Peer *InputEncryptedChat
RandomID int64
Data []byte
File InputEncryptedFile
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSendEncryptedFileParams) CRC ¶
func (*MessagesSendEncryptedFileParams) CRC() uint32
func (*MessagesSendEncryptedFileParams) FlagIndex ¶
func (*MessagesSendEncryptedFileParams) FlagIndex() int
type MessagesSendEncryptedParams ¶
type MessagesSendEncryptedParams struct {
Silent bool `tl:"flag:0,encoded_in_bitflags"`
Peer *InputEncryptedChat
RandomID int64
Data []byte
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSendEncryptedParams) CRC ¶
func (*MessagesSendEncryptedParams) CRC() uint32
func (*MessagesSendEncryptedParams) FlagIndex ¶
func (*MessagesSendEncryptedParams) FlagIndex() int
type MessagesSendEncryptedServiceParams ¶
type MessagesSendEncryptedServiceParams struct {
Peer *InputEncryptedChat
RandomID int64
Data []byte
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSendEncryptedServiceParams) CRC ¶
func (*MessagesSendEncryptedServiceParams) CRC() uint32
type MessagesSendInlineBotResultParams ¶
type MessagesSendInlineBotResultParams struct {
Silent bool `tl:"flag:5,encoded_in_bitflags"`
Background bool `tl:"flag:6,encoded_in_bitflags"`
ClearDraft bool `tl:"flag:7,encoded_in_bitflags"`
HideVia bool `tl:"flag:11,encoded_in_bitflags"`
Peer InputPeer
ReplyToMsgID int32 `tl:"flag:0"`
RandomID int64
QueryID int64
ID string
ScheduleDate int32 `tl:"flag:10"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSendInlineBotResultParams) CRC ¶
func (*MessagesSendInlineBotResultParams) CRC() uint32
func (*MessagesSendInlineBotResultParams) FlagIndex ¶
func (*MessagesSendInlineBotResultParams) FlagIndex() int
type MessagesSendMediaParams ¶
type MessagesSendMediaParams struct {
Silent bool `tl:"flag:5,encoded_in_bitflags"`
Background bool `tl:"flag:6,encoded_in_bitflags"`
ClearDraft bool `tl:"flag:7,encoded_in_bitflags"`
Peer InputPeer
ReplyToMsgID int32 `tl:"flag:0"`
Media InputMedia
Message string
RandomID int64
ReplyMarkup ReplyMarkup `tl:"flag:2"`
Entities []MessageEntity `tl:"flag:3"`
ScheduleDate int32 `tl:"flag:10"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSendMediaParams) CRC ¶
func (*MessagesSendMediaParams) CRC() uint32
func (*MessagesSendMediaParams) FlagIndex ¶
func (*MessagesSendMediaParams) FlagIndex() int
type MessagesSendMessageParams ¶
type MessagesSendMessageParams struct {
NoWebpage bool `tl:"flag:1,encoded_in_bitflags"`
Silent bool `tl:"flag:5,encoded_in_bitflags"`
Background bool `tl:"flag:6,encoded_in_bitflags"`
ClearDraft bool `tl:"flag:7,encoded_in_bitflags"`
Peer InputPeer
ReplyToMsgID int32 `tl:"flag:0"`
Message string
RandomID int64
ReplyMarkup ReplyMarkup `tl:"flag:2"`
Entities []MessageEntity `tl:"flag:3"`
ScheduleDate int32 `tl:"flag:10"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSendMessageParams) CRC ¶
func (*MessagesSendMessageParams) CRC() uint32
func (*MessagesSendMessageParams) FlagIndex ¶
func (*MessagesSendMessageParams) FlagIndex() int
type MessagesSendMultiMediaParams ¶
type MessagesSendMultiMediaParams struct {
Silent bool `tl:"flag:5,encoded_in_bitflags"`
Background bool `tl:"flag:6,encoded_in_bitflags"`
ClearDraft bool `tl:"flag:7,encoded_in_bitflags"`
Peer InputPeer
ReplyToMsgID int32 `tl:"flag:0"`
MultiMedia []*InputSingleMedia
ScheduleDate int32 `tl:"flag:10"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSendMultiMediaParams) CRC ¶
func (*MessagesSendMultiMediaParams) CRC() uint32
func (*MessagesSendMultiMediaParams) FlagIndex ¶
func (*MessagesSendMultiMediaParams) FlagIndex() int
type MessagesSendScheduledMessagesParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSendScheduledMessagesParams) CRC ¶
func (*MessagesSendScheduledMessagesParams) CRC() uint32
type MessagesSendScreenshotNotificationParams ¶
type MessagesSendScreenshotNotificationParams struct {
Peer InputPeer
ReplyToMsgID int32
RandomID int64
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSendScreenshotNotificationParams) CRC ¶
func (*MessagesSendScreenshotNotificationParams) CRC() uint32
type MessagesSendVoteParams ¶
type MessagesSendVoteParams struct {
Peer InputPeer
MsgID int32 // Message identifier on which a current query depends
Options [][]byte
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSendVoteParams) CRC ¶
func (*MessagesSendVoteParams) CRC() uint32
type MessagesSentEncryptedFile ¶
type MessagesSentEncryptedFile struct {
Date int32
File EncryptedFile
}
func (*MessagesSentEncryptedFile) CRC ¶
func (*MessagesSentEncryptedFile) CRC() uint32
func (*MessagesSentEncryptedFile) ImplementsMessagesSentEncryptedMessage ¶
func (*MessagesSentEncryptedFile) ImplementsMessagesSentEncryptedMessage()
type MessagesSentEncryptedMessageObj ¶
type MessagesSentEncryptedMessageObj struct {
Date int32
}
func (*MessagesSentEncryptedMessageObj) CRC ¶
func (*MessagesSentEncryptedMessageObj) CRC() uint32
func (*MessagesSentEncryptedMessageObj) ImplementsMessagesSentEncryptedMessage ¶
func (*MessagesSentEncryptedMessageObj) ImplementsMessagesSentEncryptedMessage()
type MessagesSetBotCallbackAnswerParams ¶
type MessagesSetBotCallbackAnswerParams struct {
Alert bool `tl:"flag:1,encoded_in_bitflags"`
QueryID int64
Message string `tl:"flag:0"`
URL string `tl:"flag:2"`
CacheTime int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSetBotCallbackAnswerParams) CRC ¶
func (*MessagesSetBotCallbackAnswerParams) CRC() uint32
func (*MessagesSetBotCallbackAnswerParams) FlagIndex ¶
func (*MessagesSetBotCallbackAnswerParams) FlagIndex() int
type MessagesSetBotPrecheckoutResultsParams ¶
type MessagesSetBotPrecheckoutResultsParams struct {
Success bool `tl:"flag:1,encoded_in_bitflags"`
QueryID int64
Error string `tl:"flag:0"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSetBotPrecheckoutResultsParams) CRC ¶
func (*MessagesSetBotPrecheckoutResultsParams) CRC() uint32
func (*MessagesSetBotPrecheckoutResultsParams) FlagIndex ¶
func (*MessagesSetBotPrecheckoutResultsParams) FlagIndex() int
type MessagesSetBotShippingResultsParams ¶
type MessagesSetBotShippingResultsParams struct {
QueryID int64
Error string `tl:"flag:0"`
ShippingOptions []*ShippingOption `tl:"flag:1"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSetBotShippingResultsParams) CRC ¶
func (*MessagesSetBotShippingResultsParams) CRC() uint32
func (*MessagesSetBotShippingResultsParams) FlagIndex ¶
func (*MessagesSetBotShippingResultsParams) FlagIndex() int
type MessagesSetEncryptedTypingParams ¶
type MessagesSetEncryptedTypingParams struct {
Peer *InputEncryptedChat
Typing bool
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSetEncryptedTypingParams) CRC ¶
func (*MessagesSetEncryptedTypingParams) CRC() uint32
type MessagesSetGameScoreParams ¶
type MessagesSetGameScoreParams struct {
EditMessage bool `tl:"flag:0,encoded_in_bitflags"`
Force bool `tl:"flag:1,encoded_in_bitflags"`
Peer InputPeer
ID int32
UserID InputUser
Score int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSetGameScoreParams) CRC ¶
func (*MessagesSetGameScoreParams) CRC() uint32
func (*MessagesSetGameScoreParams) FlagIndex ¶
func (*MessagesSetGameScoreParams) FlagIndex() int
type MessagesSetInlineBotResultsParams ¶
type MessagesSetInlineBotResultsParams struct {
Gallery bool `tl:"flag:0,encoded_in_bitflags"`
Private bool `tl:"flag:1,encoded_in_bitflags"`
QueryID int64
Results []InputBotInlineResult
CacheTime int32
NextOffset string `tl:"flag:2"`
SwitchPm *InlineBotSwitchPm `tl:"flag:3"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSetInlineBotResultsParams) CRC ¶
func (*MessagesSetInlineBotResultsParams) CRC() uint32
func (*MessagesSetInlineBotResultsParams) FlagIndex ¶
func (*MessagesSetInlineBotResultsParams) FlagIndex() int
type MessagesSetInlineGameScoreParams ¶
type MessagesSetInlineGameScoreParams struct {
EditMessage bool `tl:"flag:0,encoded_in_bitflags"`
Force bool `tl:"flag:1,encoded_in_bitflags"`
ID *InputBotInlineMessageID
UserID InputUser
Score int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSetInlineGameScoreParams) CRC ¶
func (*MessagesSetInlineGameScoreParams) CRC() uint32
func (*MessagesSetInlineGameScoreParams) FlagIndex ¶
func (*MessagesSetInlineGameScoreParams) FlagIndex() int
type MessagesSetTypingParams ¶
type MessagesSetTypingParams struct {
Peer InputPeer
TopMsgID int32 `tl:"flag:0"`
Action SendMessageAction
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesSetTypingParams) CRC ¶
func (*MessagesSetTypingParams) CRC() uint32
func (*MessagesSetTypingParams) FlagIndex ¶
func (*MessagesSetTypingParams) FlagIndex() int
type MessagesStartBotParams ¶
type MessagesStartBotParams struct {
Bot InputUser
Peer InputPeer
RandomID int64
StartParam string
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesStartBotParams) CRC ¶
func (*MessagesStartBotParams) CRC() uint32
type MessagesStickerSet ¶
type MessagesStickerSet struct {
Set *StickerSet
Packs []*StickerPack
Documents []Document
}
func (*MessagesStickerSet) CRC ¶
func (*MessagesStickerSet) CRC() uint32
type MessagesStickerSetInstallResultArchive ¶
type MessagesStickerSetInstallResultArchive struct {
Sets []StickerSetCovered
}
func (*MessagesStickerSetInstallResultArchive) CRC ¶
func (*MessagesStickerSetInstallResultArchive) CRC() uint32
func (*MessagesStickerSetInstallResultArchive) ImplementsMessagesStickerSetInstallResult ¶
func (*MessagesStickerSetInstallResultArchive) ImplementsMessagesStickerSetInstallResult()
type MessagesStickerSetInstallResultSuccess ¶
type MessagesStickerSetInstallResultSuccess struct{}
func (*MessagesStickerSetInstallResultSuccess) CRC ¶
func (*MessagesStickerSetInstallResultSuccess) CRC() uint32
func (*MessagesStickerSetInstallResultSuccess) ImplementsMessagesStickerSetInstallResult ¶
func (*MessagesStickerSetInstallResultSuccess) ImplementsMessagesStickerSetInstallResult()
type MessagesStickers ¶
type MessagesStickersNotModified ¶
type MessagesStickersNotModified struct{}
func (*MessagesStickersNotModified) CRC ¶
func (*MessagesStickersNotModified) CRC() uint32
func (*MessagesStickersNotModified) ImplementsMessagesStickers ¶
func (*MessagesStickersNotModified) ImplementsMessagesStickers()
type MessagesStickersObj ¶
func (*MessagesStickersObj) CRC ¶
func (*MessagesStickersObj) CRC() uint32
func (*MessagesStickersObj) ImplementsMessagesStickers ¶
func (*MessagesStickersObj) ImplementsMessagesStickers()
type MessagesToggleDialogPinParams ¶
type MessagesToggleDialogPinParams struct {
Pinned bool `tl:"flag:0,encoded_in_bitflags"`
Peer InputDialogPeer
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesToggleDialogPinParams) CRC ¶
func (*MessagesToggleDialogPinParams) CRC() uint32
func (*MessagesToggleDialogPinParams) FlagIndex ¶
func (*MessagesToggleDialogPinParams) FlagIndex() int
type MessagesToggleStickerSetsParams ¶
type MessagesToggleStickerSetsParams struct {
Uninstall bool `tl:"flag:0,encoded_in_bitflags"`
Archive bool `tl:"flag:1,encoded_in_bitflags"`
Unarchive bool `tl:"flag:2,encoded_in_bitflags"`
Stickersets []InputStickerSet
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesToggleStickerSetsParams) CRC ¶
func (*MessagesToggleStickerSetsParams) CRC() uint32
func (*MessagesToggleStickerSetsParams) FlagIndex ¶
func (*MessagesToggleStickerSetsParams) FlagIndex() int
type MessagesUninstallStickerSetParams ¶
type MessagesUninstallStickerSetParams struct {
Stickerset InputStickerSet
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesUninstallStickerSetParams) CRC ¶
func (*MessagesUninstallStickerSetParams) CRC() uint32
type MessagesUnpinAllMessagesParams ¶
type MessagesUnpinAllMessagesParams struct {
Peer InputPeer
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesUnpinAllMessagesParams) CRC ¶
func (*MessagesUnpinAllMessagesParams) CRC() uint32
type MessagesUpdateDialogFilterParams ¶
type MessagesUpdateDialogFilterParams struct {
ID int32
Filter *DialogFilter `tl:"flag:0"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesUpdateDialogFilterParams) CRC ¶
func (*MessagesUpdateDialogFilterParams) CRC() uint32
func (*MessagesUpdateDialogFilterParams) FlagIndex ¶
func (*MessagesUpdateDialogFilterParams) FlagIndex() int
type MessagesUpdateDialogFiltersOrderParams ¶
type MessagesUpdateDialogFiltersOrderParams struct {
Order []int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesUpdateDialogFiltersOrderParams) CRC ¶
func (*MessagesUpdateDialogFiltersOrderParams) CRC() uint32
type MessagesUpdatePinnedMessageParams ¶
type MessagesUpdatePinnedMessageParams struct {
Silent bool `tl:"flag:0,encoded_in_bitflags"`
Unpin bool `tl:"flag:1,encoded_in_bitflags"`
PmOneside bool `tl:"flag:2,encoded_in_bitflags"`
Peer InputPeer
ID int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesUpdatePinnedMessageParams) CRC ¶
func (*MessagesUpdatePinnedMessageParams) CRC() uint32
func (*MessagesUpdatePinnedMessageParams) FlagIndex ¶
func (*MessagesUpdatePinnedMessageParams) FlagIndex() int
type MessagesUploadEncryptedFileParams ¶
type MessagesUploadEncryptedFileParams struct {
Peer *InputEncryptedChat
File InputEncryptedFile
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesUploadEncryptedFileParams) CRC ¶
func (*MessagesUploadEncryptedFileParams) CRC() uint32
type MessagesUploadMediaParams ¶
type MessagesUploadMediaParams struct {
Peer InputPeer
Media InputMedia
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*MessagesUploadMediaParams) CRC ¶
func (*MessagesUploadMediaParams) CRC() uint32
type MessagesVotesList ¶
type MessagesVotesList struct {
Count int32
Votes []MessageUserVote
Users []User
NextOffset string `tl:"flag:0"`
}
func (*MessagesVotesList) CRC ¶
func (*MessagesVotesList) CRC() uint32
func (*MessagesVotesList) FlagIndex ¶
func (*MessagesVotesList) FlagIndex() int
type NotifyBroadcasts ¶
type NotifyBroadcasts struct{}
func (*NotifyBroadcasts) CRC ¶
func (*NotifyBroadcasts) CRC() uint32
func (*NotifyBroadcasts) ImplementsNotifyPeer ¶
func (*NotifyBroadcasts) ImplementsNotifyPeer()
type NotifyChats ¶
type NotifyChats struct{}
func (*NotifyChats) CRC ¶
func (*NotifyChats) CRC() uint32
func (*NotifyChats) ImplementsNotifyPeer ¶
func (*NotifyChats) ImplementsNotifyPeer()
type NotifyPeer ¶
type NotifyPeerObj ¶
type NotifyPeerObj struct {
Peer Peer
}
func (*NotifyPeerObj) CRC ¶
func (*NotifyPeerObj) CRC() uint32
func (*NotifyPeerObj) ImplementsNotifyPeer ¶
func (*NotifyPeerObj) ImplementsNotifyPeer()
type NotifyUsers ¶
type NotifyUsers struct{}
func (*NotifyUsers) CRC ¶
func (*NotifyUsers) CRC() uint32
func (*NotifyUsers) ImplementsNotifyPeer ¶
func (*NotifyUsers) ImplementsNotifyPeer()
type Page ¶
type PageBlockAnchor ¶
type PageBlockAnchor struct {
Name string
}
func (*PageBlockAnchor) CRC ¶
func (*PageBlockAnchor) CRC() uint32
func (*PageBlockAnchor) ImplementsPageBlock ¶
func (*PageBlockAnchor) ImplementsPageBlock()
type PageBlockAudio ¶
type PageBlockAudio struct {
AudioID int64
Caption *PageCaption
}
func (*PageBlockAudio) CRC ¶
func (*PageBlockAudio) CRC() uint32
func (*PageBlockAudio) ImplementsPageBlock ¶
func (*PageBlockAudio) ImplementsPageBlock()
type PageBlockAuthorDate ¶
func (*PageBlockAuthorDate) CRC ¶
func (*PageBlockAuthorDate) CRC() uint32
func (*PageBlockAuthorDate) ImplementsPageBlock ¶
func (*PageBlockAuthorDate) ImplementsPageBlock()
type PageBlockBlockquote ¶
func (*PageBlockBlockquote) CRC ¶
func (*PageBlockBlockquote) CRC() uint32
func (*PageBlockBlockquote) ImplementsPageBlock ¶
func (*PageBlockBlockquote) ImplementsPageBlock()
type PageBlockChannel ¶
type PageBlockChannel struct {
Channel Chat
}
func (*PageBlockChannel) CRC ¶
func (*PageBlockChannel) CRC() uint32
func (*PageBlockChannel) ImplementsPageBlock ¶
func (*PageBlockChannel) ImplementsPageBlock()
type PageBlockCollage ¶
type PageBlockCollage struct {
Items []PageBlock
Caption *PageCaption
}
func (*PageBlockCollage) CRC ¶
func (*PageBlockCollage) CRC() uint32
func (*PageBlockCollage) ImplementsPageBlock ¶
func (*PageBlockCollage) ImplementsPageBlock()
type PageBlockCover ¶
type PageBlockCover struct {
Cover PageBlock
}
func (*PageBlockCover) CRC ¶
func (*PageBlockCover) CRC() uint32
func (*PageBlockCover) ImplementsPageBlock ¶
func (*PageBlockCover) ImplementsPageBlock()
type PageBlockDetails ¶
type PageBlockDetails struct {
Open bool `tl:"flag:0,encoded_in_bitflags"`
Blocks []PageBlock
Title RichText
}
func (*PageBlockDetails) CRC ¶
func (*PageBlockDetails) CRC() uint32
func (*PageBlockDetails) FlagIndex ¶
func (*PageBlockDetails) FlagIndex() int
func (*PageBlockDetails) ImplementsPageBlock ¶
func (*PageBlockDetails) ImplementsPageBlock()
type PageBlockDivider ¶
type PageBlockDivider struct{}
func (*PageBlockDivider) CRC ¶
func (*PageBlockDivider) CRC() uint32
func (*PageBlockDivider) ImplementsPageBlock ¶
func (*PageBlockDivider) ImplementsPageBlock()
type PageBlockEmbed ¶
type PageBlockEmbed struct {
FullWidth bool `tl:"flag:0,encoded_in_bitflags"`
AllowScrolling bool `tl:"flag:3,encoded_in_bitflags"`
URL string `tl:"flag:1"`
Html string `tl:"flag:2"`
PosterPhotoID int64 `tl:"flag:4"`
W int32 `tl:"flag:5"`
H int32 `tl:"flag:5"`
Caption *PageCaption
}
func (*PageBlockEmbed) CRC ¶
func (*PageBlockEmbed) CRC() uint32
func (*PageBlockEmbed) FlagIndex ¶
func (*PageBlockEmbed) FlagIndex() int
func (*PageBlockEmbed) ImplementsPageBlock ¶
func (*PageBlockEmbed) ImplementsPageBlock()
type PageBlockEmbedPost ¶
type PageBlockEmbedPost struct {
URL string
WebpageID int64
AuthorPhotoID int64
Author string
Date int32
Blocks []PageBlock
Caption *PageCaption
}
func (*PageBlockEmbedPost) CRC ¶
func (*PageBlockEmbedPost) CRC() uint32
func (*PageBlockEmbedPost) ImplementsPageBlock ¶
func (*PageBlockEmbedPost) ImplementsPageBlock()
type PageBlockFooter ¶
type PageBlockFooter struct {
}
func (*PageBlockFooter) CRC ¶
func (*PageBlockFooter) CRC() uint32
func (*PageBlockFooter) ImplementsPageBlock ¶
func (*PageBlockFooter) ImplementsPageBlock()
type PageBlockHeader ¶
type PageBlockHeader struct {
Text RichText
}
func (*PageBlockHeader) CRC ¶
func (*PageBlockHeader) CRC() uint32
func (*PageBlockHeader) ImplementsPageBlock ¶
func (*PageBlockHeader) ImplementsPageBlock()
type PageBlockKicker ¶
type PageBlockKicker struct {
Text RichText
}
func (*PageBlockKicker) CRC ¶
func (*PageBlockKicker) CRC() uint32
func (*PageBlockKicker) ImplementsPageBlock ¶
func (*PageBlockKicker) ImplementsPageBlock()
type PageBlockList ¶
type PageBlockList struct {
Items []PageListItem
}
func (*PageBlockList) CRC ¶
func (*PageBlockList) CRC() uint32
func (*PageBlockList) ImplementsPageBlock ¶
func (*PageBlockList) ImplementsPageBlock()
type PageBlockMap ¶
type PageBlockMap struct {
Geo GeoPoint
Zoom int32
W int32
H int32
Caption *PageCaption
}
func (*PageBlockMap) CRC ¶
func (*PageBlockMap) CRC() uint32
func (*PageBlockMap) ImplementsPageBlock ¶
func (*PageBlockMap) ImplementsPageBlock()
type PageBlockOrderedList ¶
type PageBlockOrderedList struct {
Items []PageListOrderedItem
}
func (*PageBlockOrderedList) CRC ¶
func (*PageBlockOrderedList) CRC() uint32
func (*PageBlockOrderedList) ImplementsPageBlock ¶
func (*PageBlockOrderedList) ImplementsPageBlock()
type PageBlockParagraph ¶
type PageBlockParagraph struct {
Text RichText
}
func (*PageBlockParagraph) CRC ¶
func (*PageBlockParagraph) CRC() uint32
func (*PageBlockParagraph) ImplementsPageBlock ¶
func (*PageBlockParagraph) ImplementsPageBlock()
type PageBlockPhoto ¶
type PageBlockPhoto struct {
PhotoID int64
Caption *PageCaption
URL string `tl:"flag:0"`
WebpageID int64 `tl:"flag:0"`
}
func (*PageBlockPhoto) CRC ¶
func (*PageBlockPhoto) CRC() uint32
func (*PageBlockPhoto) FlagIndex ¶
func (*PageBlockPhoto) FlagIndex() int
func (*PageBlockPhoto) ImplementsPageBlock ¶
func (*PageBlockPhoto) ImplementsPageBlock()
type PageBlockPreformatted ¶
func (*PageBlockPreformatted) CRC ¶
func (*PageBlockPreformatted) CRC() uint32
func (*PageBlockPreformatted) ImplementsPageBlock ¶
func (*PageBlockPreformatted) ImplementsPageBlock()
type PageBlockPullquote ¶
func (*PageBlockPullquote) CRC ¶
func (*PageBlockPullquote) CRC() uint32
func (*PageBlockPullquote) ImplementsPageBlock ¶
func (*PageBlockPullquote) ImplementsPageBlock()
type PageBlockRelatedArticles ¶
type PageBlockRelatedArticles struct {
Title RichText
Articles []*PageRelatedArticle
}
func (*PageBlockRelatedArticles) CRC ¶
func (*PageBlockRelatedArticles) CRC() uint32
func (*PageBlockRelatedArticles) ImplementsPageBlock ¶
func (*PageBlockRelatedArticles) ImplementsPageBlock()
type PageBlockSlideshow ¶
type PageBlockSlideshow struct {
Items []PageBlock
Caption *PageCaption
}
func (*PageBlockSlideshow) CRC ¶
func (*PageBlockSlideshow) CRC() uint32
func (*PageBlockSlideshow) ImplementsPageBlock ¶
func (*PageBlockSlideshow) ImplementsPageBlock()
type PageBlockSubheader ¶
type PageBlockSubheader struct {
Text RichText
}
func (*PageBlockSubheader) CRC ¶
func (*PageBlockSubheader) CRC() uint32
func (*PageBlockSubheader) ImplementsPageBlock ¶
func (*PageBlockSubheader) ImplementsPageBlock()
type PageBlockSubtitle ¶
type PageBlockSubtitle struct {
Text RichText
}
func (*PageBlockSubtitle) CRC ¶
func (*PageBlockSubtitle) CRC() uint32
func (*PageBlockSubtitle) ImplementsPageBlock ¶
func (*PageBlockSubtitle) ImplementsPageBlock()
type PageBlockTable ¶
type PageBlockTable struct {
Bordered bool `tl:"flag:0,encoded_in_bitflags"`
Striped bool `tl:"flag:1,encoded_in_bitflags"`
Title RichText
Rows []*PageTableRow
}
func (*PageBlockTable) CRC ¶
func (*PageBlockTable) CRC() uint32
func (*PageBlockTable) FlagIndex ¶
func (*PageBlockTable) FlagIndex() int
func (*PageBlockTable) ImplementsPageBlock ¶
func (*PageBlockTable) ImplementsPageBlock()
type PageBlockTitle ¶
type PageBlockTitle struct {
Text RichText
}
func (*PageBlockTitle) CRC ¶
func (*PageBlockTitle) CRC() uint32
func (*PageBlockTitle) ImplementsPageBlock ¶
func (*PageBlockTitle) ImplementsPageBlock()
type PageBlockUnsupported ¶
type PageBlockUnsupported struct{}
func (*PageBlockUnsupported) CRC ¶
func (*PageBlockUnsupported) CRC() uint32
func (*PageBlockUnsupported) ImplementsPageBlock ¶
func (*PageBlockUnsupported) ImplementsPageBlock()
type PageBlockVideo ¶
type PageBlockVideo struct {
Autoplay bool `tl:"flag:0,encoded_in_bitflags"`
Loop bool `tl:"flag:1,encoded_in_bitflags"`
VideoID int64
Caption *PageCaption
}
func (*PageBlockVideo) CRC ¶
func (*PageBlockVideo) CRC() uint32
func (*PageBlockVideo) FlagIndex ¶
func (*PageBlockVideo) FlagIndex() int
func (*PageBlockVideo) ImplementsPageBlock ¶
func (*PageBlockVideo) ImplementsPageBlock()
type PageCaption ¶
func (*PageCaption) CRC ¶
func (*PageCaption) CRC() uint32
type PageListItem ¶
type PageListItemBlocks ¶
type PageListItemBlocks struct {
Blocks []PageBlock
}
func (*PageListItemBlocks) CRC ¶
func (*PageListItemBlocks) CRC() uint32
func (*PageListItemBlocks) ImplementsPageListItem ¶
func (*PageListItemBlocks) ImplementsPageListItem()
type PageListItemText ¶
type PageListItemText struct {
Text RichText
}
func (*PageListItemText) CRC ¶
func (*PageListItemText) CRC() uint32
func (*PageListItemText) ImplementsPageListItem ¶
func (*PageListItemText) ImplementsPageListItem()
type PageListOrderedItem ¶
type PageListOrderedItemBlocks ¶
func (*PageListOrderedItemBlocks) CRC ¶
func (*PageListOrderedItemBlocks) CRC() uint32
func (*PageListOrderedItemBlocks) ImplementsPageListOrderedItem ¶
func (*PageListOrderedItemBlocks) ImplementsPageListOrderedItem()
type PageListOrderedItemText ¶
func (*PageListOrderedItemText) CRC ¶
func (*PageListOrderedItemText) CRC() uint32
func (*PageListOrderedItemText) ImplementsPageListOrderedItem ¶
func (*PageListOrderedItemText) ImplementsPageListOrderedItem()
type PageRelatedArticle ¶
type PageRelatedArticle struct {
URL string
WebpageID int64
Title string `tl:"flag:0"`
Description string `tl:"flag:1"`
PhotoID int64 `tl:"flag:2"`
Author string `tl:"flag:3"`
PublishedDate int32 `tl:"flag:4"`
}
func (*PageRelatedArticle) CRC ¶
func (*PageRelatedArticle) CRC() uint32
func (*PageRelatedArticle) FlagIndex ¶
func (*PageRelatedArticle) FlagIndex() int
type PageTableCell ¶
type PageTableCell struct {
Header bool `tl:"flag:0,encoded_in_bitflags"`
AlignCenter bool `tl:"flag:3,encoded_in_bitflags"`
AlignRight bool `tl:"flag:4,encoded_in_bitflags"`
ValignMiddle bool `tl:"flag:5,encoded_in_bitflags"`
ValignBottom bool `tl:"flag:6,encoded_in_bitflags"`
Text RichText `tl:"flag:7"`
Colspan int32 `tl:"flag:1"`
Rowspan int32 `tl:"flag:2"`
}
func (*PageTableCell) CRC ¶
func (*PageTableCell) CRC() uint32
func (*PageTableCell) FlagIndex ¶
func (*PageTableCell) FlagIndex() int
type PageTableRow ¶
type PageTableRow struct {
Cells []*PageTableCell
}
func (*PageTableRow) CRC ¶
func (*PageTableRow) CRC() uint32
type PasswordKdfAlgo ¶
type PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow ¶
type PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow struct {
Salt1 []byte
Salt2 []byte
G int32
P []byte
}
func (*PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow) ImplementsPasswordKdfAlgo ¶
func (*PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow) ImplementsPasswordKdfAlgo()
type PasswordKdfAlgoUnknown ¶
type PasswordKdfAlgoUnknown struct{}
func (*PasswordKdfAlgoUnknown) CRC ¶
func (*PasswordKdfAlgoUnknown) CRC() uint32
func (*PasswordKdfAlgoUnknown) ImplementsPasswordKdfAlgo ¶
func (*PasswordKdfAlgoUnknown) ImplementsPasswordKdfAlgo()
type PaymentCharge ¶
func (*PaymentCharge) CRC ¶
func (*PaymentCharge) CRC() uint32
type PaymentRequestedInfo ¶
type PaymentRequestedInfo struct {
Name string `tl:"flag:0"`
Phone string `tl:"flag:1"`
Email string `tl:"flag:2"`
ShippingAddress *PostAddress `tl:"flag:3"`
}
func (*PaymentRequestedInfo) CRC ¶
func (*PaymentRequestedInfo) CRC() uint32
func (*PaymentRequestedInfo) FlagIndex ¶
func (*PaymentRequestedInfo) FlagIndex() int
type PaymentSavedCredentialsCard ¶
func (*PaymentSavedCredentialsCard) CRC ¶
func (*PaymentSavedCredentialsCard) CRC() uint32
type PaymentsBankCardData ¶
type PaymentsBankCardData struct {
Title string
OpenUrls []*BankCardOpenURL
}
func (*PaymentsBankCardData) CRC ¶
func (*PaymentsBankCardData) CRC() uint32
type PaymentsClearSavedInfoParams ¶
type PaymentsClearSavedInfoParams struct {
Credentials bool `tl:"flag:0,encoded_in_bitflags"` // Encrypted values
Info bool `tl:"flag:1,encoded_in_bitflags"`
}
Get the participants of a channel
func (*PaymentsClearSavedInfoParams) CRC ¶
func (*PaymentsClearSavedInfoParams) CRC() uint32
func (*PaymentsClearSavedInfoParams) FlagIndex ¶
func (*PaymentsClearSavedInfoParams) FlagIndex() int
type PaymentsGetBankCardDataParams ¶
type PaymentsGetBankCardDataParams struct {
Number string
}
Get the participants of a channel
func (*PaymentsGetBankCardDataParams) CRC ¶
func (*PaymentsGetBankCardDataParams) CRC() uint32
type PaymentsGetPaymentFormParams ¶
type PaymentsGetPaymentFormParams struct {
MsgID int32 // Message identifier on which a current query depends
}
Get the participants of a channel
func (*PaymentsGetPaymentFormParams) CRC ¶
func (*PaymentsGetPaymentFormParams) CRC() uint32
type PaymentsGetPaymentReceiptParams ¶
type PaymentsGetPaymentReceiptParams struct {
MsgID int32 // Message identifier on which a current query depends
}
Get the participants of a channel
func (*PaymentsGetPaymentReceiptParams) CRC ¶
func (*PaymentsGetPaymentReceiptParams) CRC() uint32
type PaymentsGetSavedInfoParams ¶
type PaymentsGetSavedInfoParams struct{}
Get the participants of a channel
func (*PaymentsGetSavedInfoParams) CRC ¶
func (*PaymentsGetSavedInfoParams) CRC() uint32
type PaymentsPaymentForm ¶
type PaymentsPaymentForm struct {
CanSaveCredentials bool `tl:"flag:2,encoded_in_bitflags"` // Whether the user can choose to save credentials.
PasswordMissing bool `tl:"flag:3,encoded_in_bitflags"` // Indicates that the user can save payment credentials, but only after setting up a 2FA password (currently the account doesn't have a 2FA password)
BotID int32 // Bot ID
Invoice *Invoice // Invoice
ProviderID int32 // Payment provider ID.
URL string // Payment form URL
NativeProvider string `tl:"flag:4"` // Payment provider name.One of the following:- stripe
NativeParams *DataJson `tl:"flag:4"` // Contains information about the payment provider, if available, to support it natively without the need for opening the URL.A JSON object that can contain the following fields:- publishable_key: Stripe API publishable key- apple_pay_merchant_id: Apple Pay merchant ID- android_pay_public_key: Android Pay public key- android_pay_bgcolor: Android Pay form background color- android_pay_inverse: Whether to use the dark theme in the Android Pay form- need_country: True, if the user country must be provided,- need_zip: True, if the user ZIP/postal code must be provided,- need_cardholder_name: True, if the cardholder name must be provided
SavedInfo *PaymentRequestedInfo `tl:"flag:0"` // Saved server-side order information
SavedCredentials *PaymentSavedCredentialsCard `tl:"flag:1"` // Contains information about saved card credentials
Users []User // Users
}
Payment form
func (*PaymentsPaymentForm) CRC ¶
func (*PaymentsPaymentForm) CRC() uint32
func (*PaymentsPaymentForm) FlagIndex ¶
func (*PaymentsPaymentForm) FlagIndex() int
type PaymentsPaymentReceipt ¶
type PaymentsPaymentReceipt struct {
Date int32
BotID int32
Invoice *Invoice
ProviderID int32
Info *PaymentRequestedInfo `tl:"flag:0"`
Shipping *ShippingOption `tl:"flag:1"`
Currency string
TotalAmount int64
CredentialsTitle string
Users []User
}
func (*PaymentsPaymentReceipt) CRC ¶
func (*PaymentsPaymentReceipt) CRC() uint32
func (*PaymentsPaymentReceipt) FlagIndex ¶
func (*PaymentsPaymentReceipt) FlagIndex() int
type PaymentsPaymentResult ¶
type PaymentsPaymentResultObj ¶
type PaymentsPaymentResultObj struct {
Updates Updates
}
func (*PaymentsPaymentResultObj) CRC ¶
func (*PaymentsPaymentResultObj) CRC() uint32
func (*PaymentsPaymentResultObj) ImplementsPaymentsPaymentResult ¶
func (*PaymentsPaymentResultObj) ImplementsPaymentsPaymentResult()
type PaymentsPaymentVerificationNeeded ¶
type PaymentsPaymentVerificationNeeded struct {
URL string
}
func (*PaymentsPaymentVerificationNeeded) CRC ¶
func (*PaymentsPaymentVerificationNeeded) CRC() uint32
func (*PaymentsPaymentVerificationNeeded) ImplementsPaymentsPaymentResult ¶
func (*PaymentsPaymentVerificationNeeded) ImplementsPaymentsPaymentResult()
type PaymentsSavedInfo ¶
type PaymentsSavedInfo struct {
HasSavedCredentials bool `tl:"flag:1,encoded_in_bitflags"`
SavedInfo *PaymentRequestedInfo `tl:"flag:0"`
}
func (*PaymentsSavedInfo) CRC ¶
func (*PaymentsSavedInfo) CRC() uint32
func (*PaymentsSavedInfo) FlagIndex ¶
func (*PaymentsSavedInfo) FlagIndex() int
type PaymentsSendPaymentFormParams ¶
type PaymentsSendPaymentFormParams struct {
MsgID int32 // Message identifier on which a current query depends
RequestedInfoID string `tl:"flag:0"`
ShippingOptionID string `tl:"flag:1"`
Credentials InputPaymentCredentials // Encrypted values
}
Get the participants of a channel
func (*PaymentsSendPaymentFormParams) CRC ¶
func (*PaymentsSendPaymentFormParams) CRC() uint32
func (*PaymentsSendPaymentFormParams) FlagIndex ¶
func (*PaymentsSendPaymentFormParams) FlagIndex() int
type PaymentsValidateRequestedInfoParams ¶
type PaymentsValidateRequestedInfoParams struct {
Save bool `tl:"flag:0,encoded_in_bitflags"`
MsgID int32 // Message identifier on which a current query depends
Info *PaymentRequestedInfo
}
Get the participants of a channel
func (*PaymentsValidateRequestedInfoParams) CRC ¶
func (*PaymentsValidateRequestedInfoParams) CRC() uint32
func (*PaymentsValidateRequestedInfoParams) FlagIndex ¶
func (*PaymentsValidateRequestedInfoParams) FlagIndex() int
type PaymentsValidatedRequestedInfo ¶
type PaymentsValidatedRequestedInfo struct {
ID string `tl:"flag:0"`
ShippingOptions []*ShippingOption `tl:"flag:1"`
}
func (*PaymentsValidatedRequestedInfo) CRC ¶
func (*PaymentsValidatedRequestedInfo) CRC() uint32
func (*PaymentsValidatedRequestedInfo) FlagIndex ¶
func (*PaymentsValidatedRequestedInfo) FlagIndex() int
type PeerBlocked ¶
func (*PeerBlocked) CRC ¶
func (*PeerBlocked) CRC() uint32
type PeerChannel ¶
type PeerChannel struct {
ChannelID int32 // Channel ID
}
Channel/supergroup
func (*PeerChannel) CRC ¶
func (*PeerChannel) CRC() uint32
func (*PeerChannel) ImplementsPeer ¶
func (*PeerChannel) ImplementsPeer()
type PeerChat ¶
type PeerChat struct {
ChatID int32 // Group identifier
}
Group.
func (*PeerChat) ImplementsPeer ¶
func (*PeerChat) ImplementsPeer()
type PeerLocated ¶
type PeerLocatedObj ¶
func (*PeerLocatedObj) CRC ¶
func (*PeerLocatedObj) CRC() uint32
func (*PeerLocatedObj) ImplementsPeerLocated ¶
func (*PeerLocatedObj) ImplementsPeerLocated()
type PeerNotifySettings ¶
type PeerNotifySettings struct {
ShowPreviews bool `tl:"flag:0"`
Silent bool `tl:"flag:1"`
MuteUntil int32 `tl:"flag:2"`
Sound string `tl:"flag:3"`
}
func (*PeerNotifySettings) CRC ¶
func (*PeerNotifySettings) CRC() uint32
func (*PeerNotifySettings) FlagIndex ¶
func (*PeerNotifySettings) FlagIndex() int
type PeerSelfLocated ¶
type PeerSelfLocated struct {
Expires int32
}
func (*PeerSelfLocated) CRC ¶
func (*PeerSelfLocated) CRC() uint32
func (*PeerSelfLocated) ImplementsPeerLocated ¶
func (*PeerSelfLocated) ImplementsPeerLocated()
type PeerSettings ¶
type PeerSettings struct {
ReportSpam bool `tl:"flag:0,encoded_in_bitflags"`
AddContact bool `tl:"flag:1,encoded_in_bitflags"`
BlockContact bool `tl:"flag:2,encoded_in_bitflags"`
NeedContactsException bool `tl:"flag:4,encoded_in_bitflags"`
ReportGeo bool `tl:"flag:5,encoded_in_bitflags"`
Autoarchived bool `tl:"flag:7,encoded_in_bitflags"`
GeoDistance int32 `tl:"flag:6"`
}
func (*PeerSettings) CRC ¶
func (*PeerSettings) CRC() uint32
func (*PeerSettings) FlagIndex ¶
func (*PeerSettings) FlagIndex() int
type PeerUser ¶
type PeerUser struct {
UserID int32 // User identifier
}
Chat partner
func (*PeerUser) ImplementsPeer ¶
func (*PeerUser) ImplementsPeer()
type PhoneAcceptCallParams ¶
type PhoneAcceptCallParams struct {
Peer *InputPhoneCall
GB []byte
Protocol *PhoneCallProtocol
}
Get the participants of a channel
func (*PhoneAcceptCallParams) CRC ¶
func (*PhoneAcceptCallParams) CRC() uint32
type PhoneCallAccepted ¶
type PhoneCallAccepted struct {
Video bool `tl:"flag:6,encoded_in_bitflags"`
ID int64
AccessHash int64
Date int32
AdminID int32
ParticipantID int32
GB []byte
Protocol *PhoneCallProtocol
}
func (*PhoneCallAccepted) CRC ¶
func (*PhoneCallAccepted) CRC() uint32
func (*PhoneCallAccepted) FlagIndex ¶
func (*PhoneCallAccepted) FlagIndex() int
func (*PhoneCallAccepted) ImplementsPhoneCall ¶
func (*PhoneCallAccepted) ImplementsPhoneCall()
type PhoneCallDiscardReason ¶
type PhoneCallDiscardReason uint32
const ( PhoneCallDiscardReasonBusy PhoneCallDiscardReason = 0xfaf7e8c9 PhoneCallDiscardReasonDisconnect PhoneCallDiscardReason = 0xe095c1a0 PhoneCallDiscardReasonHangup PhoneCallDiscardReason = 0x57adc690 PhoneCallDiscardReasonMissed PhoneCallDiscardReason = 0x85e42301 )
func (PhoneCallDiscardReason) CRC ¶
func (e PhoneCallDiscardReason) CRC() uint32
func (PhoneCallDiscardReason) String ¶
func (e PhoneCallDiscardReason) String() string
type PhoneCallDiscarded ¶
type PhoneCallDiscarded struct {
NeedRating bool `tl:"flag:2,encoded_in_bitflags"`
NeedDebug bool `tl:"flag:3,encoded_in_bitflags"`
Video bool `tl:"flag:6,encoded_in_bitflags"`
ID int64
Reason PhoneCallDiscardReason `tl:"flag:0"`
Duration int32 `tl:"flag:1"`
}
func (*PhoneCallDiscarded) CRC ¶
func (*PhoneCallDiscarded) CRC() uint32
func (*PhoneCallDiscarded) FlagIndex ¶
func (*PhoneCallDiscarded) FlagIndex() int
func (*PhoneCallDiscarded) ImplementsPhoneCall ¶
func (*PhoneCallDiscarded) ImplementsPhoneCall()
type PhoneCallEmpty ¶
type PhoneCallEmpty struct {
ID int64
}
func (*PhoneCallEmpty) CRC ¶
func (*PhoneCallEmpty) CRC() uint32
func (*PhoneCallEmpty) ImplementsPhoneCall ¶
func (*PhoneCallEmpty) ImplementsPhoneCall()
type PhoneCallObj ¶
type PhoneCallObj struct {
P2PAllowed bool `tl:"flag:5,encoded_in_bitflags"`
Video bool `tl:"flag:6,encoded_in_bitflags"`
ID int64
AccessHash int64
Date int32
AdminID int32
ParticipantID int32
GAOrB []byte
KeyFingerprint int64
Protocol *PhoneCallProtocol
Connections []PhoneConnection
StartDate int32
}
func (*PhoneCallObj) CRC ¶
func (*PhoneCallObj) CRC() uint32
func (*PhoneCallObj) FlagIndex ¶
func (*PhoneCallObj) FlagIndex() int
func (*PhoneCallObj) ImplementsPhoneCall ¶
func (*PhoneCallObj) ImplementsPhoneCall()
type PhoneCallProtocol ¶
type PhoneCallProtocol struct {
UdpP2P bool `tl:"flag:0,encoded_in_bitflags"`
UdpReflector bool `tl:"flag:1,encoded_in_bitflags"`
MinLayer int32
MaxLayer int32
LibraryVersions []string
}
func (*PhoneCallProtocol) CRC ¶
func (*PhoneCallProtocol) CRC() uint32
func (*PhoneCallProtocol) FlagIndex ¶
func (*PhoneCallProtocol) FlagIndex() int
type PhoneCallRequested ¶
type PhoneCallRequested struct {
Video bool `tl:"flag:6,encoded_in_bitflags"`
ID int64
AccessHash int64
Date int32
AdminID int32
ParticipantID int32
GAHash []byte
Protocol *PhoneCallProtocol
}
func (*PhoneCallRequested) CRC ¶
func (*PhoneCallRequested) CRC() uint32
func (*PhoneCallRequested) FlagIndex ¶
func (*PhoneCallRequested) FlagIndex() int
func (*PhoneCallRequested) ImplementsPhoneCall ¶
func (*PhoneCallRequested) ImplementsPhoneCall()
type PhoneCallWaiting ¶
type PhoneCallWaiting struct {
Video bool `tl:"flag:6,encoded_in_bitflags"`
ID int64
AccessHash int64
Date int32
AdminID int32
ParticipantID int32
Protocol *PhoneCallProtocol
ReceiveDate int32 `tl:"flag:0"`
}
func (*PhoneCallWaiting) CRC ¶
func (*PhoneCallWaiting) CRC() uint32
func (*PhoneCallWaiting) FlagIndex ¶
func (*PhoneCallWaiting) FlagIndex() int
func (*PhoneCallWaiting) ImplementsPhoneCall ¶
func (*PhoneCallWaiting) ImplementsPhoneCall()
type PhoneConfirmCallParams ¶
type PhoneConfirmCallParams struct {
Peer *InputPhoneCall
GA []byte
KeyFingerprint int64
Protocol *PhoneCallProtocol
}
Get the participants of a channel
func (*PhoneConfirmCallParams) CRC ¶
func (*PhoneConfirmCallParams) CRC() uint32
type PhoneConnection ¶
type PhoneConnectionObj ¶
func (*PhoneConnectionObj) CRC ¶
func (*PhoneConnectionObj) CRC() uint32
func (*PhoneConnectionObj) ImplementsPhoneConnection ¶
func (*PhoneConnectionObj) ImplementsPhoneConnection()
type PhoneConnectionWebrtc ¶
type PhoneConnectionWebrtc struct {
Turn bool `tl:"flag:0,encoded_in_bitflags"`
Stun bool `tl:"flag:1,encoded_in_bitflags"`
ID int64
Ip string
Ipv6 string
Port int32
Username string
Password string
}
func (*PhoneConnectionWebrtc) CRC ¶
func (*PhoneConnectionWebrtc) CRC() uint32
func (*PhoneConnectionWebrtc) FlagIndex ¶
func (*PhoneConnectionWebrtc) FlagIndex() int
func (*PhoneConnectionWebrtc) ImplementsPhoneConnection ¶
func (*PhoneConnectionWebrtc) ImplementsPhoneConnection()
type PhoneDiscardCallParams ¶
type PhoneDiscardCallParams struct {
Video bool `tl:"flag:0,encoded_in_bitflags"`
Peer *InputPhoneCall
Duration int32
Reason PhoneCallDiscardReason
ConnectionID int64
}
Get the participants of a channel
func (*PhoneDiscardCallParams) CRC ¶
func (*PhoneDiscardCallParams) CRC() uint32
func (*PhoneDiscardCallParams) FlagIndex ¶
func (*PhoneDiscardCallParams) FlagIndex() int
type PhoneGetCallConfigParams ¶
type PhoneGetCallConfigParams struct{}
Get the participants of a channel
func (*PhoneGetCallConfigParams) CRC ¶
func (*PhoneGetCallConfigParams) CRC() uint32
type PhonePhoneCall ¶
func (*PhonePhoneCall) CRC ¶
func (*PhonePhoneCall) CRC() uint32
type PhoneReceivedCallParams ¶
type PhoneReceivedCallParams struct {
Peer *InputPhoneCall
}
Get the participants of a channel
func (*PhoneReceivedCallParams) CRC ¶
func (*PhoneReceivedCallParams) CRC() uint32
type PhoneRequestCallParams ¶
type PhoneRequestCallParams struct {
Video bool `tl:"flag:0,encoded_in_bitflags"`
UserID InputUser
RandomID int32
GAHash []byte
Protocol *PhoneCallProtocol
}
Get the participants of a channel
func (*PhoneRequestCallParams) CRC ¶
func (*PhoneRequestCallParams) CRC() uint32
func (*PhoneRequestCallParams) FlagIndex ¶
func (*PhoneRequestCallParams) FlagIndex() int
type PhoneSaveCallDebugParams ¶
type PhoneSaveCallDebugParams struct {
Peer *InputPhoneCall
Debug *DataJson
}
Get the participants of a channel
func (*PhoneSaveCallDebugParams) CRC ¶
func (*PhoneSaveCallDebugParams) CRC() uint32
type PhoneSendSignalingDataParams ¶
type PhoneSendSignalingDataParams struct {
Peer *InputPhoneCall
Data []byte
}
Get the participants of a channel
func (*PhoneSendSignalingDataParams) CRC ¶
func (*PhoneSendSignalingDataParams) CRC() uint32
type PhoneSetCallRatingParams ¶
type PhoneSetCallRatingParams struct {
UserInitiative bool `tl:"flag:0,encoded_in_bitflags"`
Peer *InputPhoneCall
Rating int32
Comment string
}
Get the participants of a channel
func (*PhoneSetCallRatingParams) CRC ¶
func (*PhoneSetCallRatingParams) CRC() uint32
func (*PhoneSetCallRatingParams) FlagIndex ¶
func (*PhoneSetCallRatingParams) FlagIndex() int
type PhotoCachedSize ¶
type PhotoCachedSize struct {
Type string
Location *FileLocationToBeDeprecated
W int32
H int32
Bytes []byte
}
func (*PhotoCachedSize) CRC ¶
func (*PhotoCachedSize) CRC() uint32
func (*PhotoCachedSize) ImplementsPhotoSize ¶
func (*PhotoCachedSize) ImplementsPhotoSize()
type PhotoEmpty ¶
type PhotoEmpty struct {
ID int64
}
func (*PhotoEmpty) CRC ¶
func (*PhotoEmpty) CRC() uint32
func (*PhotoEmpty) ImplementsPhoto ¶
func (*PhotoEmpty) ImplementsPhoto()
type PhotoObj ¶
type PhotoObj struct {
HasStickers bool `tl:"flag:0,encoded_in_bitflags"`
ID int64
AccessHash int64
FileReference []byte
Date int32
Sizes []PhotoSize
VideoSizes []*VideoSize `tl:"flag:1"`
DcID int32
}
func (*PhotoObj) ImplementsPhoto ¶
func (*PhotoObj) ImplementsPhoto()
type PhotoPathSize ¶
func (*PhotoPathSize) CRC ¶
func (*PhotoPathSize) CRC() uint32
func (*PhotoPathSize) ImplementsPhotoSize ¶
func (*PhotoPathSize) ImplementsPhotoSize()
type PhotoSizeEmpty ¶
type PhotoSizeEmpty struct {
Type string
}
func (*PhotoSizeEmpty) CRC ¶
func (*PhotoSizeEmpty) CRC() uint32
func (*PhotoSizeEmpty) ImplementsPhotoSize ¶
func (*PhotoSizeEmpty) ImplementsPhotoSize()
type PhotoSizeObj ¶
type PhotoSizeObj struct {
Type string
Location *FileLocationToBeDeprecated
W int32
H int32
Size int32
}
func (*PhotoSizeObj) CRC ¶
func (*PhotoSizeObj) CRC() uint32
func (*PhotoSizeObj) ImplementsPhotoSize ¶
func (*PhotoSizeObj) ImplementsPhotoSize()
type PhotoSizeProgressive ¶
type PhotoSizeProgressive struct {
Type string
Location *FileLocationToBeDeprecated
W int32
H int32
Sizes []int32
}
func (*PhotoSizeProgressive) CRC ¶
func (*PhotoSizeProgressive) CRC() uint32
func (*PhotoSizeProgressive) ImplementsPhotoSize ¶
func (*PhotoSizeProgressive) ImplementsPhotoSize()
type PhotoStrippedSize ¶
func (*PhotoStrippedSize) CRC ¶
func (*PhotoStrippedSize) CRC() uint32
func (*PhotoStrippedSize) ImplementsPhotoSize ¶
func (*PhotoStrippedSize) ImplementsPhotoSize()
type PhotosDeletePhotosParams ¶
type PhotosDeletePhotosParams struct {
ID []InputPhoto
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*PhotosDeletePhotosParams) CRC ¶
func (*PhotosDeletePhotosParams) CRC() uint32
type PhotosGetUserPhotosParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*PhotosGetUserPhotosParams) CRC ¶
func (*PhotosGetUserPhotosParams) CRC() uint32
type PhotosPhoto ¶
func (*PhotosPhoto) CRC ¶
func (*PhotosPhoto) CRC() uint32
type PhotosPhotos ¶
type PhotosPhotosObj ¶
func (*PhotosPhotosObj) CRC ¶
func (*PhotosPhotosObj) CRC() uint32
func (*PhotosPhotosObj) ImplementsPhotosPhotos ¶
func (*PhotosPhotosObj) ImplementsPhotosPhotos()
type PhotosPhotosSlice ¶
func (*PhotosPhotosSlice) CRC ¶
func (*PhotosPhotosSlice) CRC() uint32
func (*PhotosPhotosSlice) ImplementsPhotosPhotos ¶
func (*PhotosPhotosSlice) ImplementsPhotosPhotos()
type PhotosUpdateProfilePhotoParams ¶
type PhotosUpdateProfilePhotoParams struct {
ID InputPhoto
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*PhotosUpdateProfilePhotoParams) CRC ¶
func (*PhotosUpdateProfilePhotoParams) CRC() uint32
type PhotosUploadProfilePhotoParams ¶
type PhotosUploadProfilePhotoParams struct {
File InputFile `tl:"flag:0"`
Video InputFile `tl:"flag:1"`
VideoStartTs float64 `tl:"flag:2"`
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*PhotosUploadProfilePhotoParams) CRC ¶
func (*PhotosUploadProfilePhotoParams) CRC() uint32
func (*PhotosUploadProfilePhotoParams) FlagIndex ¶
func (*PhotosUploadProfilePhotoParams) FlagIndex() int
type Poll ¶
type Poll struct {
ID int64
Closed bool `tl:"flag:0,encoded_in_bitflags"`
PublicVoters bool `tl:"flag:1,encoded_in_bitflags"`
MultipleChoice bool `tl:"flag:2,encoded_in_bitflags"`
Quiz bool `tl:"flag:3,encoded_in_bitflags"`
Question string
Answers []*PollAnswer
ClosePeriod int32 `tl:"flag:4"`
CloseDate int32 `tl:"flag:5"`
}
type PollAnswer ¶
func (*PollAnswer) CRC ¶
func (*PollAnswer) CRC() uint32
type PollAnswerVoters ¶
type PollAnswerVoters struct {
Chosen bool `tl:"flag:0,encoded_in_bitflags"`
Correct bool `tl:"flag:1,encoded_in_bitflags"`
Option []byte
Voters int32
}
func (*PollAnswerVoters) CRC ¶
func (*PollAnswerVoters) CRC() uint32
func (*PollAnswerVoters) FlagIndex ¶
func (*PollAnswerVoters) FlagIndex() int
type PollResults ¶
type PollResults struct {
Min bool `tl:"flag:0,encoded_in_bitflags"`
Results []*PollAnswerVoters `tl:"flag:1"`
TotalVoters int32 `tl:"flag:2"`
RecentVoters []int32 `tl:"flag:3"`
Solution string `tl:"flag:4"`
SolutionEntities []MessageEntity `tl:"flag:4"`
}
func (*PollResults) CRC ¶
func (*PollResults) CRC() uint32
func (*PollResults) FlagIndex ¶
func (*PollResults) FlagIndex() int
type PopularContact ¶
func (*PopularContact) CRC ¶
func (*PopularContact) CRC() uint32
type PostAddress ¶
type PostAddress struct {
StreetLine1 string
StreetLine2 string
City string
State string
CountryIso2 string
PostCode string
}
func (*PostAddress) CRC ¶
func (*PostAddress) CRC() uint32
type PrivacyKey ¶
type PrivacyKey uint32
const ( PrivacyKeyAddedByPhone PrivacyKey = 0x42ffd42b PrivacyKeyChatInvite PrivacyKey = 0x500e6dfa PrivacyKeyForwards PrivacyKey = 0x69ec56a3 PrivacyKeyPhoneCall PrivacyKey = 0x3d662b7b PrivacyKeyPhoneNumber PrivacyKey = 0xd19ae46d PrivacyKeyPhoneP2P PrivacyKey = 0x39491cc8 PrivacyKeyProfilePhoto PrivacyKey = 0x96151fed PrivacyKeyStatusTimestamp PrivacyKey = 0xbc2eab30 )
func (PrivacyKey) CRC ¶
func (e PrivacyKey) CRC() uint32
func (PrivacyKey) String ¶
func (e PrivacyKey) String() string
type PrivacyRule ¶
type PrivacyValueAllowAll ¶
type PrivacyValueAllowAll struct{}
func (*PrivacyValueAllowAll) CRC ¶
func (*PrivacyValueAllowAll) CRC() uint32
func (*PrivacyValueAllowAll) ImplementsPrivacyRule ¶
func (*PrivacyValueAllowAll) ImplementsPrivacyRule()
type PrivacyValueAllowChatParticipants ¶
type PrivacyValueAllowChatParticipants struct {
Chats []int32
}
func (*PrivacyValueAllowChatParticipants) CRC ¶
func (*PrivacyValueAllowChatParticipants) CRC() uint32
func (*PrivacyValueAllowChatParticipants) ImplementsPrivacyRule ¶
func (*PrivacyValueAllowChatParticipants) ImplementsPrivacyRule()
type PrivacyValueAllowContacts ¶
type PrivacyValueAllowContacts struct{}
func (*PrivacyValueAllowContacts) CRC ¶
func (*PrivacyValueAllowContacts) CRC() uint32
func (*PrivacyValueAllowContacts) ImplementsPrivacyRule ¶
func (*PrivacyValueAllowContacts) ImplementsPrivacyRule()
type PrivacyValueAllowUsers ¶
type PrivacyValueAllowUsers struct {
Users []int32
}
func (*PrivacyValueAllowUsers) CRC ¶
func (*PrivacyValueAllowUsers) CRC() uint32
func (*PrivacyValueAllowUsers) ImplementsPrivacyRule ¶
func (*PrivacyValueAllowUsers) ImplementsPrivacyRule()
type PrivacyValueDisallowAll ¶
type PrivacyValueDisallowAll struct{}
func (*PrivacyValueDisallowAll) CRC ¶
func (*PrivacyValueDisallowAll) CRC() uint32
func (*PrivacyValueDisallowAll) ImplementsPrivacyRule ¶
func (*PrivacyValueDisallowAll) ImplementsPrivacyRule()
type PrivacyValueDisallowChatParticipants ¶
type PrivacyValueDisallowChatParticipants struct {
Chats []int32
}
func (*PrivacyValueDisallowChatParticipants) CRC ¶
func (*PrivacyValueDisallowChatParticipants) CRC() uint32
func (*PrivacyValueDisallowChatParticipants) ImplementsPrivacyRule ¶
func (*PrivacyValueDisallowChatParticipants) ImplementsPrivacyRule()
type PrivacyValueDisallowContacts ¶
type PrivacyValueDisallowContacts struct{}
func (*PrivacyValueDisallowContacts) CRC ¶
func (*PrivacyValueDisallowContacts) CRC() uint32
func (*PrivacyValueDisallowContacts) ImplementsPrivacyRule ¶
func (*PrivacyValueDisallowContacts) ImplementsPrivacyRule()
type PrivacyValueDisallowUsers ¶
type PrivacyValueDisallowUsers struct {
Users []int32
}
func (*PrivacyValueDisallowUsers) CRC ¶
func (*PrivacyValueDisallowUsers) CRC() uint32
func (*PrivacyValueDisallowUsers) ImplementsPrivacyRule ¶
func (*PrivacyValueDisallowUsers) ImplementsPrivacyRule()
type ReceivedNotifyMessage ¶
func (*ReceivedNotifyMessage) CRC ¶
func (*ReceivedNotifyMessage) CRC() uint32
type RecentMeURL ¶
type RecentMeURLChat ¶
func (*RecentMeURLChat) CRC ¶
func (*RecentMeURLChat) CRC() uint32
func (*RecentMeURLChat) ImplementsRecentMeURL ¶
func (*RecentMeURLChat) ImplementsRecentMeURL()
type RecentMeURLChatInvite ¶
type RecentMeURLChatInvite struct {
URL string
ChatInvite ChatInvite
}
func (*RecentMeURLChatInvite) CRC ¶
func (*RecentMeURLChatInvite) CRC() uint32
func (*RecentMeURLChatInvite) ImplementsRecentMeURL ¶
func (*RecentMeURLChatInvite) ImplementsRecentMeURL()
type RecentMeURLStickerSet ¶
type RecentMeURLStickerSet struct {
URL string
Set StickerSetCovered
}
func (*RecentMeURLStickerSet) CRC ¶
func (*RecentMeURLStickerSet) CRC() uint32
func (*RecentMeURLStickerSet) ImplementsRecentMeURL ¶
func (*RecentMeURLStickerSet) ImplementsRecentMeURL()
type RecentMeURLUnknown ¶
type RecentMeURLUnknown struct {
URL string
}
func (*RecentMeURLUnknown) CRC ¶
func (*RecentMeURLUnknown) CRC() uint32
func (*RecentMeURLUnknown) ImplementsRecentMeURL ¶
func (*RecentMeURLUnknown) ImplementsRecentMeURL()
type RecentMeURLUser ¶
func (*RecentMeURLUser) CRC ¶
func (*RecentMeURLUser) CRC() uint32
func (*RecentMeURLUser) ImplementsRecentMeURL ¶
func (*RecentMeURLUser) ImplementsRecentMeURL()
type ReplyInlineMarkup ¶
type ReplyInlineMarkup struct {
Rows []*KeyboardButtonRow
}
func (*ReplyInlineMarkup) CRC ¶
func (*ReplyInlineMarkup) CRC() uint32
func (*ReplyInlineMarkup) ImplementsReplyMarkup ¶
func (*ReplyInlineMarkup) ImplementsReplyMarkup()
type ReplyKeyboardForceReply ¶
type ReplyKeyboardForceReply struct {
SingleUse bool `tl:"flag:1,encoded_in_bitflags"`
Selective bool `tl:"flag:2,encoded_in_bitflags"`
}
func (*ReplyKeyboardForceReply) CRC ¶
func (*ReplyKeyboardForceReply) CRC() uint32
func (*ReplyKeyboardForceReply) FlagIndex ¶
func (*ReplyKeyboardForceReply) FlagIndex() int
func (*ReplyKeyboardForceReply) ImplementsReplyMarkup ¶
func (*ReplyKeyboardForceReply) ImplementsReplyMarkup()
type ReplyKeyboardHide ¶
type ReplyKeyboardHide struct {
Selective bool `tl:"flag:2,encoded_in_bitflags"`
}
func (*ReplyKeyboardHide) CRC ¶
func (*ReplyKeyboardHide) CRC() uint32
func (*ReplyKeyboardHide) FlagIndex ¶
func (*ReplyKeyboardHide) FlagIndex() int
func (*ReplyKeyboardHide) ImplementsReplyMarkup ¶
func (*ReplyKeyboardHide) ImplementsReplyMarkup()
type ReplyKeyboardMarkup ¶
type ReplyKeyboardMarkup struct {
Resize bool `tl:"flag:0,encoded_in_bitflags"`
SingleUse bool `tl:"flag:1,encoded_in_bitflags"`
Selective bool `tl:"flag:2,encoded_in_bitflags"`
Rows []*KeyboardButtonRow
}
func (*ReplyKeyboardMarkup) CRC ¶
func (*ReplyKeyboardMarkup) CRC() uint32
func (*ReplyKeyboardMarkup) FlagIndex ¶
func (*ReplyKeyboardMarkup) FlagIndex() int
func (*ReplyKeyboardMarkup) ImplementsReplyMarkup ¶
func (*ReplyKeyboardMarkup) ImplementsReplyMarkup()
type ReplyMarkup ¶
type ReportReason ¶
type RestrictionReason ¶
func (*RestrictionReason) CRC ¶
func (*RestrictionReason) CRC() uint32
type SavedPhoneContact ¶
func (*SavedPhoneContact) CRC ¶
func (*SavedPhoneContact) CRC() uint32
type SecureCredentialsEncrypted ¶
func (*SecureCredentialsEncrypted) CRC ¶
func (*SecureCredentialsEncrypted) CRC() uint32
type SecureData ¶
func (*SecureData) CRC ¶
func (*SecureData) CRC() uint32
type SecureFile ¶
type SecureFileEmpty ¶
type SecureFileEmpty struct{}
func (*SecureFileEmpty) CRC ¶
func (*SecureFileEmpty) CRC() uint32
func (*SecureFileEmpty) ImplementsSecureFile ¶
func (*SecureFileEmpty) ImplementsSecureFile()
type SecureFileObj ¶
type SecureFileObj struct {
ID int64
AccessHash int64
Size int32
DcID int32
Date int32
FileHash []byte
Secret []byte
}
func (*SecureFileObj) CRC ¶
func (*SecureFileObj) CRC() uint32
func (*SecureFileObj) ImplementsSecureFile ¶
func (*SecureFileObj) ImplementsSecureFile()
type SecurePasswordKdfAlgo ¶
type SecurePasswordKdfAlgoPbkdf2Hmacsha512Iter100000 ¶
type SecurePasswordKdfAlgoPbkdf2Hmacsha512Iter100000 struct {
Salt []byte
}
func (*SecurePasswordKdfAlgoPbkdf2Hmacsha512Iter100000) CRC ¶
func (*SecurePasswordKdfAlgoPbkdf2Hmacsha512Iter100000) CRC() uint32
func (*SecurePasswordKdfAlgoPbkdf2Hmacsha512Iter100000) ImplementsSecurePasswordKdfAlgo ¶
func (*SecurePasswordKdfAlgoPbkdf2Hmacsha512Iter100000) ImplementsSecurePasswordKdfAlgo()
type SecurePasswordKdfAlgoSHA512 ¶
type SecurePasswordKdfAlgoSHA512 struct {
Salt []byte
}
func (*SecurePasswordKdfAlgoSHA512) CRC ¶
func (*SecurePasswordKdfAlgoSHA512) CRC() uint32
func (*SecurePasswordKdfAlgoSHA512) ImplementsSecurePasswordKdfAlgo ¶
func (*SecurePasswordKdfAlgoSHA512) ImplementsSecurePasswordKdfAlgo()
type SecurePasswordKdfAlgoUnknown ¶
type SecurePasswordKdfAlgoUnknown struct{}
func (*SecurePasswordKdfAlgoUnknown) CRC ¶
func (*SecurePasswordKdfAlgoUnknown) CRC() uint32
func (*SecurePasswordKdfAlgoUnknown) ImplementsSecurePasswordKdfAlgo ¶
func (*SecurePasswordKdfAlgoUnknown) ImplementsSecurePasswordKdfAlgo()
type SecurePlainData ¶
type SecurePlainEmail ¶
type SecurePlainEmail struct {
Email string
}
func (*SecurePlainEmail) CRC ¶
func (*SecurePlainEmail) CRC() uint32
func (*SecurePlainEmail) ImplementsSecurePlainData ¶
func (*SecurePlainEmail) ImplementsSecurePlainData()
type SecurePlainPhone ¶
type SecurePlainPhone struct {
Phone string
}
func (*SecurePlainPhone) CRC ¶
func (*SecurePlainPhone) CRC() uint32
func (*SecurePlainPhone) ImplementsSecurePlainData ¶
func (*SecurePlainPhone) ImplementsSecurePlainData()
type SecureRequiredType ¶
type SecureRequiredTypeObj ¶
type SecureRequiredTypeObj struct {
NativeNames bool `tl:"flag:0,encoded_in_bitflags"`
SelfieRequired bool `tl:"flag:1,encoded_in_bitflags"`
TranslationRequired bool `tl:"flag:2,encoded_in_bitflags"`
Type SecureValueType
}
func (*SecureRequiredTypeObj) CRC ¶
func (*SecureRequiredTypeObj) CRC() uint32
func (*SecureRequiredTypeObj) FlagIndex ¶
func (*SecureRequiredTypeObj) FlagIndex() int
func (*SecureRequiredTypeObj) ImplementsSecureRequiredType ¶
func (*SecureRequiredTypeObj) ImplementsSecureRequiredType()
type SecureRequiredTypeOneOf ¶
type SecureRequiredTypeOneOf struct {
Types []SecureRequiredType
}
func (*SecureRequiredTypeOneOf) CRC ¶
func (*SecureRequiredTypeOneOf) CRC() uint32
func (*SecureRequiredTypeOneOf) ImplementsSecureRequiredType ¶
func (*SecureRequiredTypeOneOf) ImplementsSecureRequiredType()
type SecureSecretSettings ¶
type SecureSecretSettings struct {
SecureAlgo SecurePasswordKdfAlgo
SecureSecret []byte
SecureSecretID int64
}
func (*SecureSecretSettings) CRC ¶
func (*SecureSecretSettings) CRC() uint32
type SecureValue ¶
type SecureValue struct {
Type SecureValueType
Data *SecureData `tl:"flag:0"`
FrontSide SecureFile `tl:"flag:1"`
ReverseSide SecureFile `tl:"flag:2"`
Selfie SecureFile `tl:"flag:3"`
Translation []SecureFile `tl:"flag:6"`
Files []SecureFile `tl:"flag:4"`
PlainData SecurePlainData `tl:"flag:5"`
Hash []byte
}
func (*SecureValue) CRC ¶
func (*SecureValue) CRC() uint32
func (*SecureValue) FlagIndex ¶
func (*SecureValue) FlagIndex() int
type SecureValueError ¶
type SecureValueErrorData ¶
type SecureValueErrorData struct {
Type SecureValueType
DataHash []byte
Field string
Text string
}
func (*SecureValueErrorData) CRC ¶
func (*SecureValueErrorData) CRC() uint32
func (*SecureValueErrorData) ImplementsSecureValueError ¶
func (*SecureValueErrorData) ImplementsSecureValueError()
type SecureValueErrorFile ¶
type SecureValueErrorFile struct {
Type SecureValueType
FileHash []byte
Text string
}
func (*SecureValueErrorFile) CRC ¶
func (*SecureValueErrorFile) CRC() uint32
func (*SecureValueErrorFile) ImplementsSecureValueError ¶
func (*SecureValueErrorFile) ImplementsSecureValueError()
type SecureValueErrorFiles ¶
type SecureValueErrorFiles struct {
Type SecureValueType
FileHash [][]byte
Text string
}
func (*SecureValueErrorFiles) CRC ¶
func (*SecureValueErrorFiles) CRC() uint32
func (*SecureValueErrorFiles) ImplementsSecureValueError ¶
func (*SecureValueErrorFiles) ImplementsSecureValueError()
type SecureValueErrorFrontSide ¶
type SecureValueErrorFrontSide struct {
Type SecureValueType
FileHash []byte
Text string
}
func (*SecureValueErrorFrontSide) CRC ¶
func (*SecureValueErrorFrontSide) CRC() uint32
func (*SecureValueErrorFrontSide) ImplementsSecureValueError ¶
func (*SecureValueErrorFrontSide) ImplementsSecureValueError()
type SecureValueErrorObj ¶
type SecureValueErrorObj struct {
Type SecureValueType
Hash []byte
Text string
}
func (*SecureValueErrorObj) CRC ¶
func (*SecureValueErrorObj) CRC() uint32
func (*SecureValueErrorObj) ImplementsSecureValueError ¶
func (*SecureValueErrorObj) ImplementsSecureValueError()
type SecureValueErrorReverseSide ¶
type SecureValueErrorReverseSide struct {
Type SecureValueType
FileHash []byte
Text string
}
func (*SecureValueErrorReverseSide) CRC ¶
func (*SecureValueErrorReverseSide) CRC() uint32
func (*SecureValueErrorReverseSide) ImplementsSecureValueError ¶
func (*SecureValueErrorReverseSide) ImplementsSecureValueError()
type SecureValueErrorSelfie ¶
type SecureValueErrorSelfie struct {
Type SecureValueType
FileHash []byte
Text string
}
func (*SecureValueErrorSelfie) CRC ¶
func (*SecureValueErrorSelfie) CRC() uint32
func (*SecureValueErrorSelfie) ImplementsSecureValueError ¶
func (*SecureValueErrorSelfie) ImplementsSecureValueError()
type SecureValueErrorTranslationFile ¶
type SecureValueErrorTranslationFile struct {
Type SecureValueType
FileHash []byte
Text string
}
func (*SecureValueErrorTranslationFile) CRC ¶
func (*SecureValueErrorTranslationFile) CRC() uint32
func (*SecureValueErrorTranslationFile) ImplementsSecureValueError ¶
func (*SecureValueErrorTranslationFile) ImplementsSecureValueError()
type SecureValueErrorTranslationFiles ¶
type SecureValueErrorTranslationFiles struct {
Type SecureValueType
FileHash [][]byte
Text string
}
func (*SecureValueErrorTranslationFiles) CRC ¶
func (*SecureValueErrorTranslationFiles) CRC() uint32
func (*SecureValueErrorTranslationFiles) ImplementsSecureValueError ¶
func (*SecureValueErrorTranslationFiles) ImplementsSecureValueError()
type SecureValueHash ¶
type SecureValueHash struct {
Type SecureValueType
Hash []byte
}
func (*SecureValueHash) CRC ¶
func (*SecureValueHash) CRC() uint32
type SecureValueType ¶
type SecureValueType uint32
const ( SecureValueTypeAddress SecureValueType = 0xcbe31e26 SecureValueTypeBankStatement SecureValueType = 0x89137c0d SecureValueTypeDriverLicense SecureValueType = 0x6e425c4 SecureValueTypeEmail SecureValueType = 0x8e3ca7ee SecureValueTypeIdentityCard SecureValueType = 0xa0d0744b SecureValueTypeInternalPassport SecureValueType = 0x99a48f23 SecureValueTypePassport SecureValueType = 0x3dac6a00 SecureValueTypePassportRegistration SecureValueType = 0x99e3806a SecureValueTypePersonalDetails SecureValueType = 0x9d2a81e3 SecureValueTypePhone SecureValueType = 0xb320aadb SecureValueTypeRentalAgreement SecureValueType = 0x8b883488 SecureValueTypeTemporaryRegistration SecureValueType = 0xea02ec33 SecureValueTypeUtilityBill SecureValueType = 0xfc36954e )
func (SecureValueType) CRC ¶
func (e SecureValueType) CRC() uint32
func (SecureValueType) String ¶
func (e SecureValueType) String() string
type SendMessageAction ¶
type SendMessageCancelAction ¶
type SendMessageCancelAction struct{}
func (*SendMessageCancelAction) CRC ¶
func (*SendMessageCancelAction) CRC() uint32
func (*SendMessageCancelAction) ImplementsSendMessageAction ¶
func (*SendMessageCancelAction) ImplementsSendMessageAction()
type SendMessageChooseContactAction ¶
type SendMessageChooseContactAction struct{}
func (*SendMessageChooseContactAction) CRC ¶
func (*SendMessageChooseContactAction) CRC() uint32
func (*SendMessageChooseContactAction) ImplementsSendMessageAction ¶
func (*SendMessageChooseContactAction) ImplementsSendMessageAction()
type SendMessageGamePlayAction ¶
type SendMessageGamePlayAction struct{}
func (*SendMessageGamePlayAction) CRC ¶
func (*SendMessageGamePlayAction) CRC() uint32
func (*SendMessageGamePlayAction) ImplementsSendMessageAction ¶
func (*SendMessageGamePlayAction) ImplementsSendMessageAction()
type SendMessageGeoLocationAction ¶
type SendMessageGeoLocationAction struct{}
func (*SendMessageGeoLocationAction) CRC ¶
func (*SendMessageGeoLocationAction) CRC() uint32
func (*SendMessageGeoLocationAction) ImplementsSendMessageAction ¶
func (*SendMessageGeoLocationAction) ImplementsSendMessageAction()
type SendMessageRecordAudioAction ¶
type SendMessageRecordAudioAction struct{}
func (*SendMessageRecordAudioAction) CRC ¶
func (*SendMessageRecordAudioAction) CRC() uint32
func (*SendMessageRecordAudioAction) ImplementsSendMessageAction ¶
func (*SendMessageRecordAudioAction) ImplementsSendMessageAction()
type SendMessageRecordRoundAction ¶
type SendMessageRecordRoundAction struct{}
func (*SendMessageRecordRoundAction) CRC ¶
func (*SendMessageRecordRoundAction) CRC() uint32
func (*SendMessageRecordRoundAction) ImplementsSendMessageAction ¶
func (*SendMessageRecordRoundAction) ImplementsSendMessageAction()
type SendMessageRecordVideoAction ¶
type SendMessageRecordVideoAction struct{}
func (*SendMessageRecordVideoAction) CRC ¶
func (*SendMessageRecordVideoAction) CRC() uint32
func (*SendMessageRecordVideoAction) ImplementsSendMessageAction ¶
func (*SendMessageRecordVideoAction) ImplementsSendMessageAction()
type SendMessageTypingAction ¶
type SendMessageTypingAction struct{}
func (*SendMessageTypingAction) CRC ¶
func (*SendMessageTypingAction) CRC() uint32
func (*SendMessageTypingAction) ImplementsSendMessageAction ¶
func (*SendMessageTypingAction) ImplementsSendMessageAction()
type SendMessageUploadAudioAction ¶
type SendMessageUploadAudioAction struct {
Progress int32
}
func (*SendMessageUploadAudioAction) CRC ¶
func (*SendMessageUploadAudioAction) CRC() uint32
func (*SendMessageUploadAudioAction) ImplementsSendMessageAction ¶
func (*SendMessageUploadAudioAction) ImplementsSendMessageAction()
type SendMessageUploadDocumentAction ¶
type SendMessageUploadDocumentAction struct {
Progress int32
}
func (*SendMessageUploadDocumentAction) CRC ¶
func (*SendMessageUploadDocumentAction) CRC() uint32
func (*SendMessageUploadDocumentAction) ImplementsSendMessageAction ¶
func (*SendMessageUploadDocumentAction) ImplementsSendMessageAction()
type SendMessageUploadPhotoAction ¶
type SendMessageUploadPhotoAction struct {
Progress int32
}
func (*SendMessageUploadPhotoAction) CRC ¶
func (*SendMessageUploadPhotoAction) CRC() uint32
func (*SendMessageUploadPhotoAction) ImplementsSendMessageAction ¶
func (*SendMessageUploadPhotoAction) ImplementsSendMessageAction()
type SendMessageUploadRoundAction ¶
type SendMessageUploadRoundAction struct {
Progress int32
}
func (*SendMessageUploadRoundAction) CRC ¶
func (*SendMessageUploadRoundAction) CRC() uint32
func (*SendMessageUploadRoundAction) ImplementsSendMessageAction ¶
func (*SendMessageUploadRoundAction) ImplementsSendMessageAction()
type SendMessageUploadVideoAction ¶
type SendMessageUploadVideoAction struct {
Progress int32
}
func (*SendMessageUploadVideoAction) CRC ¶
func (*SendMessageUploadVideoAction) CRC() uint32
func (*SendMessageUploadVideoAction) ImplementsSendMessageAction ¶
func (*SendMessageUploadVideoAction) ImplementsSendMessageAction()
type ShippingOption ¶
type ShippingOption struct {
ID string
Title string
Prices []*LabeledPrice
}
func (*ShippingOption) CRC ¶
func (*ShippingOption) CRC() uint32
type StatsAbsValueAndPrev ¶
func (*StatsAbsValueAndPrev) CRC ¶
func (*StatsAbsValueAndPrev) CRC() uint32
type StatsBroadcastStats ¶
type StatsBroadcastStats struct {
Period *StatsDateRangeDays
Followers *StatsAbsValueAndPrev
ViewsPerPost *StatsAbsValueAndPrev
EnabledNotifications *StatsPercentValue
GrowthGraph StatsGraph
FollowersGraph StatsGraph
MuteGraph StatsGraph
TopHoursGraph StatsGraph
InteractionsGraph StatsGraph
IvInteractionsGraph StatsGraph
ViewsBySourceGraph StatsGraph
NewFollowersBySourceGraph StatsGraph
LanguagesGraph StatsGraph
RecentMessageInteractions []*MessageInteractionCounters
}
func (*StatsBroadcastStats) CRC ¶
func (*StatsBroadcastStats) CRC() uint32
type StatsDateRangeDays ¶
func (*StatsDateRangeDays) CRC ¶
func (*StatsDateRangeDays) CRC() uint32
type StatsGetBroadcastStatsParams ¶
type StatsGetBroadcastStatsParams struct {
Dark bool `tl:"flag:0,encoded_in_bitflags"`
Channel InputChannel // Channel
}
Get the participants of a channel
func (*StatsGetBroadcastStatsParams) CRC ¶
func (*StatsGetBroadcastStatsParams) CRC() uint32
func (*StatsGetBroadcastStatsParams) FlagIndex ¶
func (*StatsGetBroadcastStatsParams) FlagIndex() int
type StatsGetMegagroupStatsParams ¶
type StatsGetMegagroupStatsParams struct {
Dark bool `tl:"flag:0,encoded_in_bitflags"`
Channel InputChannel // Channel
}
Get the participants of a channel
func (*StatsGetMegagroupStatsParams) CRC ¶
func (*StatsGetMegagroupStatsParams) CRC() uint32
func (*StatsGetMegagroupStatsParams) FlagIndex ¶
func (*StatsGetMegagroupStatsParams) FlagIndex() int
type StatsGetMessagePublicForwardsParams ¶
type StatsGetMessagePublicForwardsParams struct {
Channel InputChannel // Channel
MsgID int32 // Message identifier on which a current query depends
OffsetRate int32
OffsetPeer InputPeer
OffsetID int32
Limit int32
}
Get the participants of a channel
func (*StatsGetMessagePublicForwardsParams) CRC ¶
func (*StatsGetMessagePublicForwardsParams) CRC() uint32
type StatsGetMessageStatsParams ¶
type StatsGetMessageStatsParams struct {
Dark bool `tl:"flag:0,encoded_in_bitflags"`
Channel InputChannel // Channel
MsgID int32 // Message identifier on which a current query depends
}
Get the participants of a channel
func (*StatsGetMessageStatsParams) CRC ¶
func (*StatsGetMessageStatsParams) CRC() uint32
func (*StatsGetMessageStatsParams) FlagIndex ¶
func (*StatsGetMessageStatsParams) FlagIndex() int
type StatsGraph ¶
type StatsGraphAsync ¶
type StatsGraphAsync struct {
Token string
}
func (*StatsGraphAsync) CRC ¶
func (*StatsGraphAsync) CRC() uint32
func (*StatsGraphAsync) ImplementsStatsGraph ¶
func (*StatsGraphAsync) ImplementsStatsGraph()
type StatsGraphError ¶
type StatsGraphError struct {
Error string
}
func (*StatsGraphError) CRC ¶
func (*StatsGraphError) CRC() uint32
func (*StatsGraphError) ImplementsStatsGraph ¶
func (*StatsGraphError) ImplementsStatsGraph()
type StatsGraphObj ¶
func (*StatsGraphObj) CRC ¶
func (*StatsGraphObj) CRC() uint32
func (*StatsGraphObj) FlagIndex ¶
func (*StatsGraphObj) FlagIndex() int
func (*StatsGraphObj) ImplementsStatsGraph ¶
func (*StatsGraphObj) ImplementsStatsGraph()
type StatsGroupTopAdmin ¶
func (*StatsGroupTopAdmin) CRC ¶
func (*StatsGroupTopAdmin) CRC() uint32
type StatsGroupTopInviter ¶
func (*StatsGroupTopInviter) CRC ¶
func (*StatsGroupTopInviter) CRC() uint32
type StatsGroupTopPoster ¶
func (*StatsGroupTopPoster) CRC ¶
func (*StatsGroupTopPoster) CRC() uint32
type StatsLoadAsyncGraphParams ¶
Get the participants of a channel
func (*StatsLoadAsyncGraphParams) CRC ¶
func (*StatsLoadAsyncGraphParams) CRC() uint32
func (*StatsLoadAsyncGraphParams) FlagIndex ¶
func (*StatsLoadAsyncGraphParams) FlagIndex() int
type StatsMegagroupStats ¶
type StatsMegagroupStats struct {
Period *StatsDateRangeDays
Members *StatsAbsValueAndPrev
Messages *StatsAbsValueAndPrev
Viewers *StatsAbsValueAndPrev
Posters *StatsAbsValueAndPrev
GrowthGraph StatsGraph
MembersGraph StatsGraph
NewMembersBySourceGraph StatsGraph
LanguagesGraph StatsGraph
MessagesGraph StatsGraph
ActionsGraph StatsGraph
TopHoursGraph StatsGraph
WeekdaysGraph StatsGraph
TopPosters []*StatsGroupTopPoster
TopAdmins []*StatsGroupTopAdmin
TopInviters []*StatsGroupTopInviter
Users []User
}
func (*StatsMegagroupStats) CRC ¶
func (*StatsMegagroupStats) CRC() uint32
type StatsMessageStats ¶
type StatsMessageStats struct {
ViewsGraph StatsGraph
}
func (*StatsMessageStats) CRC ¶
func (*StatsMessageStats) CRC() uint32
type StatsPercentValue ¶
func (*StatsPercentValue) CRC ¶
func (*StatsPercentValue) CRC() uint32
type StickerPack ¶
func (*StickerPack) CRC ¶
func (*StickerPack) CRC() uint32
type StickerSet ¶
type StickerSet struct {
Archived bool `tl:"flag:1,encoded_in_bitflags"`
Official bool `tl:"flag:2,encoded_in_bitflags"`
Masks bool `tl:"flag:3,encoded_in_bitflags"`
Animated bool `tl:"flag:5,encoded_in_bitflags"`
InstalledDate int32 `tl:"flag:0"`
ID int64
AccessHash int64
Title string
ShortName string
Thumb PhotoSize `tl:"flag:4"`
ThumbDcID int32 `tl:"flag:4"`
Count int32
Hash int32
}
func (*StickerSet) CRC ¶
func (*StickerSet) CRC() uint32
func (*StickerSet) FlagIndex ¶
func (*StickerSet) FlagIndex() int
type StickerSetCovered ¶
type StickerSetCoveredObj ¶
type StickerSetCoveredObj struct {
Set *StickerSet
Cover Document
}
func (*StickerSetCoveredObj) CRC ¶
func (*StickerSetCoveredObj) CRC() uint32
func (*StickerSetCoveredObj) ImplementsStickerSetCovered ¶
func (*StickerSetCoveredObj) ImplementsStickerSetCovered()
type StickerSetMultiCovered ¶
type StickerSetMultiCovered struct {
Set *StickerSet
Covers []Document
}
func (*StickerSetMultiCovered) CRC ¶
func (*StickerSetMultiCovered) CRC() uint32
func (*StickerSetMultiCovered) ImplementsStickerSetCovered ¶
func (*StickerSetMultiCovered) ImplementsStickerSetCovered()
type StickersAddStickerToSetParams ¶
type StickersAddStickerToSetParams struct {
Stickerset InputStickerSet
Sticker *InputStickerSetItem
}
Get the participants of a channel
func (*StickersAddStickerToSetParams) CRC ¶
func (*StickersAddStickerToSetParams) CRC() uint32
type StickersChangeStickerPositionParams ¶
type StickersChangeStickerPositionParams struct {
Sticker InputDocument
Position int32
}
Get the participants of a channel
func (*StickersChangeStickerPositionParams) CRC ¶
func (*StickersChangeStickerPositionParams) CRC() uint32
type StickersCreateStickerSetParams ¶
type StickersCreateStickerSetParams struct {
Masks bool `tl:"flag:0,encoded_in_bitflags"`
Animated bool `tl:"flag:1,encoded_in_bitflags"`
UserID InputUser
Title string
ShortName string
Thumb InputDocument `tl:"flag:2"`
Stickers []*InputStickerSetItem
}
Get the participants of a channel
func (*StickersCreateStickerSetParams) CRC ¶
func (*StickersCreateStickerSetParams) CRC() uint32
func (*StickersCreateStickerSetParams) FlagIndex ¶
func (*StickersCreateStickerSetParams) FlagIndex() int
type StickersRemoveStickerFromSetParams ¶
type StickersRemoveStickerFromSetParams struct {
Sticker InputDocument
}
Get the participants of a channel
func (*StickersRemoveStickerFromSetParams) CRC ¶
func (*StickersRemoveStickerFromSetParams) CRC() uint32
type StickersSetStickerSetThumbParams ¶
type StickersSetStickerSetThumbParams struct {
Stickerset InputStickerSet
Thumb InputDocument
}
Get the participants of a channel
func (*StickersSetStickerSetThumbParams) CRC ¶
func (*StickersSetStickerSetThumbParams) CRC() uint32
type StorageFileType ¶
type StorageFileType uint32
const ( StorageFileGif StorageFileType = 0xcae1aadf StorageFileJpeg StorageFileType = 0x7efe0e StorageFileMov StorageFileType = 0x4b09ebbc StorageFileMp3 StorageFileType = 0x528a0677 StorageFileMp4 StorageFileType = 0xb3cea0e4 StorageFilePartial StorageFileType = 0x40bc6f52 StorageFilePdf StorageFileType = 0xae1e508d StorageFilePng StorageFileType = 0xa4f63c0 StorageFileUnknown StorageFileType = 0xaa963b05 StorageFileWebp StorageFileType = 0x1081464c )
func (StorageFileType) CRC ¶
func (e StorageFileType) CRC() uint32
func (StorageFileType) String ¶
func (e StorageFileType) String() string
type TextAnchor ¶
func (*TextAnchor) CRC ¶
func (*TextAnchor) CRC() uint32
func (*TextAnchor) ImplementsRichText ¶
func (*TextAnchor) ImplementsRichText()
type TextBold ¶
type TextBold struct {
Text RichText
}
func (*TextBold) ImplementsRichText ¶
func (*TextBold) ImplementsRichText()
type TextConcat ¶
type TextConcat struct {
Texts []RichText
}
func (*TextConcat) CRC ¶
func (*TextConcat) CRC() uint32
func (*TextConcat) ImplementsRichText ¶
func (*TextConcat) ImplementsRichText()
type TextEmail ¶
func (*TextEmail) ImplementsRichText ¶
func (*TextEmail) ImplementsRichText()
type TextEmpty ¶
type TextEmpty struct{}
func (*TextEmpty) ImplementsRichText ¶
func (*TextEmpty) ImplementsRichText()
type TextFixed ¶
type TextFixed struct {
Text RichText
}
func (*TextFixed) ImplementsRichText ¶
func (*TextFixed) ImplementsRichText()
type TextImage ¶
func (*TextImage) ImplementsRichText ¶
func (*TextImage) ImplementsRichText()
type TextItalic ¶
type TextItalic struct {
Text RichText
}
func (*TextItalic) CRC ¶
func (*TextItalic) CRC() uint32
func (*TextItalic) ImplementsRichText ¶
func (*TextItalic) ImplementsRichText()
type TextMarked ¶
type TextMarked struct {
Text RichText
}
func (*TextMarked) CRC ¶
func (*TextMarked) CRC() uint32
func (*TextMarked) ImplementsRichText ¶
func (*TextMarked) ImplementsRichText()
type TextPhone ¶
func (*TextPhone) ImplementsRichText ¶
func (*TextPhone) ImplementsRichText()
type TextPlain ¶
type TextPlain struct {
Text string
}
func (*TextPlain) ImplementsRichText ¶
func (*TextPlain) ImplementsRichText()
type TextStrike ¶
type TextStrike struct {
Text RichText
}
func (*TextStrike) CRC ¶
func (*TextStrike) CRC() uint32
func (*TextStrike) ImplementsRichText ¶
func (*TextStrike) ImplementsRichText()
type TextSubscript ¶
type TextSubscript struct {
Text RichText
}
func (*TextSubscript) CRC ¶
func (*TextSubscript) CRC() uint32
func (*TextSubscript) ImplementsRichText ¶
func (*TextSubscript) ImplementsRichText()
type TextSuperscript ¶
type TextSuperscript struct {
Text RichText
}
func (*TextSuperscript) CRC ¶
func (*TextSuperscript) CRC() uint32
func (*TextSuperscript) ImplementsRichText ¶
func (*TextSuperscript) ImplementsRichText()
type TextURL ¶
func (*TextURL) ImplementsRichText ¶
func (*TextURL) ImplementsRichText()
type TextUnderline ¶
type TextUnderline struct {
Text RichText
}
func (*TextUnderline) CRC ¶
func (*TextUnderline) CRC() uint32
func (*TextUnderline) ImplementsRichText ¶
func (*TextUnderline) ImplementsRichText()
type Theme ¶
type ThemeSettings ¶
type ThemeSettings struct {
BaseTheme BaseTheme
AccentColor int32
MessageTopColor int32 `tl:"flag:0"`
MessageBottomColor int32 `tl:"flag:0"`
Wallpaper WallPaper `tl:"flag:1"`
}
func (*ThemeSettings) CRC ¶
func (*ThemeSettings) CRC() uint32
func (*ThemeSettings) FlagIndex ¶
func (*ThemeSettings) FlagIndex() int
type TopPeerCategory ¶
type TopPeerCategory uint32
const ( TopPeerCategoryBotsInline TopPeerCategory = 0x148677e2 TopPeerCategoryBotsPm TopPeerCategory = 0xab661b5b TopPeerCategoryChannels TopPeerCategory = 0x161d9628 TopPeerCategoryCorrespondents TopPeerCategory = 0x637b7ed TopPeerCategoryForwardChats TopPeerCategory = 0xfbeec0f0 TopPeerCategoryForwardUsers TopPeerCategory = 0xa8406ca9 TopPeerCategoryGroups TopPeerCategory = 0xbd17a14a TopPeerCategoryPhoneCalls TopPeerCategory = 0x1e76a78c )
func (TopPeerCategory) CRC ¶
func (e TopPeerCategory) CRC() uint32
func (TopPeerCategory) String ¶
func (e TopPeerCategory) String() string
type TopPeerCategoryPeers ¶
type TopPeerCategoryPeers struct {
Category TopPeerCategory
Count int32
Peers []*TopPeer
}
func (*TopPeerCategoryPeers) CRC ¶
func (*TopPeerCategoryPeers) CRC() uint32
type URLAuthResult ¶
type URLAuthResultAccepted ¶
type URLAuthResultAccepted struct {
URL string
}
func (*URLAuthResultAccepted) CRC ¶
func (*URLAuthResultAccepted) CRC() uint32
func (*URLAuthResultAccepted) ImplementsURLAuthResult ¶
func (*URLAuthResultAccepted) ImplementsURLAuthResult()
type URLAuthResultDefault ¶
type URLAuthResultDefault struct{}
func (*URLAuthResultDefault) CRC ¶
func (*URLAuthResultDefault) CRC() uint32
func (*URLAuthResultDefault) ImplementsURLAuthResult ¶
func (*URLAuthResultDefault) ImplementsURLAuthResult()
type URLAuthResultRequest ¶
type URLAuthResultRequest struct {
RequestWriteAccess bool `tl:"flag:0,encoded_in_bitflags"`
Bot User
Domain string
}
func (*URLAuthResultRequest) CRC ¶
func (*URLAuthResultRequest) CRC() uint32
func (*URLAuthResultRequest) FlagIndex ¶
func (*URLAuthResultRequest) FlagIndex() int
func (*URLAuthResultRequest) ImplementsURLAuthResult ¶
func (*URLAuthResultRequest) ImplementsURLAuthResult()
type UpdateBotCallbackQuery ¶
type UpdateBotCallbackQuery struct {
QueryID int64
UserID int32
Peer Peer
MsgID int32
ChatInstance int64
Data []byte `tl:"flag:0"`
GameShortName string `tl:"flag:1"`
}
func (*UpdateBotCallbackQuery) CRC ¶
func (*UpdateBotCallbackQuery) CRC() uint32
func (*UpdateBotCallbackQuery) FlagIndex ¶
func (*UpdateBotCallbackQuery) FlagIndex() int
func (*UpdateBotCallbackQuery) ImplementsUpdate ¶
func (*UpdateBotCallbackQuery) ImplementsUpdate()
type UpdateBotInlineQuery ¶
type UpdateBotInlineQuery struct {
QueryID int64
UserID int32
Query string
Geo GeoPoint `tl:"flag:0"`
Offset string
}
func (*UpdateBotInlineQuery) CRC ¶
func (*UpdateBotInlineQuery) CRC() uint32
func (*UpdateBotInlineQuery) FlagIndex ¶
func (*UpdateBotInlineQuery) FlagIndex() int
func (*UpdateBotInlineQuery) ImplementsUpdate ¶
func (*UpdateBotInlineQuery) ImplementsUpdate()
type UpdateBotInlineSend ¶
type UpdateBotInlineSend struct {
UserID int32
Query string
Geo GeoPoint `tl:"flag:0"`
ID string
MsgID *InputBotInlineMessageID `tl:"flag:1"`
}
func (*UpdateBotInlineSend) CRC ¶
func (*UpdateBotInlineSend) CRC() uint32
func (*UpdateBotInlineSend) FlagIndex ¶
func (*UpdateBotInlineSend) FlagIndex() int
func (*UpdateBotInlineSend) ImplementsUpdate ¶
func (*UpdateBotInlineSend) ImplementsUpdate()
type UpdateBotPrecheckoutQuery ¶
type UpdateBotPrecheckoutQuery struct {
QueryID int64
UserID int32
Payload []byte
Info *PaymentRequestedInfo `tl:"flag:0"`
ShippingOptionID string `tl:"flag:1"`
Currency string
TotalAmount int64
}
func (*UpdateBotPrecheckoutQuery) CRC ¶
func (*UpdateBotPrecheckoutQuery) CRC() uint32
func (*UpdateBotPrecheckoutQuery) FlagIndex ¶
func (*UpdateBotPrecheckoutQuery) FlagIndex() int
func (*UpdateBotPrecheckoutQuery) ImplementsUpdate ¶
func (*UpdateBotPrecheckoutQuery) ImplementsUpdate()
type UpdateBotShippingQuery ¶
type UpdateBotShippingQuery struct {
QueryID int64
UserID int32
Payload []byte
ShippingAddress *PostAddress
}
func (*UpdateBotShippingQuery) CRC ¶
func (*UpdateBotShippingQuery) CRC() uint32
func (*UpdateBotShippingQuery) ImplementsUpdate ¶
func (*UpdateBotShippingQuery) ImplementsUpdate()
type UpdateBotWebhookJson ¶
type UpdateBotWebhookJson struct {
Data *DataJson
}
func (*UpdateBotWebhookJson) CRC ¶
func (*UpdateBotWebhookJson) CRC() uint32
func (*UpdateBotWebhookJson) ImplementsUpdate ¶
func (*UpdateBotWebhookJson) ImplementsUpdate()
type UpdateBotWebhookJsonQuery ¶
func (*UpdateBotWebhookJsonQuery) CRC ¶
func (*UpdateBotWebhookJsonQuery) CRC() uint32
func (*UpdateBotWebhookJsonQuery) ImplementsUpdate ¶
func (*UpdateBotWebhookJsonQuery) ImplementsUpdate()
type UpdateChannel ¶
type UpdateChannel struct {
ChannelID int32
}
func (*UpdateChannel) CRC ¶
func (*UpdateChannel) CRC() uint32
func (*UpdateChannel) ImplementsUpdate ¶
func (*UpdateChannel) ImplementsUpdate()
type UpdateChannelAvailableMessages ¶
func (*UpdateChannelAvailableMessages) CRC ¶
func (*UpdateChannelAvailableMessages) CRC() uint32
func (*UpdateChannelAvailableMessages) ImplementsUpdate ¶
func (*UpdateChannelAvailableMessages) ImplementsUpdate()
type UpdateChannelMessageForwards ¶
func (*UpdateChannelMessageForwards) CRC ¶
func (*UpdateChannelMessageForwards) CRC() uint32
func (*UpdateChannelMessageForwards) ImplementsUpdate ¶
func (*UpdateChannelMessageForwards) ImplementsUpdate()
type UpdateChannelMessageViews ¶
func (*UpdateChannelMessageViews) CRC ¶
func (*UpdateChannelMessageViews) CRC() uint32
func (*UpdateChannelMessageViews) ImplementsUpdate ¶
func (*UpdateChannelMessageViews) ImplementsUpdate()
type UpdateChannelParticipant ¶
type UpdateChannelParticipant struct {
ChannelID int32
Date int32
UserID int32
PrevParticipant ChannelParticipant `tl:"flag:0"`
NewParticipant ChannelParticipant `tl:"flag:1"`
Qts int32
}
func (*UpdateChannelParticipant) CRC ¶
func (*UpdateChannelParticipant) CRC() uint32
func (*UpdateChannelParticipant) FlagIndex ¶
func (*UpdateChannelParticipant) FlagIndex() int
func (*UpdateChannelParticipant) ImplementsUpdate ¶
func (*UpdateChannelParticipant) ImplementsUpdate()
type UpdateChannelReadMessagesContents ¶
func (*UpdateChannelReadMessagesContents) CRC ¶
func (*UpdateChannelReadMessagesContents) CRC() uint32
func (*UpdateChannelReadMessagesContents) ImplementsUpdate ¶
func (*UpdateChannelReadMessagesContents) ImplementsUpdate()
type UpdateChannelTooLong ¶
func (*UpdateChannelTooLong) CRC ¶
func (*UpdateChannelTooLong) CRC() uint32
func (*UpdateChannelTooLong) FlagIndex ¶
func (*UpdateChannelTooLong) FlagIndex() int
func (*UpdateChannelTooLong) ImplementsUpdate ¶
func (*UpdateChannelTooLong) ImplementsUpdate()
type UpdateChannelUserTyping ¶
type UpdateChannelUserTyping struct {
ChannelID int32
TopMsgID int32 `tl:"flag:0"`
UserID int32
Action SendMessageAction
}
func (*UpdateChannelUserTyping) CRC ¶
func (*UpdateChannelUserTyping) CRC() uint32
func (*UpdateChannelUserTyping) FlagIndex ¶
func (*UpdateChannelUserTyping) FlagIndex() int
func (*UpdateChannelUserTyping) ImplementsUpdate ¶
func (*UpdateChannelUserTyping) ImplementsUpdate()
type UpdateChannelWebPage ¶
func (*UpdateChannelWebPage) CRC ¶
func (*UpdateChannelWebPage) CRC() uint32
func (*UpdateChannelWebPage) ImplementsUpdate ¶
func (*UpdateChannelWebPage) ImplementsUpdate()
type UpdateChatDefaultBannedRights ¶
type UpdateChatDefaultBannedRights struct {
Peer Peer
DefaultBannedRights *ChatBannedRights
Version int32
}
func (*UpdateChatDefaultBannedRights) CRC ¶
func (*UpdateChatDefaultBannedRights) CRC() uint32
func (*UpdateChatDefaultBannedRights) ImplementsUpdate ¶
func (*UpdateChatDefaultBannedRights) ImplementsUpdate()
type UpdateChatParticipantAdd ¶
type UpdateChatParticipantAdd struct {
ChatID int32
UserID int32
InviterID int32
Date int32
Version int32
}
func (*UpdateChatParticipantAdd) CRC ¶
func (*UpdateChatParticipantAdd) CRC() uint32
func (*UpdateChatParticipantAdd) ImplementsUpdate ¶
func (*UpdateChatParticipantAdd) ImplementsUpdate()
type UpdateChatParticipantAdmin ¶
func (*UpdateChatParticipantAdmin) CRC ¶
func (*UpdateChatParticipantAdmin) CRC() uint32
func (*UpdateChatParticipantAdmin) ImplementsUpdate ¶
func (*UpdateChatParticipantAdmin) ImplementsUpdate()
type UpdateChatParticipantDelete ¶
func (*UpdateChatParticipantDelete) CRC ¶
func (*UpdateChatParticipantDelete) CRC() uint32
func (*UpdateChatParticipantDelete) ImplementsUpdate ¶
func (*UpdateChatParticipantDelete) ImplementsUpdate()
type UpdateChatParticipants ¶
type UpdateChatParticipants struct {
Participants ChatParticipants
}
func (*UpdateChatParticipants) CRC ¶
func (*UpdateChatParticipants) CRC() uint32
func (*UpdateChatParticipants) ImplementsUpdate ¶
func (*UpdateChatParticipants) ImplementsUpdate()
type UpdateChatUserTyping ¶
type UpdateChatUserTyping struct {
ChatID int32
UserID int32
Action SendMessageAction
}
func (*UpdateChatUserTyping) CRC ¶
func (*UpdateChatUserTyping) CRC() uint32
func (*UpdateChatUserTyping) ImplementsUpdate ¶
func (*UpdateChatUserTyping) ImplementsUpdate()
type UpdateConfig ¶
type UpdateConfig struct{}
func (*UpdateConfig) CRC ¶
func (*UpdateConfig) CRC() uint32
func (*UpdateConfig) ImplementsUpdate ¶
func (*UpdateConfig) ImplementsUpdate()
type UpdateContactsReset ¶
type UpdateContactsReset struct{}
func (*UpdateContactsReset) CRC ¶
func (*UpdateContactsReset) CRC() uint32
func (*UpdateContactsReset) ImplementsUpdate ¶
func (*UpdateContactsReset) ImplementsUpdate()
type UpdateDcOptions ¶
type UpdateDcOptions struct {
DcOptions []*DcOption
}
func (*UpdateDcOptions) CRC ¶
func (*UpdateDcOptions) CRC() uint32
func (*UpdateDcOptions) ImplementsUpdate ¶
func (*UpdateDcOptions) ImplementsUpdate()
type UpdateDeleteChannelMessages ¶
type UpdateDeleteChannelMessages struct {
ChannelID int32
Messages []int32
Pts int32
PtsCount int32
}
func (*UpdateDeleteChannelMessages) CRC ¶
func (*UpdateDeleteChannelMessages) CRC() uint32
func (*UpdateDeleteChannelMessages) ImplementsUpdate ¶
func (*UpdateDeleteChannelMessages) ImplementsUpdate()
type UpdateDeleteMessages ¶
func (*UpdateDeleteMessages) CRC ¶
func (*UpdateDeleteMessages) CRC() uint32
func (*UpdateDeleteMessages) ImplementsUpdate ¶
func (*UpdateDeleteMessages) ImplementsUpdate()
type UpdateDeleteScheduledMessages ¶
func (*UpdateDeleteScheduledMessages) CRC ¶
func (*UpdateDeleteScheduledMessages) CRC() uint32
func (*UpdateDeleteScheduledMessages) ImplementsUpdate ¶
func (*UpdateDeleteScheduledMessages) ImplementsUpdate()
type UpdateDialogFilter ¶
type UpdateDialogFilter struct {
ID int32
Filter *DialogFilter `tl:"flag:0"`
}
func (*UpdateDialogFilter) CRC ¶
func (*UpdateDialogFilter) CRC() uint32
func (*UpdateDialogFilter) FlagIndex ¶
func (*UpdateDialogFilter) FlagIndex() int
func (*UpdateDialogFilter) ImplementsUpdate ¶
func (*UpdateDialogFilter) ImplementsUpdate()
type UpdateDialogFilterOrder ¶
type UpdateDialogFilterOrder struct {
Order []int32
}
func (*UpdateDialogFilterOrder) CRC ¶
func (*UpdateDialogFilterOrder) CRC() uint32
func (*UpdateDialogFilterOrder) ImplementsUpdate ¶
func (*UpdateDialogFilterOrder) ImplementsUpdate()
type UpdateDialogFilters ¶
type UpdateDialogFilters struct{}
func (*UpdateDialogFilters) CRC ¶
func (*UpdateDialogFilters) CRC() uint32
func (*UpdateDialogFilters) ImplementsUpdate ¶
func (*UpdateDialogFilters) ImplementsUpdate()
type UpdateDialogPinned ¶
type UpdateDialogPinned struct {
Pinned bool `tl:"flag:0,encoded_in_bitflags"`
FolderID int32 `tl:"flag:1"`
Peer DialogPeer
}
func (*UpdateDialogPinned) CRC ¶
func (*UpdateDialogPinned) CRC() uint32
func (*UpdateDialogPinned) FlagIndex ¶
func (*UpdateDialogPinned) FlagIndex() int
func (*UpdateDialogPinned) ImplementsUpdate ¶
func (*UpdateDialogPinned) ImplementsUpdate()
type UpdateDialogUnreadMark ¶
type UpdateDialogUnreadMark struct {
Unread bool `tl:"flag:0,encoded_in_bitflags"`
Peer DialogPeer
}
func (*UpdateDialogUnreadMark) CRC ¶
func (*UpdateDialogUnreadMark) CRC() uint32
func (*UpdateDialogUnreadMark) FlagIndex ¶
func (*UpdateDialogUnreadMark) FlagIndex() int
func (*UpdateDialogUnreadMark) ImplementsUpdate ¶
func (*UpdateDialogUnreadMark) ImplementsUpdate()
type UpdateDraftMessage ¶
type UpdateDraftMessage struct {
Peer Peer
Draft DraftMessage
}
func (*UpdateDraftMessage) CRC ¶
func (*UpdateDraftMessage) CRC() uint32
func (*UpdateDraftMessage) ImplementsUpdate ¶
func (*UpdateDraftMessage) ImplementsUpdate()
type UpdateEditChannelMessage ¶
func (*UpdateEditChannelMessage) CRC ¶
func (*UpdateEditChannelMessage) CRC() uint32
func (*UpdateEditChannelMessage) ImplementsUpdate ¶
func (*UpdateEditChannelMessage) ImplementsUpdate()
type UpdateEditMessage ¶
func (*UpdateEditMessage) CRC ¶
func (*UpdateEditMessage) CRC() uint32
func (*UpdateEditMessage) ImplementsUpdate ¶
func (*UpdateEditMessage) ImplementsUpdate()
type UpdateEncryptedChatTyping ¶
type UpdateEncryptedChatTyping struct {
ChatID int32
}
func (*UpdateEncryptedChatTyping) CRC ¶
func (*UpdateEncryptedChatTyping) CRC() uint32
func (*UpdateEncryptedChatTyping) ImplementsUpdate ¶
func (*UpdateEncryptedChatTyping) ImplementsUpdate()
type UpdateEncryptedMessagesRead ¶
func (*UpdateEncryptedMessagesRead) CRC ¶
func (*UpdateEncryptedMessagesRead) CRC() uint32
func (*UpdateEncryptedMessagesRead) ImplementsUpdate ¶
func (*UpdateEncryptedMessagesRead) ImplementsUpdate()
type UpdateEncryption ¶
type UpdateEncryption struct {
Chat EncryptedChat
Date int32
}
func (*UpdateEncryption) CRC ¶
func (*UpdateEncryption) CRC() uint32
func (*UpdateEncryption) ImplementsUpdate ¶
func (*UpdateEncryption) ImplementsUpdate()
type UpdateFavedStickers ¶
type UpdateFavedStickers struct{}
func (*UpdateFavedStickers) CRC ¶
func (*UpdateFavedStickers) CRC() uint32
func (*UpdateFavedStickers) ImplementsUpdate ¶
func (*UpdateFavedStickers) ImplementsUpdate()
type UpdateFolderPeers ¶
type UpdateFolderPeers struct {
FolderPeers []*FolderPeer
Pts int32
PtsCount int32
}
func (*UpdateFolderPeers) CRC ¶
func (*UpdateFolderPeers) CRC() uint32
func (*UpdateFolderPeers) ImplementsUpdate ¶
func (*UpdateFolderPeers) ImplementsUpdate()
type UpdateGeoLiveViewed ¶
func (*UpdateGeoLiveViewed) CRC ¶
func (*UpdateGeoLiveViewed) CRC() uint32
func (*UpdateGeoLiveViewed) ImplementsUpdate ¶
func (*UpdateGeoLiveViewed) ImplementsUpdate()
type UpdateInlineBotCallbackQuery ¶
type UpdateInlineBotCallbackQuery struct {
QueryID int64
UserID int32
MsgID *InputBotInlineMessageID
ChatInstance int64
Data []byte `tl:"flag:0"`
GameShortName string `tl:"flag:1"`
}
func (*UpdateInlineBotCallbackQuery) CRC ¶
func (*UpdateInlineBotCallbackQuery) CRC() uint32
func (*UpdateInlineBotCallbackQuery) FlagIndex ¶
func (*UpdateInlineBotCallbackQuery) FlagIndex() int
func (*UpdateInlineBotCallbackQuery) ImplementsUpdate ¶
func (*UpdateInlineBotCallbackQuery) ImplementsUpdate()
type UpdateLangPack ¶
type UpdateLangPack struct {
Difference *LangPackDifference
}
func (*UpdateLangPack) CRC ¶
func (*UpdateLangPack) CRC() uint32
func (*UpdateLangPack) ImplementsUpdate ¶
func (*UpdateLangPack) ImplementsUpdate()
type UpdateLangPackTooLong ¶
type UpdateLangPackTooLong struct {
LangCode string
}
func (*UpdateLangPackTooLong) CRC ¶
func (*UpdateLangPackTooLong) CRC() uint32
func (*UpdateLangPackTooLong) ImplementsUpdate ¶
func (*UpdateLangPackTooLong) ImplementsUpdate()
type UpdateLoginToken ¶
type UpdateLoginToken struct{}
func (*UpdateLoginToken) CRC ¶
func (*UpdateLoginToken) CRC() uint32
func (*UpdateLoginToken) ImplementsUpdate ¶
func (*UpdateLoginToken) ImplementsUpdate()
type UpdateMessageID ¶
func (*UpdateMessageID) CRC ¶
func (*UpdateMessageID) CRC() uint32
func (*UpdateMessageID) ImplementsUpdate ¶
func (*UpdateMessageID) ImplementsUpdate()
type UpdateMessagePoll ¶
type UpdateMessagePoll struct {
PollID int64
Poll *Poll `tl:"flag:0"`
Results *PollResults
}
func (*UpdateMessagePoll) CRC ¶
func (*UpdateMessagePoll) CRC() uint32
func (*UpdateMessagePoll) FlagIndex ¶
func (*UpdateMessagePoll) FlagIndex() int
func (*UpdateMessagePoll) ImplementsUpdate ¶
func (*UpdateMessagePoll) ImplementsUpdate()
type UpdateMessagePollVote ¶
func (*UpdateMessagePollVote) CRC ¶
func (*UpdateMessagePollVote) CRC() uint32
func (*UpdateMessagePollVote) ImplementsUpdate ¶
func (*UpdateMessagePollVote) ImplementsUpdate()
type UpdateNewChannelMessage ¶
func (*UpdateNewChannelMessage) CRC ¶
func (*UpdateNewChannelMessage) CRC() uint32
func (*UpdateNewChannelMessage) ImplementsUpdate ¶
func (*UpdateNewChannelMessage) ImplementsUpdate()
type UpdateNewEncryptedMessage ¶
type UpdateNewEncryptedMessage struct {
Message EncryptedMessage
Qts int32
}
func (*UpdateNewEncryptedMessage) CRC ¶
func (*UpdateNewEncryptedMessage) CRC() uint32
func (*UpdateNewEncryptedMessage) ImplementsUpdate ¶
func (*UpdateNewEncryptedMessage) ImplementsUpdate()
type UpdateNewMessage ¶
func (*UpdateNewMessage) CRC ¶
func (*UpdateNewMessage) CRC() uint32
func (*UpdateNewMessage) ImplementsUpdate ¶
func (*UpdateNewMessage) ImplementsUpdate()
type UpdateNewScheduledMessage ¶
type UpdateNewScheduledMessage struct {
Message Message
}
func (*UpdateNewScheduledMessage) CRC ¶
func (*UpdateNewScheduledMessage) CRC() uint32
func (*UpdateNewScheduledMessage) ImplementsUpdate ¶
func (*UpdateNewScheduledMessage) ImplementsUpdate()
type UpdateNewStickerSet ¶
type UpdateNewStickerSet struct {
Stickerset *MessagesStickerSet
}
func (*UpdateNewStickerSet) CRC ¶
func (*UpdateNewStickerSet) CRC() uint32
func (*UpdateNewStickerSet) ImplementsUpdate ¶
func (*UpdateNewStickerSet) ImplementsUpdate()
type UpdateNotifySettings ¶
type UpdateNotifySettings struct {
Peer NotifyPeer
NotifySettings *PeerNotifySettings
}
func (*UpdateNotifySettings) CRC ¶
func (*UpdateNotifySettings) CRC() uint32
func (*UpdateNotifySettings) ImplementsUpdate ¶
func (*UpdateNotifySettings) ImplementsUpdate()
type UpdatePeerBlocked ¶
func (*UpdatePeerBlocked) CRC ¶
func (*UpdatePeerBlocked) CRC() uint32
func (*UpdatePeerBlocked) ImplementsUpdate ¶
func (*UpdatePeerBlocked) ImplementsUpdate()
type UpdatePeerLocated ¶
type UpdatePeerLocated struct {
Peers []PeerLocated
}
func (*UpdatePeerLocated) CRC ¶
func (*UpdatePeerLocated) CRC() uint32
func (*UpdatePeerLocated) ImplementsUpdate ¶
func (*UpdatePeerLocated) ImplementsUpdate()
type UpdatePeerSettings ¶
type UpdatePeerSettings struct {
Peer Peer
Settings *PeerSettings
}
func (*UpdatePeerSettings) CRC ¶
func (*UpdatePeerSettings) CRC() uint32
func (*UpdatePeerSettings) ImplementsUpdate ¶
func (*UpdatePeerSettings) ImplementsUpdate()
type UpdatePhoneCall ¶
type UpdatePhoneCall struct {
PhoneCall PhoneCall
}
func (*UpdatePhoneCall) CRC ¶
func (*UpdatePhoneCall) CRC() uint32
func (*UpdatePhoneCall) ImplementsUpdate ¶
func (*UpdatePhoneCall) ImplementsUpdate()
type UpdatePhoneCallSignalingData ¶
func (*UpdatePhoneCallSignalingData) CRC ¶
func (*UpdatePhoneCallSignalingData) CRC() uint32
func (*UpdatePhoneCallSignalingData) ImplementsUpdate ¶
func (*UpdatePhoneCallSignalingData) ImplementsUpdate()
type UpdatePinnedChannelMessages ¶
type UpdatePinnedChannelMessages struct {
Pinned bool `tl:"flag:0,encoded_in_bitflags"`
ChannelID int32
Messages []int32
Pts int32
PtsCount int32
}
func (*UpdatePinnedChannelMessages) CRC ¶
func (*UpdatePinnedChannelMessages) CRC() uint32
func (*UpdatePinnedChannelMessages) FlagIndex ¶
func (*UpdatePinnedChannelMessages) FlagIndex() int
func (*UpdatePinnedChannelMessages) ImplementsUpdate ¶
func (*UpdatePinnedChannelMessages) ImplementsUpdate()
type UpdatePinnedDialogs ¶
type UpdatePinnedDialogs struct {
FolderID int32 `tl:"flag:1"`
Order []DialogPeer `tl:"flag:0"`
}
func (*UpdatePinnedDialogs) CRC ¶
func (*UpdatePinnedDialogs) CRC() uint32
func (*UpdatePinnedDialogs) FlagIndex ¶
func (*UpdatePinnedDialogs) FlagIndex() int
func (*UpdatePinnedDialogs) ImplementsUpdate ¶
func (*UpdatePinnedDialogs) ImplementsUpdate()
type UpdatePinnedMessages ¶
type UpdatePinnedMessages struct {
Pinned bool `tl:"flag:0,encoded_in_bitflags"`
Peer Peer
Messages []int32
Pts int32
PtsCount int32
}
func (*UpdatePinnedMessages) CRC ¶
func (*UpdatePinnedMessages) CRC() uint32
func (*UpdatePinnedMessages) FlagIndex ¶
func (*UpdatePinnedMessages) FlagIndex() int
func (*UpdatePinnedMessages) ImplementsUpdate ¶
func (*UpdatePinnedMessages) ImplementsUpdate()
type UpdatePrivacy ¶
type UpdatePrivacy struct {
Key PrivacyKey
Rules []PrivacyRule
}
func (*UpdatePrivacy) CRC ¶
func (*UpdatePrivacy) CRC() uint32
func (*UpdatePrivacy) ImplementsUpdate ¶
func (*UpdatePrivacy) ImplementsUpdate()
type UpdatePtsChanged ¶
type UpdatePtsChanged struct{}
func (*UpdatePtsChanged) CRC ¶
func (*UpdatePtsChanged) CRC() uint32
func (*UpdatePtsChanged) ImplementsUpdate ¶
func (*UpdatePtsChanged) ImplementsUpdate()
type UpdateReadChannelDiscussionInbox ¶
type UpdateReadChannelDiscussionInbox struct {
ChannelID int32
TopMsgID int32
ReadMaxID int32
BroadcastID int32 `tl:"flag:0"`
BroadcastPost int32 `tl:"flag:0"`
}
func (*UpdateReadChannelDiscussionInbox) CRC ¶
func (*UpdateReadChannelDiscussionInbox) CRC() uint32
func (*UpdateReadChannelDiscussionInbox) FlagIndex ¶
func (*UpdateReadChannelDiscussionInbox) FlagIndex() int
func (*UpdateReadChannelDiscussionInbox) ImplementsUpdate ¶
func (*UpdateReadChannelDiscussionInbox) ImplementsUpdate()
type UpdateReadChannelDiscussionOutbox ¶
func (*UpdateReadChannelDiscussionOutbox) CRC ¶
func (*UpdateReadChannelDiscussionOutbox) CRC() uint32
func (*UpdateReadChannelDiscussionOutbox) ImplementsUpdate ¶
func (*UpdateReadChannelDiscussionOutbox) ImplementsUpdate()
type UpdateReadChannelInbox ¶
type UpdateReadChannelInbox struct {
FolderID int32 `tl:"flag:0"`
ChannelID int32
MaxID int32
StillUnreadCount int32
Pts int32
}
func (*UpdateReadChannelInbox) CRC ¶
func (*UpdateReadChannelInbox) CRC() uint32
func (*UpdateReadChannelInbox) FlagIndex ¶
func (*UpdateReadChannelInbox) FlagIndex() int
func (*UpdateReadChannelInbox) ImplementsUpdate ¶
func (*UpdateReadChannelInbox) ImplementsUpdate()
type UpdateReadChannelOutbox ¶
func (*UpdateReadChannelOutbox) CRC ¶
func (*UpdateReadChannelOutbox) CRC() uint32
func (*UpdateReadChannelOutbox) ImplementsUpdate ¶
func (*UpdateReadChannelOutbox) ImplementsUpdate()
type UpdateReadFeaturedStickers ¶
type UpdateReadFeaturedStickers struct{}
func (*UpdateReadFeaturedStickers) CRC ¶
func (*UpdateReadFeaturedStickers) CRC() uint32
func (*UpdateReadFeaturedStickers) ImplementsUpdate ¶
func (*UpdateReadFeaturedStickers) ImplementsUpdate()
type UpdateReadHistoryInbox ¶
type UpdateReadHistoryInbox struct {
FolderID int32 `tl:"flag:0"`
Peer Peer
MaxID int32
StillUnreadCount int32
Pts int32
PtsCount int32
}
func (*UpdateReadHistoryInbox) CRC ¶
func (*UpdateReadHistoryInbox) CRC() uint32
func (*UpdateReadHistoryInbox) FlagIndex ¶
func (*UpdateReadHistoryInbox) FlagIndex() int
func (*UpdateReadHistoryInbox) ImplementsUpdate ¶
func (*UpdateReadHistoryInbox) ImplementsUpdate()
type UpdateReadHistoryOutbox ¶
func (*UpdateReadHistoryOutbox) CRC ¶
func (*UpdateReadHistoryOutbox) CRC() uint32
func (*UpdateReadHistoryOutbox) ImplementsUpdate ¶
func (*UpdateReadHistoryOutbox) ImplementsUpdate()
type UpdateReadMessagesContents ¶
func (*UpdateReadMessagesContents) CRC ¶
func (*UpdateReadMessagesContents) CRC() uint32
func (*UpdateReadMessagesContents) ImplementsUpdate ¶
func (*UpdateReadMessagesContents) ImplementsUpdate()
type UpdateRecentStickers ¶
type UpdateRecentStickers struct{}
func (*UpdateRecentStickers) CRC ¶
func (*UpdateRecentStickers) CRC() uint32
func (*UpdateRecentStickers) ImplementsUpdate ¶
func (*UpdateRecentStickers) ImplementsUpdate()
type UpdateSavedGifs ¶
type UpdateSavedGifs struct{}
func (*UpdateSavedGifs) CRC ¶
func (*UpdateSavedGifs) CRC() uint32
func (*UpdateSavedGifs) ImplementsUpdate ¶
func (*UpdateSavedGifs) ImplementsUpdate()
type UpdateServiceNotification ¶
type UpdateServiceNotification struct {
Popup bool `tl:"flag:0,encoded_in_bitflags"`
InboxDate int32 `tl:"flag:1"`
Type string
Message string
Media MessageMedia
Entities []MessageEntity
}
func (*UpdateServiceNotification) CRC ¶
func (*UpdateServiceNotification) CRC() uint32
func (*UpdateServiceNotification) FlagIndex ¶
func (*UpdateServiceNotification) FlagIndex() int
func (*UpdateServiceNotification) ImplementsUpdate ¶
func (*UpdateServiceNotification) ImplementsUpdate()
type UpdateShort ¶
func (*UpdateShort) CRC ¶
func (*UpdateShort) CRC() uint32
func (*UpdateShort) ImplementsUpdates ¶
func (*UpdateShort) ImplementsUpdates()
type UpdateShortChatMessage ¶
type UpdateShortChatMessage struct {
Out bool `tl:"flag:1,encoded_in_bitflags"`
Mentioned bool `tl:"flag:4,encoded_in_bitflags"`
MediaUnread bool `tl:"flag:5,encoded_in_bitflags"`
Silent bool `tl:"flag:13,encoded_in_bitflags"`
ID int32
FromID int32
ChatID int32
Message string
Pts int32
PtsCount int32
Date int32
FwdFrom *MessageFwdHeader `tl:"flag:2"`
ViaBotID int32 `tl:"flag:11"`
ReplyTo *MessageReplyHeader `tl:"flag:3"`
Entities []MessageEntity `tl:"flag:7"`
}
func (*UpdateShortChatMessage) CRC ¶
func (*UpdateShortChatMessage) CRC() uint32
func (*UpdateShortChatMessage) FlagIndex ¶
func (*UpdateShortChatMessage) FlagIndex() int
func (*UpdateShortChatMessage) ImplementsUpdates ¶
func (*UpdateShortChatMessage) ImplementsUpdates()
type UpdateShortMessage ¶
type UpdateShortMessage struct {
Out bool `tl:"flag:1,encoded_in_bitflags"`
Mentioned bool `tl:"flag:4,encoded_in_bitflags"`
MediaUnread bool `tl:"flag:5,encoded_in_bitflags"`
Silent bool `tl:"flag:13,encoded_in_bitflags"`
ID int32
UserID int32
Message string
Pts int32
PtsCount int32
Date int32
FwdFrom *MessageFwdHeader `tl:"flag:2"`
ViaBotID int32 `tl:"flag:11"`
ReplyTo *MessageReplyHeader `tl:"flag:3"`
Entities []MessageEntity `tl:"flag:7"`
}
func (*UpdateShortMessage) CRC ¶
func (*UpdateShortMessage) CRC() uint32
func (*UpdateShortMessage) FlagIndex ¶
func (*UpdateShortMessage) FlagIndex() int
func (*UpdateShortMessage) ImplementsUpdates ¶
func (*UpdateShortMessage) ImplementsUpdates()
type UpdateShortSentMessage ¶
type UpdateShortSentMessage struct {
Out bool `tl:"flag:1,encoded_in_bitflags"`
ID int32
Pts int32
PtsCount int32
Date int32
Media MessageMedia `tl:"flag:9"`
Entities []MessageEntity `tl:"flag:7"`
}
func (*UpdateShortSentMessage) CRC ¶
func (*UpdateShortSentMessage) CRC() uint32
func (*UpdateShortSentMessage) FlagIndex ¶
func (*UpdateShortSentMessage) FlagIndex() int
func (*UpdateShortSentMessage) ImplementsUpdates ¶
func (*UpdateShortSentMessage) ImplementsUpdates()
type UpdateStickerSets ¶
type UpdateStickerSets struct{}
func (*UpdateStickerSets) CRC ¶
func (*UpdateStickerSets) CRC() uint32
func (*UpdateStickerSets) ImplementsUpdate ¶
func (*UpdateStickerSets) ImplementsUpdate()
type UpdateStickerSetsOrder ¶
func (*UpdateStickerSetsOrder) CRC ¶
func (*UpdateStickerSetsOrder) CRC() uint32
func (*UpdateStickerSetsOrder) FlagIndex ¶
func (*UpdateStickerSetsOrder) FlagIndex() int
func (*UpdateStickerSetsOrder) ImplementsUpdate ¶
func (*UpdateStickerSetsOrder) ImplementsUpdate()
type UpdateTheme ¶
type UpdateTheme struct {
Theme *Theme
}
func (*UpdateTheme) CRC ¶
func (*UpdateTheme) CRC() uint32
func (*UpdateTheme) ImplementsUpdate ¶
func (*UpdateTheme) ImplementsUpdate()
type UpdateUserName ¶
func (*UpdateUserName) CRC ¶
func (*UpdateUserName) CRC() uint32
func (*UpdateUserName) ImplementsUpdate ¶
func (*UpdateUserName) ImplementsUpdate()
type UpdateUserPhone ¶
func (*UpdateUserPhone) CRC ¶
func (*UpdateUserPhone) CRC() uint32
func (*UpdateUserPhone) ImplementsUpdate ¶
func (*UpdateUserPhone) ImplementsUpdate()
type UpdateUserPhoto ¶
type UpdateUserPhoto struct {
UserID int32
Date int32
Photo UserProfilePhoto
Previous bool
}
func (*UpdateUserPhoto) CRC ¶
func (*UpdateUserPhoto) CRC() uint32
func (*UpdateUserPhoto) ImplementsUpdate ¶
func (*UpdateUserPhoto) ImplementsUpdate()
type UpdateUserStatus ¶
type UpdateUserStatus struct {
UserID int32
Status UserStatus
}
func (*UpdateUserStatus) CRC ¶
func (*UpdateUserStatus) CRC() uint32
func (*UpdateUserStatus) ImplementsUpdate ¶
func (*UpdateUserStatus) ImplementsUpdate()
type UpdateUserTyping ¶
type UpdateUserTyping struct {
UserID int32
Action SendMessageAction
}
func (*UpdateUserTyping) CRC ¶
func (*UpdateUserTyping) CRC() uint32
func (*UpdateUserTyping) ImplementsUpdate ¶
func (*UpdateUserTyping) ImplementsUpdate()
type UpdateWebPage ¶
func (*UpdateWebPage) CRC ¶
func (*UpdateWebPage) CRC() uint32
func (*UpdateWebPage) ImplementsUpdate ¶
func (*UpdateWebPage) ImplementsUpdate()
type UpdatesChannelDifferenceEmpty ¶
type UpdatesChannelDifferenceEmpty struct {
Final bool `tl:"flag:0,encoded_in_bitflags"`
Pts int32
Timeout int32 `tl:"flag:1"`
}
func (*UpdatesChannelDifferenceEmpty) CRC ¶
func (*UpdatesChannelDifferenceEmpty) CRC() uint32
func (*UpdatesChannelDifferenceEmpty) FlagIndex ¶
func (*UpdatesChannelDifferenceEmpty) FlagIndex() int
func (*UpdatesChannelDifferenceEmpty) ImplementsUpdatesChannelDifference ¶
func (*UpdatesChannelDifferenceEmpty) ImplementsUpdatesChannelDifference()
type UpdatesChannelDifferenceObj ¶
type UpdatesChannelDifferenceObj struct {
Final bool `tl:"flag:0,encoded_in_bitflags"`
Pts int32
Timeout int32 `tl:"flag:1"`
NewMessages []Message
OtherUpdates []Update
Chats []Chat
Users []User
}
func (*UpdatesChannelDifferenceObj) CRC ¶
func (*UpdatesChannelDifferenceObj) CRC() uint32
func (*UpdatesChannelDifferenceObj) FlagIndex ¶
func (*UpdatesChannelDifferenceObj) FlagIndex() int
func (*UpdatesChannelDifferenceObj) ImplementsUpdatesChannelDifference ¶
func (*UpdatesChannelDifferenceObj) ImplementsUpdatesChannelDifference()
type UpdatesChannelDifferenceTooLong ¶
type UpdatesChannelDifferenceTooLong struct {
Final bool `tl:"flag:0,encoded_in_bitflags"`
Timeout int32 `tl:"flag:1"`
Dialog Dialog
Messages []Message
Chats []Chat
Users []User
}
func (*UpdatesChannelDifferenceTooLong) CRC ¶
func (*UpdatesChannelDifferenceTooLong) CRC() uint32
func (*UpdatesChannelDifferenceTooLong) FlagIndex ¶
func (*UpdatesChannelDifferenceTooLong) FlagIndex() int
func (*UpdatesChannelDifferenceTooLong) ImplementsUpdatesChannelDifference ¶
func (*UpdatesChannelDifferenceTooLong) ImplementsUpdatesChannelDifference()
type UpdatesCombined ¶
type UpdatesCombined struct {
Updates []Update
Users []User
Chats []Chat
Date int32
SeqStart int32
Seq int32
}
func (*UpdatesCombined) CRC ¶
func (*UpdatesCombined) CRC() uint32
func (*UpdatesCombined) ImplementsUpdates ¶
func (*UpdatesCombined) ImplementsUpdates()
type UpdatesDifference ¶
type UpdatesDifferenceEmpty ¶
func (*UpdatesDifferenceEmpty) CRC ¶
func (*UpdatesDifferenceEmpty) CRC() uint32
func (*UpdatesDifferenceEmpty) ImplementsUpdatesDifference ¶
func (*UpdatesDifferenceEmpty) ImplementsUpdatesDifference()
type UpdatesDifferenceObj ¶
type UpdatesDifferenceObj struct {
NewMessages []Message
NewEncryptedMessages []EncryptedMessage
OtherUpdates []Update
Chats []Chat
Users []User
State *UpdatesState
}
func (*UpdatesDifferenceObj) CRC ¶
func (*UpdatesDifferenceObj) CRC() uint32
func (*UpdatesDifferenceObj) ImplementsUpdatesDifference ¶
func (*UpdatesDifferenceObj) ImplementsUpdatesDifference()
type UpdatesDifferenceSlice ¶
type UpdatesDifferenceSlice struct {
NewMessages []Message
NewEncryptedMessages []EncryptedMessage
OtherUpdates []Update
Chats []Chat
Users []User
IntermediateState *UpdatesState
}
func (*UpdatesDifferenceSlice) CRC ¶
func (*UpdatesDifferenceSlice) CRC() uint32
func (*UpdatesDifferenceSlice) ImplementsUpdatesDifference ¶
func (*UpdatesDifferenceSlice) ImplementsUpdatesDifference()
type UpdatesDifferenceTooLong ¶
type UpdatesDifferenceTooLong struct {
Pts int32
}
func (*UpdatesDifferenceTooLong) CRC ¶
func (*UpdatesDifferenceTooLong) CRC() uint32
func (*UpdatesDifferenceTooLong) ImplementsUpdatesDifference ¶
func (*UpdatesDifferenceTooLong) ImplementsUpdatesDifference()
type UpdatesGetChannelDifferenceParams ¶
type UpdatesGetChannelDifferenceParams struct {
Force bool `tl:"flag:0,encoded_in_bitflags"`
Channel InputChannel
Filter ChannelMessagesFilter
Pts int32
Limit int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*UpdatesGetChannelDifferenceParams) CRC ¶
func (*UpdatesGetChannelDifferenceParams) CRC() uint32
func (*UpdatesGetChannelDifferenceParams) FlagIndex ¶
func (*UpdatesGetChannelDifferenceParams) FlagIndex() int
type UpdatesGetDifferenceParams ¶
type UpdatesGetDifferenceParams struct {
Pts int32
PtsTotalLimit int32 `tl:"flag:0"`
Date int32
Qts int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*UpdatesGetDifferenceParams) CRC ¶
func (*UpdatesGetDifferenceParams) CRC() uint32
func (*UpdatesGetDifferenceParams) FlagIndex ¶
func (*UpdatesGetDifferenceParams) FlagIndex() int
type UpdatesGetStateParams ¶
type UpdatesGetStateParams struct{}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*UpdatesGetStateParams) CRC ¶
func (*UpdatesGetStateParams) CRC() uint32
type UpdatesObj ¶
func (*UpdatesObj) CRC ¶
func (*UpdatesObj) CRC() uint32
func (*UpdatesObj) ImplementsUpdates ¶
func (*UpdatesObj) ImplementsUpdates()
type UpdatesState ¶
func (*UpdatesState) CRC ¶
func (*UpdatesState) CRC() uint32
type UpdatesTooLong ¶
type UpdatesTooLong struct{}
func (*UpdatesTooLong) CRC ¶
func (*UpdatesTooLong) CRC() uint32
func (*UpdatesTooLong) ImplementsUpdates ¶
func (*UpdatesTooLong) ImplementsUpdates()
type UploadCdnFile ¶
type UploadCdnFileObj ¶
type UploadCdnFileObj struct {
Bytes []byte
}
func (*UploadCdnFileObj) CRC ¶
func (*UploadCdnFileObj) CRC() uint32
func (*UploadCdnFileObj) ImplementsUploadCdnFile ¶
func (*UploadCdnFileObj) ImplementsUploadCdnFile()
type UploadCdnFileReuploadNeeded ¶
type UploadCdnFileReuploadNeeded struct {
RequestToken []byte
}
func (*UploadCdnFileReuploadNeeded) CRC ¶
func (*UploadCdnFileReuploadNeeded) CRC() uint32
func (*UploadCdnFileReuploadNeeded) ImplementsUploadCdnFile ¶
func (*UploadCdnFileReuploadNeeded) ImplementsUploadCdnFile()
type UploadFile ¶
type UploadFileCdnRedirect ¶
type UploadFileCdnRedirect struct {
DcID int32
FileToken []byte
EncryptionKey []byte
EncryptionIv []byte
FileHashes []*FileHash
}
func (*UploadFileCdnRedirect) CRC ¶
func (*UploadFileCdnRedirect) CRC() uint32
func (*UploadFileCdnRedirect) ImplementsUploadFile ¶
func (*UploadFileCdnRedirect) ImplementsUploadFile()
type UploadFileObj ¶
type UploadFileObj struct {
Type StorageFileType
Mtime int32
Bytes []byte
}
func (*UploadFileObj) CRC ¶
func (*UploadFileObj) CRC() uint32
func (*UploadFileObj) ImplementsUploadFile ¶
func (*UploadFileObj) ImplementsUploadFile()
type UploadGetCdnFileHashesParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*UploadGetCdnFileHashesParams) CRC ¶
func (*UploadGetCdnFileHashesParams) CRC() uint32
type UploadGetCdnFileParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*UploadGetCdnFileParams) CRC ¶
func (*UploadGetCdnFileParams) CRC() uint32
type UploadGetFileHashesParams ¶
type UploadGetFileHashesParams struct {
Location InputFileLocation
Offset int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*UploadGetFileHashesParams) CRC ¶
func (*UploadGetFileHashesParams) CRC() uint32
type UploadGetFileParams ¶
type UploadGetFileParams struct {
Precise bool `tl:"flag:0,encoded_in_bitflags"`
CdnSupported bool `tl:"flag:1,encoded_in_bitflags"`
Location InputFileLocation
Offset int32
Limit int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*UploadGetFileParams) CRC ¶
func (*UploadGetFileParams) CRC() uint32
func (*UploadGetFileParams) FlagIndex ¶
func (*UploadGetFileParams) FlagIndex() int
type UploadGetWebFileParams ¶
type UploadGetWebFileParams struct {
Location InputWebFileLocation
Offset int32
Limit int32
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*UploadGetWebFileParams) CRC ¶
func (*UploadGetWebFileParams) CRC() uint32
type UploadReuploadCdnFileParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*UploadReuploadCdnFileParams) CRC ¶
func (*UploadReuploadCdnFileParams) CRC() uint32
type UploadSaveBigFilePartParams ¶
type UploadSaveBigFilePartParams struct {
FileID int64
FilePart int32
FileTotalParts int32
Bytes []byte
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*UploadSaveBigFilePartParams) CRC ¶
func (*UploadSaveBigFilePartParams) CRC() uint32
type UploadSaveFilePartParams ¶
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*UploadSaveFilePartParams) CRC ¶
func (*UploadSaveFilePartParams) CRC() uint32
type UploadWebFile ¶
type UploadWebFile struct {
Size int32
MimeType string
FileType StorageFileType
Mtime int32
Bytes []byte
}
func (*UploadWebFile) CRC ¶
func (*UploadWebFile) CRC() uint32
type UserEmpty ¶
type UserEmpty struct {
ID int32
}
func (*UserEmpty) ImplementsUser ¶
func (*UserEmpty) ImplementsUser()
type UserFull ¶
type UserFull struct {
Blocked bool `tl:"flag:0,encoded_in_bitflags"`
PhoneCallsAvailable bool `tl:"flag:4,encoded_in_bitflags"`
PhoneCallsPrivate bool `tl:"flag:5,encoded_in_bitflags"`
CanPinMessage bool `tl:"flag:7,encoded_in_bitflags"`
HasScheduled bool `tl:"flag:12,encoded_in_bitflags"`
VideoCallsAvailable bool `tl:"flag:13,encoded_in_bitflags"`
User User
About string `tl:"flag:1"`
Settings *PeerSettings
ProfilePhoto Photo `tl:"flag:2"`
NotifySettings *PeerNotifySettings
BotInfo *BotInfo `tl:"flag:3"`
PinnedMsgID int32 `tl:"flag:6"`
CommonChatsCount int32
FolderID int32 `tl:"flag:11"`
}
type UserObj ¶
type UserObj struct {
Self bool `tl:"flag:10,encoded_in_bitflags"`
Contact bool `tl:"flag:11,encoded_in_bitflags"`
MutualContact bool `tl:"flag:12,encoded_in_bitflags"`
Deleted bool `tl:"flag:13,encoded_in_bitflags"`
Bot bool `tl:"flag:14,encoded_in_bitflags"`
BotChatHistory bool `tl:"flag:15,encoded_in_bitflags"`
BotNochats bool `tl:"flag:16,encoded_in_bitflags"`
Verified bool `tl:"flag:17,encoded_in_bitflags"`
Restricted bool `tl:"flag:18,encoded_in_bitflags"`
Min bool `tl:"flag:20,encoded_in_bitflags"`
BotInlineGeo bool `tl:"flag:21,encoded_in_bitflags"`
Support bool `tl:"flag:23,encoded_in_bitflags"`
Scam bool `tl:"flag:24,encoded_in_bitflags"`
ApplyMinPhoto bool `tl:"flag:25,encoded_in_bitflags"`
ID int32
AccessHash int64 `tl:"flag:0"`
FirstName string `tl:"flag:1"`
LastName string `tl:"flag:2"`
Username string `tl:"flag:3"`
Phone string `tl:"flag:4"`
Photo UserProfilePhoto `tl:"flag:5"`
Status UserStatus `tl:"flag:6"`
BotInfoVersion int32 `tl:"flag:14"`
RestrictionReason []*RestrictionReason `tl:"flag:18"`
BotInlinePlaceholder string `tl:"flag:19"`
LangCode string `tl:"flag:22"`
}
func (*UserObj) ImplementsUser ¶
func (*UserObj) ImplementsUser()
type UserProfilePhoto ¶
type UserProfilePhotoEmpty ¶
type UserProfilePhotoEmpty struct{}
func (*UserProfilePhotoEmpty) CRC ¶
func (*UserProfilePhotoEmpty) CRC() uint32
func (*UserProfilePhotoEmpty) ImplementsUserProfilePhoto ¶
func (*UserProfilePhotoEmpty) ImplementsUserProfilePhoto()
type UserProfilePhotoObj ¶
type UserProfilePhotoObj struct {
HasVideo bool `tl:"flag:0,encoded_in_bitflags"`
PhotoID int64
PhotoSmall *FileLocationToBeDeprecated
PhotoBig *FileLocationToBeDeprecated
DcID int32
}
func (*UserProfilePhotoObj) CRC ¶
func (*UserProfilePhotoObj) CRC() uint32
func (*UserProfilePhotoObj) FlagIndex ¶
func (*UserProfilePhotoObj) FlagIndex() int
func (*UserProfilePhotoObj) ImplementsUserProfilePhoto ¶
func (*UserProfilePhotoObj) ImplementsUserProfilePhoto()
type UserStatus ¶
type UserStatusEmpty ¶
type UserStatusEmpty struct{}
func (*UserStatusEmpty) CRC ¶
func (*UserStatusEmpty) CRC() uint32
func (*UserStatusEmpty) ImplementsUserStatus ¶
func (*UserStatusEmpty) ImplementsUserStatus()
type UserStatusLastMonth ¶
type UserStatusLastMonth struct{}
func (*UserStatusLastMonth) CRC ¶
func (*UserStatusLastMonth) CRC() uint32
func (*UserStatusLastMonth) ImplementsUserStatus ¶
func (*UserStatusLastMonth) ImplementsUserStatus()
type UserStatusLastWeek ¶
type UserStatusLastWeek struct{}
func (*UserStatusLastWeek) CRC ¶
func (*UserStatusLastWeek) CRC() uint32
func (*UserStatusLastWeek) ImplementsUserStatus ¶
func (*UserStatusLastWeek) ImplementsUserStatus()
type UserStatusOffline ¶
type UserStatusOffline struct {
WasOnline int32
}
func (*UserStatusOffline) CRC ¶
func (*UserStatusOffline) CRC() uint32
func (*UserStatusOffline) ImplementsUserStatus ¶
func (*UserStatusOffline) ImplementsUserStatus()
type UserStatusOnline ¶
type UserStatusOnline struct {
Expires int32
}
func (*UserStatusOnline) CRC ¶
func (*UserStatusOnline) CRC() uint32
func (*UserStatusOnline) ImplementsUserStatus ¶
func (*UserStatusOnline) ImplementsUserStatus()
type UserStatusRecently ¶
type UserStatusRecently struct{}
func (*UserStatusRecently) CRC ¶
func (*UserStatusRecently) CRC() uint32
func (*UserStatusRecently) ImplementsUserStatus ¶
func (*UserStatusRecently) ImplementsUserStatus()
type UsersGetFullUserParams ¶
type UsersGetFullUserParams struct {
ID InputUser
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*UsersGetFullUserParams) CRC ¶
func (*UsersGetFullUserParams) CRC() uint32
type UsersGetUsersParams ¶
type UsersGetUsersParams struct {
ID []InputUser
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*UsersGetUsersParams) CRC ¶
func (*UsersGetUsersParams) CRC() uint32
type UsersSetSecureValueErrorsParams ¶
type UsersSetSecureValueErrorsParams struct {
ID InputUser
Errors []SecureValueError
}
Sends a Telegram Passport authorization form, effectively sharing data with the service
func (*UsersSetSecureValueErrorsParams) CRC ¶
func (*UsersSetSecureValueErrorsParams) CRC() uint32
type VideoSize ¶
type WallPaperNoFile ¶
type WallPaperNoFile struct {
Default bool `tl:"flag:1,encoded_in_bitflags"`
Dark bool `tl:"flag:4,encoded_in_bitflags"`
Settings *WallPaperSettings `tl:"flag:2"`
}
func (*WallPaperNoFile) CRC ¶
func (*WallPaperNoFile) CRC() uint32
func (*WallPaperNoFile) FlagIndex ¶
func (*WallPaperNoFile) FlagIndex() int
func (*WallPaperNoFile) ImplementsWallPaper ¶
func (*WallPaperNoFile) ImplementsWallPaper()
type WallPaperObj ¶
type WallPaperObj struct {
ID int64
Creator bool `tl:"flag:0,encoded_in_bitflags"`
Default bool `tl:"flag:1,encoded_in_bitflags"`
Pattern bool `tl:"flag:3,encoded_in_bitflags"`
Dark bool `tl:"flag:4,encoded_in_bitflags"`
AccessHash int64
Slug string
Document Document
Settings *WallPaperSettings `tl:"flag:2"`
}
func (*WallPaperObj) CRC ¶
func (*WallPaperObj) CRC() uint32
func (*WallPaperObj) FlagIndex ¶
func (*WallPaperObj) FlagIndex() int
func (*WallPaperObj) ImplementsWallPaper ¶
func (*WallPaperObj) ImplementsWallPaper()
type WallPaperSettings ¶
type WallPaperSettings struct {
Blur bool `tl:"flag:1,encoded_in_bitflags"`
Motion bool `tl:"flag:2,encoded_in_bitflags"`
BackgroundColor int32 `tl:"flag:0"`
SecondBackgroundColor int32 `tl:"flag:4"`
Intensity int32 `tl:"flag:3"`
Rotation int32 `tl:"flag:4"`
}
func (*WallPaperSettings) CRC ¶
func (*WallPaperSettings) CRC() uint32
func (*WallPaperSettings) FlagIndex ¶
func (*WallPaperSettings) FlagIndex() int
type WebAuthorization ¶
type WebAuthorization struct {
Hash int64
BotID int32
Domain string
Browser string
Platform string
DateCreated int32
DateActive int32
Ip string
Region string
}
func (*WebAuthorization) CRC ¶
func (*WebAuthorization) CRC() uint32
type WebDocument ¶
type WebDocumentNoProxy ¶
type WebDocumentNoProxy struct {
URL string
Size int32
MimeType string
Attributes []DocumentAttribute
}
func (*WebDocumentNoProxy) CRC ¶
func (*WebDocumentNoProxy) CRC() uint32
func (*WebDocumentNoProxy) ImplementsWebDocument ¶
func (*WebDocumentNoProxy) ImplementsWebDocument()
type WebDocumentObj ¶
type WebDocumentObj struct {
URL string
AccessHash int64
Size int32
MimeType string
Attributes []DocumentAttribute
}
func (*WebDocumentObj) CRC ¶
func (*WebDocumentObj) CRC() uint32
func (*WebDocumentObj) ImplementsWebDocument ¶
func (*WebDocumentObj) ImplementsWebDocument()
type WebPageAttributeTheme ¶
type WebPageAttributeTheme struct {
Documents []Document `tl:"flag:0"`
Settings *ThemeSettings `tl:"flag:1"`
}
func (*WebPageAttributeTheme) CRC ¶
func (*WebPageAttributeTheme) CRC() uint32
func (*WebPageAttributeTheme) FlagIndex ¶
func (*WebPageAttributeTheme) FlagIndex() int
type WebPageEmpty ¶
type WebPageEmpty struct {
ID int64
}
No preview is available for the webpage
func (*WebPageEmpty) CRC ¶
func (*WebPageEmpty) CRC() uint32
func (*WebPageEmpty) ImplementsWebPage ¶
func (*WebPageEmpty) ImplementsWebPage()
type WebPageNotModified ¶
type WebPageNotModified struct {
CachedPageViews int32 `tl:"flag:0"` // Page view count
}
The preview of the webpage hasn't changed
func (*WebPageNotModified) CRC ¶
func (*WebPageNotModified) CRC() uint32
func (*WebPageNotModified) FlagIndex ¶
func (*WebPageNotModified) FlagIndex() int
func (*WebPageNotModified) ImplementsWebPage ¶
func (*WebPageNotModified) ImplementsWebPage()
type WebPageObj ¶
type WebPageObj struct {
ID int64 // Preview ID
URL string // URL of previewed webpage
DisplayURL string // Webpage URL to be displayed to the user
Hash int32 // Hash for pagination, for more info click here
Type string `tl:"flag:0"` // Type of the web page. Can be: article, photo, audio, video, document, profile, app, or something else
SiteName string `tl:"flag:1"` // Short name of the site (e.g., Google Docs, App Store)
Title string `tl:"flag:2"` // Title of the content
Description string `tl:"flag:3"` // Content description
Photo Photo `tl:"flag:4"` // Image representing the content
EmbedURL string `tl:"flag:5"` // URL to show in the embedded preview
EmbedType string `tl:"flag:5"` // MIME type of the embedded preview, (e.g., text/html or video/mp4)
EmbedWidth int32 `tl:"flag:6"` // Width of the embedded preview
EmbedHeight int32 `tl:"flag:6"` // Height of the embedded preview
Duration int32 `tl:"flag:7"` // Duration of the content, in seconds
Author string `tl:"flag:8"` // Author of the content
Document Document `tl:"flag:9"` // Preview of the content as a media file
CachedPage *Page `tl:"flag:10"` // Page contents in instant view format
Attributes []*WebPageAttributeTheme `tl:"flag:12"` // Webpage attributes
}
Webpage preview
func (*WebPageObj) CRC ¶
func (*WebPageObj) CRC() uint32
func (*WebPageObj) FlagIndex ¶
func (*WebPageObj) FlagIndex() int
func (*WebPageObj) ImplementsWebPage ¶
func (*WebPageObj) ImplementsWebPage()
type WebPagePending ¶
type WebPagePending struct {
ID int64 // ID of preview
Date int32 // When was the processing started
}
A preview of the webpage is currently being generated
func (*WebPagePending) CRC ¶
func (*WebPagePending) CRC() uint32
func (*WebPagePending) ImplementsWebPage ¶
func (*WebPagePending) ImplementsWebPage()