package tg
import (
"context"
"errors"
"fmt"
"sort"
"strings"
"go.uber.org/multierr"
"github.com/gotd/td/bin"
"github.com/gotd/td/tdjson"
"github.com/gotd/td/tdp"
"github.com/gotd/td/tgerr"
)
var (
_ = bin .Buffer {}
_ = context .Background ()
_ = fmt .Stringer (nil )
_ = strings .Builder {}
_ = errors .Is
_ = multierr .AppendInto
_ = sort .Ints
_ = tdp .Format
_ = tgerr .Error {}
_ = tdjson .Encoder {}
)
const (
Err2FAConfirmWait = "2FA_CONFIRM_WAIT"
ErrAboutTooLong = "ABOUT_TOO_LONG"
ErrAccessTokenExpired = "ACCESS_TOKEN_EXPIRED"
ErrAccessTokenInvalid = "ACCESS_TOKEN_INVALID"
ErrAddressInvalid = "ADDRESS_INVALID"
ErrAdminsTooMuch = "ADMINS_TOO_MUCH"
ErrAdminIDInvalid = "ADMIN_ID_INVALID"
ErrAdminRankEmojiNotAllowed = "ADMIN_RANK_EMOJI_NOT_ALLOWED"
ErrAdminRankInvalid = "ADMIN_RANK_INVALID"
ErrAdminRightsEmpty = "ADMIN_RIGHTS_EMPTY"
ErrAlbumPhotosTooMany = "ALBUM_PHOTOS_TOO_MANY"
ErrAnonymousReactionsDisabled = "ANONYMOUS_REACTIONS_DISABLED"
ErrAPIIDInvalid = "API_ID_INVALID"
ErrAPIIDPublishedFlood = "API_ID_PUBLISHED_FLOOD"
ErrArticleTitleEmpty = "ARTICLE_TITLE_EMPTY"
ErrAudioContentURLEmpty = "AUDIO_CONTENT_URL_EMPTY"
ErrAudioTitleEmpty = "AUDIO_TITLE_EMPTY"
ErrAuthBytesInvalid = "AUTH_BYTES_INVALID"
ErrAuthRestart = "AUTH_RESTART"
ErrAuthTokenAlreadyAccepted = "AUTH_TOKEN_ALREADY_ACCEPTED"
ErrAuthTokenException = "AUTH_TOKEN_EXCEPTION"
ErrAuthTokenExpired = "AUTH_TOKEN_EXPIRED"
ErrAuthTokenInvalid = "AUTH_TOKEN_INVALID"
ErrAuthTokenInvalidx = "AUTH_TOKEN_INVALIDX"
ErrAutoarchiveNotAvailable = "AUTOARCHIVE_NOT_AVAILABLE"
ErrBankCardNumberInvalid = "BANK_CARD_NUMBER_INVALID"
ErrBannedRightsInvalid = "BANNED_RIGHTS_INVALID"
ErrBoostsEmpty = "BOOSTS_EMPTY"
ErrBoostsRequired = "BOOSTS_REQUIRED"
ErrBoostPeerInvalid = "BOOST_PEER_INVALID"
ErrBotsTooMuch = "BOTS_TOO_MUCH"
ErrBotAppInvalid = "BOT_APP_INVALID"
ErrBotChannelsNa = "BOT_CHANNELS_NA"
ErrBotCommandDescriptionInvalid = "BOT_COMMAND_DESCRIPTION_INVALID"
ErrBotCommandInvalid = "BOT_COMMAND_INVALID"
ErrBotDomainInvalid = "BOT_DOMAIN_INVALID"
ErrBotGroupsBlocked = "BOT_GROUPS_BLOCKED"
ErrBotInlineDisabled = "BOT_INLINE_DISABLED"
ErrBotInvalid = "BOT_INVALID"
ErrBotMissing = "BOT_MISSING"
ErrBotOnesideNotAvail = "BOT_ONESIDE_NOT_AVAIL"
ErrBotPaymentsDisabled = "BOT_PAYMENTS_DISABLED"
ErrBotResponseTimeout = "BOT_RESPONSE_TIMEOUT"
ErrBotScoreNotModified = "BOT_SCORE_NOT_MODIFIED"
ErrBroadcastForbidden = "BROADCAST_FORBIDDEN"
ErrBroadcastIDInvalid = "BROADCAST_ID_INVALID"
ErrBroadcastPublicVotersForbidden = "BROADCAST_PUBLIC_VOTERS_FORBIDDEN"
ErrBroadcastRequired = "BROADCAST_REQUIRED"
ErrButtonDataInvalid = "BUTTON_DATA_INVALID"
ErrButtonTextInvalid = "BUTTON_TEXT_INVALID"
ErrButtonTypeInvalid = "BUTTON_TYPE_INVALID"
ErrButtonURLInvalid = "BUTTON_URL_INVALID"
ErrButtonUserPrivacyRestricted = "BUTTON_USER_PRIVACY_RESTRICTED"
ErrCallAlreadyAccepted = "CALL_ALREADY_ACCEPTED"
ErrCallAlreadyDeclined = "CALL_ALREADY_DECLINED"
ErrCallOccupyFailed = "CALL_OCCUPY_FAILED"
ErrCallPeerInvalid = "CALL_PEER_INVALID"
ErrCallProtocolCompatLayerInvalid = "CALL_PROTOCOL_COMPAT_LAYER_INVALID"
ErrCallProtocolFlagsInvalid = "CALL_PROTOCOL_FLAGS_INVALID"
ErrCDNMethodInvalid = "CDN_METHOD_INVALID"
ErrCDNUploadTimeout = "CDN_UPLOAD_TIMEOUT"
ErrChannelsAdminLocatedTooMuch = "CHANNELS_ADMIN_LOCATED_TOO_MUCH"
ErrChannelsAdminPublicTooMuch = "CHANNELS_ADMIN_PUBLIC_TOO_MUCH"
ErrChannelsTooMuch = "CHANNELS_TOO_MUCH"
ErrChannelForumMissing = "CHANNEL_FORUM_MISSING"
ErrChannelIDInvalid = "CHANNEL_ID_INVALID"
ErrChannelInvalid = "CHANNEL_INVALID"
ErrChannelParicipantMissing = "CHANNEL_PARICIPANT_MISSING"
ErrChannelPrivate = "CHANNEL_PRIVATE"
ErrChannelPublicGroupNa = "CHANNEL_PUBLIC_GROUP_NA"
ErrChannelTooBig = "CHANNEL_TOO_BIG"
ErrChannelTooLarge = "CHANNEL_TOO_LARGE"
ErrChatlistExcludeInvalid = "CHATLIST_EXCLUDE_INVALID"
ErrChatAboutNotModified = "CHAT_ABOUT_NOT_MODIFIED"
ErrChatAboutTooLong = "CHAT_ABOUT_TOO_LONG"
ErrChatAdminInviteRequired = "CHAT_ADMIN_INVITE_REQUIRED"
ErrChatAdminRequired = "CHAT_ADMIN_REQUIRED"
ErrChatDiscussionUnallowed = "CHAT_DISCUSSION_UNALLOWED"
ErrChatForwardsRestricted = "CHAT_FORWARDS_RESTRICTED"
ErrChatGuestSendForbidden = "CHAT_GUEST_SEND_FORBIDDEN"
ErrChatIDEmpty = "CHAT_ID_EMPTY"
ErrChatIDGenerateFailed = "CHAT_ID_GENERATE_FAILED"
ErrChatIDInvalid = "CHAT_ID_INVALID"
ErrChatInvalid = "CHAT_INVALID"
ErrChatInvitePermanent = "CHAT_INVITE_PERMANENT"
ErrChatLinkExists = "CHAT_LINK_EXISTS"
ErrChatNotModified = "CHAT_NOT_MODIFIED"
ErrChatPublicRequired = "CHAT_PUBLIC_REQUIRED"
ErrChatRestricted = "CHAT_RESTRICTED"
ErrChatRevokeDateUnsupported = "CHAT_REVOKE_DATE_UNSUPPORTED"
ErrChatSendAudiosForbidden = "CHAT_SEND_AUDIOS_FORBIDDEN"
ErrChatSendDocsForbidden = "CHAT_SEND_DOCS_FORBIDDEN"
ErrChatSendGameForbidden = "CHAT_SEND_GAME_FORBIDDEN"
ErrChatSendGifsForbidden = "CHAT_SEND_GIFS_FORBIDDEN"
ErrChatSendInlineForbidden = "CHAT_SEND_INLINE_FORBIDDEN"
ErrChatSendMediaForbidden = "CHAT_SEND_MEDIA_FORBIDDEN"
ErrChatSendPhotosForbidden = "CHAT_SEND_PHOTOS_FORBIDDEN"
ErrChatSendPlainForbidden = "CHAT_SEND_PLAIN_FORBIDDEN"
ErrChatSendPollForbidden = "CHAT_SEND_POLL_FORBIDDEN"
ErrChatSendStickersForbidden = "CHAT_SEND_STICKERS_FORBIDDEN"
ErrChatSendVideosForbidden = "CHAT_SEND_VIDEOS_FORBIDDEN"
ErrChatSendVoicesForbidden = "CHAT_SEND_VOICES_FORBIDDEN"
ErrChatTitleEmpty = "CHAT_TITLE_EMPTY"
ErrChatTooBig = "CHAT_TOO_BIG"
ErrChatWriteForbidden = "CHAT_WRITE_FORBIDDEN"
ErrCodeEmpty = "CODE_EMPTY"
ErrCodeHashInvalid = "CODE_HASH_INVALID"
ErrCodeInvalid = "CODE_INVALID"
ErrColorInvalid = "COLOR_INVALID"
ErrConnectionAPIIDInvalid = "CONNECTION_API_ID_INVALID"
ErrConnectionAppVersionEmpty = "CONNECTION_APP_VERSION_EMPTY"
ErrConnectionLayerInvalid = "CONNECTION_LAYER_INVALID"
ErrContactAddMissing = "CONTACT_ADD_MISSING"
ErrContactIDInvalid = "CONTACT_ID_INVALID"
ErrContactNameEmpty = "CONTACT_NAME_EMPTY"
ErrContactReqMissing = "CONTACT_REQ_MISSING"
ErrCreateCallFailed = "CREATE_CALL_FAILED"
ErrCurrencyTotalAmountInvalid = "CURRENCY_TOTAL_AMOUNT_INVALID"
ErrCustomReactionsTooMany = "CUSTOM_REACTIONS_TOO_MANY"
ErrDataInvalid = "DATA_INVALID"
ErrDataJSONInvalid = "DATA_JSON_INVALID"
ErrDataTooLong = "DATA_TOO_LONG"
ErrDateEmpty = "DATE_EMPTY"
ErrDCIDInvalid = "DC_ID_INVALID"
ErrDhGAInvalid = "DH_G_A_INVALID"
ErrDocumentInvalid = "DOCUMENT_INVALID"
ErrEditBotInviteForbidden = "EDIT_BOT_INVITE_FORBIDDEN"
ErrEmailHashExpired = "EMAIL_HASH_EXPIRED"
ErrEmailInvalid = "EMAIL_INVALID"
ErrEmailNotSetup = "EMAIL_NOT_SETUP"
ErrEmailUnconfirmed = "EMAIL_UNCONFIRMED"
ErrEmailVerifyExpired = "EMAIL_VERIFY_EXPIRED"
ErrEmojiInvalid = "EMOJI_INVALID"
ErrEmojiMarkupInvalid = "EMOJI_MARKUP_INVALID"
ErrEmojiNotModified = "EMOJI_NOT_MODIFIED"
ErrEmoticonEmpty = "EMOTICON_EMPTY"
ErrEmoticonInvalid = "EMOTICON_INVALID"
ErrEmoticonStickerpackMissing = "EMOTICON_STICKERPACK_MISSING"
ErrEncryptedMessageInvalid = "ENCRYPTED_MESSAGE_INVALID"
ErrEncryptionAlreadyAccepted = "ENCRYPTION_ALREADY_ACCEPTED"
ErrEncryptionAlreadyDeclined = "ENCRYPTION_ALREADY_DECLINED"
ErrEncryptionDeclined = "ENCRYPTION_DECLINED"
ErrEncryptionIDInvalid = "ENCRYPTION_ID_INVALID"
ErrEntitiesTooLong = "ENTITIES_TOO_LONG"
ErrEntityBoundsInvalid = "ENTITY_BOUNDS_INVALID"
ErrEntityMentionUserInvalid = "ENTITY_MENTION_USER_INVALID"
ErrErrorTextEmpty = "ERROR_TEXT_EMPTY"
ErrExpireDateInvalid = "EXPIRE_DATE_INVALID"
ErrExternalURLInvalid = "EXTERNAL_URL_INVALID"
ErrFilerefUpgradeNeeded = "FILEREF_UPGRADE_NEEDED"
ErrFileContentTypeInvalid = "FILE_CONTENT_TYPE_INVALID"
ErrFileEmtpy = "FILE_EMTPY"
ErrFileIDInvalid = "FILE_ID_INVALID"
ErrFilePartsInvalid = "FILE_PARTS_INVALID"
ErrFilePartEmpty = "FILE_PART_EMPTY"
ErrFilePartInvalid = "FILE_PART_INVALID"
ErrFilePartLengthInvalid = "FILE_PART_LENGTH_INVALID"
ErrFilePartSizeChanged = "FILE_PART_SIZE_CHANGED"
ErrFilePartSizeInvalid = "FILE_PART_SIZE_INVALID"
ErrFilePartTooBig = "FILE_PART_TOO_BIG"
ErrFileReference = "FILE_REFERENCE"
ErrFileReferenceEmpty = "FILE_REFERENCE_EMPTY"
ErrFileReferenceExpired = "FILE_REFERENCE_EXPIRED"
ErrFileReferenceInvalid = "FILE_REFERENCE_INVALID"
ErrFileTitleEmpty = "FILE_TITLE_EMPTY"
ErrFileTokenInvalid = "FILE_TOKEN_INVALID"
ErrFilterIDInvalid = "FILTER_ID_INVALID"
ErrFilterIncludeEmpty = "FILTER_INCLUDE_EMPTY"
ErrFilterNotSupported = "FILTER_NOT_SUPPORTED"
ErrFilterTitleEmpty = "FILTER_TITLE_EMPTY"
ErrFirstnameInvalid = "FIRSTNAME_INVALID"
ErrFolderIDInvalid = "FOLDER_ID_INVALID"
ErrForumEnabled = "FORUM_ENABLED"
ErrFreshChangeAdminsForbidden = "FRESH_CHANGE_ADMINS_FORBIDDEN"
ErrFreshChangePhoneForbidden = "FRESH_CHANGE_PHONE_FORBIDDEN"
ErrFreshResetAuthorisationForbidden = "FRESH_RESET_AUTHORISATION_FORBIDDEN"
ErrFromMessageBotDisabled = "FROM_MESSAGE_BOT_DISABLED"
ErrFromPeerInvalid = "FROM_PEER_INVALID"
ErrGameBotInvalid = "GAME_BOT_INVALID"
ErrGeneralModifyIconForbidden = "GENERAL_MODIFY_ICON_FORBIDDEN"
ErrGeoPointInvalid = "GEO_POINT_INVALID"
ErrGiftcodeNotAllowed = "GIFTCODE_NOT_ALLOWED"
ErrGiftSlugInvalid = "GIFT_SLUG_INVALID"
ErrGifContentTypeInvalid = "GIF_CONTENT_TYPE_INVALID"
ErrGifIDInvalid = "GIF_ID_INVALID"
ErrGraphExpiredReload = "GRAPH_EXPIRED_RELOAD"
ErrGraphInvalidReload = "GRAPH_INVALID_RELOAD"
ErrGraphOutdatedReload = "GRAPH_OUTDATED_RELOAD"
ErrGroupcallAddParticipantsFailed = "GROUPCALL_ADD_PARTICIPANTS_FAILED"
ErrGroupcallAlreadyDiscarded = "GROUPCALL_ALREADY_DISCARDED"
ErrGroupcallAlreadyStarted = "GROUPCALL_ALREADY_STARTED"
ErrGroupcallForbidden = "GROUPCALL_FORBIDDEN"
ErrGroupcallInvalid = "GROUPCALL_INVALID"
ErrGroupcallJoinMissing = "GROUPCALL_JOIN_MISSING"
ErrGroupcallNotModified = "GROUPCALL_NOT_MODIFIED"
ErrGroupcallSsrcDuplicateMuch = "GROUPCALL_SSRC_DUPLICATE_MUCH"
ErrGroupedMediaInvalid = "GROUPED_MEDIA_INVALID"
ErrHashInvalid = "HASH_INVALID"
ErrHideRequesterMissing = "HIDE_REQUESTER_MISSING"
ErrImageProcessFailed = "IMAGE_PROCESS_FAILED"
ErrImportFileInvalid = "IMPORT_FILE_INVALID"
ErrImportFormatUnrecognized = "IMPORT_FORMAT_UNRECOGNIZED"
ErrImportIDInvalid = "IMPORT_ID_INVALID"
ErrImportTokenInvalid = "IMPORT_TOKEN_INVALID"
ErrInlineBotRequired = "INLINE_BOT_REQUIRED"
ErrInlineResultExpired = "INLINE_RESULT_EXPIRED"
ErrInputChatlistInvalid = "INPUT_CHATLIST_INVALID"
ErrInputFilterInvalid = "INPUT_FILTER_INVALID"
ErrInputTextEmpty = "INPUT_TEXT_EMPTY"
ErrInputUserDeactivated = "INPUT_USER_DEACTIVATED"
ErrInvitesTooMuch = "INVITES_TOO_MUCH"
ErrInviteForbiddenWithJoinas = "INVITE_FORBIDDEN_WITH_JOINAS"
ErrInviteHashEmpty = "INVITE_HASH_EMPTY"
ErrInviteHashExpired = "INVITE_HASH_EXPIRED"
ErrInviteHashInvalid = "INVITE_HASH_INVALID"
ErrInviteRequestSent = "INVITE_REQUEST_SENT"
ErrInviteRevokedMissing = "INVITE_REVOKED_MISSING"
ErrInviteSlugEmpty = "INVITE_SLUG_EMPTY"
ErrInviteSlugExpired = "INVITE_SLUG_EXPIRED"
ErrInvoicePayloadInvalid = "INVOICE_PAYLOAD_INVALID"
ErrJoinAsPeerInvalid = "JOIN_AS_PEER_INVALID"
ErrLangCodeInvalid = "LANG_CODE_INVALID"
ErrLangCodeNotSupported = "LANG_CODE_NOT_SUPPORTED"
ErrLangPackInvalid = "LANG_PACK_INVALID"
ErrLastnameInvalid = "LASTNAME_INVALID"
ErrLimitInvalid = "LIMIT_INVALID"
ErrLinkNotModified = "LINK_NOT_MODIFIED"
ErrLocationInvalid = "LOCATION_INVALID"
ErrMaxDateInvalid = "MAX_DATE_INVALID"
ErrMaxIDInvalid = "MAX_ID_INVALID"
ErrMaxQtsInvalid = "MAX_QTS_INVALID"
ErrMD5ChecksumInvalid = "MD5_CHECKSUM_INVALID"
ErrMediaCaptionTooLong = "MEDIA_CAPTION_TOO_LONG"
ErrMediaEmpty = "MEDIA_EMPTY"
ErrMediaFileInvalid = "MEDIA_FILE_INVALID"
ErrMediaGroupedInvalid = "MEDIA_GROUPED_INVALID"
ErrMediaInvalid = "MEDIA_INVALID"
ErrMediaNewInvalid = "MEDIA_NEW_INVALID"
ErrMediaPrevInvalid = "MEDIA_PREV_INVALID"
ErrMediaTTLInvalid = "MEDIA_TTL_INVALID"
ErrMediaTypeInvalid = "MEDIA_TYPE_INVALID"
ErrMediaVideoStoryMissing = "MEDIA_VIDEO_STORY_MISSING"
ErrMegagroupGeoRequired = "MEGAGROUP_GEO_REQUIRED"
ErrMegagroupIDInvalid = "MEGAGROUP_ID_INVALID"
ErrMegagroupPrehistoryHidden = "MEGAGROUP_PREHISTORY_HIDDEN"
ErrMegagroupRequired = "MEGAGROUP_REQUIRED"
ErrMemberNotFound = "MEMBER_NOT_FOUND"
ErrMessageAuthorRequired = "MESSAGE_AUTHOR_REQUIRED"
ErrMessageDeleteForbidden = "MESSAGE_DELETE_FORBIDDEN"
ErrMessageEditTimeExpired = "MESSAGE_EDIT_TIME_EXPIRED"
ErrMessageEmpty = "MESSAGE_EMPTY"
ErrMessageIDsEmpty = "MESSAGE_IDS_EMPTY"
ErrMessageIDInvalid = "MESSAGE_ID_INVALID"
ErrMessageNotModified = "MESSAGE_NOT_MODIFIED"
ErrMessagePollClosed = "MESSAGE_POLL_CLOSED"
ErrMessageTooLong = "MESSAGE_TOO_LONG"
ErrMethodInvalid = "METHOD_INVALID"
ErrMinDateInvalid = "MIN_DATE_INVALID"
ErrMsgIDInvalid = "MSG_ID_INVALID"
ErrMsgTooOld = "MSG_TOO_OLD"
ErrMsgWaitFailed = "MSG_WAIT_FAILED"
ErrMultiMediaTooLong = "MULTI_MEDIA_TOO_LONG"
ErrNewSaltInvalid = "NEW_SALT_INVALID"
ErrNewSettingsEmpty = "NEW_SETTINGS_EMPTY"
ErrNewSettingsInvalid = "NEW_SETTINGS_INVALID"
ErrNextOffsetInvalid = "NEXT_OFFSET_INVALID"
ErrOffsetInvalid = "OFFSET_INVALID"
ErrOffsetPeerIDInvalid = "OFFSET_PEER_ID_INVALID"
ErrOptionsTooMuch = "OPTIONS_TOO_MUCH"
ErrOptionInvalid = "OPTION_INVALID"
ErrOrderInvalid = "ORDER_INVALID"
ErrPackShortNameInvalid = "PACK_SHORT_NAME_INVALID"
ErrPackShortNameOccupied = "PACK_SHORT_NAME_OCCUPIED"
ErrPackTitleInvalid = "PACK_TITLE_INVALID"
ErrParticipantsTooFew = "PARTICIPANTS_TOO_FEW"
ErrParticipantIDInvalid = "PARTICIPANT_ID_INVALID"
ErrParticipantJoinMissing = "PARTICIPANT_JOIN_MISSING"
ErrParticipantVersionOutdated = "PARTICIPANT_VERSION_OUTDATED"
ErrPasswordEmpty = "PASSWORD_EMPTY"
ErrPasswordHashInvalid = "PASSWORD_HASH_INVALID"
ErrPasswordMissing = "PASSWORD_MISSING"
ErrPasswordRecoveryExpired = "PASSWORD_RECOVERY_EXPIRED"
ErrPasswordRecoveryNa = "PASSWORD_RECOVERY_NA"
ErrPasswordRequired = "PASSWORD_REQUIRED"
ErrPasswordTooFresh = "PASSWORD_TOO_FRESH"
ErrPaymentProviderInvalid = "PAYMENT_PROVIDER_INVALID"
ErrPaymentUnsupported = "PAYMENT_UNSUPPORTED"
ErrPeersListEmpty = "PEERS_LIST_EMPTY"
ErrPeerHistoryEmpty = "PEER_HISTORY_EMPTY"
ErrPeerIDInvalid = "PEER_ID_INVALID"
ErrPeerIDNotSupported = "PEER_ID_NOT_SUPPORTED"
ErrPersistentTimestampEmpty = "PERSISTENT_TIMESTAMP_EMPTY"
ErrPersistentTimestampInvalid = "PERSISTENT_TIMESTAMP_INVALID"
ErrPersistentTimestampOutdated = "PERSISTENT_TIMESTAMP_OUTDATED"
ErrPhoneCodeEmpty = "PHONE_CODE_EMPTY"
ErrPhoneCodeExpired = "PHONE_CODE_EXPIRED"
ErrPhoneCodeHashEmpty = "PHONE_CODE_HASH_EMPTY"
ErrPhoneCodeInvalid = "PHONE_CODE_INVALID"
ErrPhoneHashExpired = "PHONE_HASH_EXPIRED"
ErrPhoneNotOccupied = "PHONE_NOT_OCCUPIED"
ErrPhoneNumberAppSignupForbidden = "PHONE_NUMBER_APP_SIGNUP_FORBIDDEN"
ErrPhoneNumberBanned = "PHONE_NUMBER_BANNED"
ErrPhoneNumberFlood = "PHONE_NUMBER_FLOOD"
ErrPhoneNumberInvalid = "PHONE_NUMBER_INVALID"
ErrPhoneNumberOccupied = "PHONE_NUMBER_OCCUPIED"
ErrPhoneNumberUnoccupied = "PHONE_NUMBER_UNOCCUPIED"
ErrPhonePasswordFlood = "PHONE_PASSWORD_FLOOD"
ErrPhonePasswordProtected = "PHONE_PASSWORD_PROTECTED"
ErrPhotoContentTypeInvalid = "PHOTO_CONTENT_TYPE_INVALID"
ErrPhotoContentURLEmpty = "PHOTO_CONTENT_URL_EMPTY"
ErrPhotoCropFileMissing = "PHOTO_CROP_FILE_MISSING"
ErrPhotoCropSizeSmall = "PHOTO_CROP_SIZE_SMALL"
ErrPhotoExtInvalid = "PHOTO_EXT_INVALID"
ErrPhotoFileMissing = "PHOTO_FILE_MISSING"
ErrPhotoIDInvalid = "PHOTO_ID_INVALID"
ErrPhotoInvalid = "PHOTO_INVALID"
ErrPhotoInvalidDimensions = "PHOTO_INVALID_DIMENSIONS"
ErrPhotoSaveFileInvalid = "PHOTO_SAVE_FILE_INVALID"
ErrPhotoThumbURLEmpty = "PHOTO_THUMB_URL_EMPTY"
ErrPinnedDialogsTooMuch = "PINNED_DIALOGS_TOO_MUCH"
ErrPinRestricted = "PIN_RESTRICTED"
ErrPollAnswersInvalid = "POLL_ANSWERS_INVALID"
ErrPollAnswerInvalid = "POLL_ANSWER_INVALID"
ErrPollOptionDuplicate = "POLL_OPTION_DUPLICATE"
ErrPollOptionInvalid = "POLL_OPTION_INVALID"
ErrPollQuestionInvalid = "POLL_QUESTION_INVALID"
ErrPollVoteRequired = "POLL_VOTE_REQUIRED"
ErrPremiumAccountRequired = "PREMIUM_ACCOUNT_REQUIRED"
ErrPreviousChatImportActiveWaitMin = "PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_MIN"
ErrPrivacyKeyInvalid = "PRIVACY_KEY_INVALID"
ErrPrivacyTooLong = "PRIVACY_TOO_LONG"
ErrPrivacyValueInvalid = "PRIVACY_VALUE_INVALID"
ErrPublicChannelMissing = "PUBLIC_CHANNEL_MISSING"
ErrPublicKeyRequired = "PUBLIC_KEY_REQUIRED"
ErrQueryIDEmpty = "QUERY_ID_EMPTY"
ErrQueryIDInvalid = "QUERY_ID_INVALID"
ErrQueryTooShort = "QUERY_TOO_SHORT"
ErrQuizAnswerMissing = "QUIZ_ANSWER_MISSING"
ErrQuizCorrectAnswersEmpty = "QUIZ_CORRECT_ANSWERS_EMPTY"
ErrQuizCorrectAnswersTooMuch = "QUIZ_CORRECT_ANSWERS_TOO_MUCH"
ErrQuizCorrectAnswerInvalid = "QUIZ_CORRECT_ANSWER_INVALID"
ErrQuizMultipleInvalid = "QUIZ_MULTIPLE_INVALID"
ErrRandomIDDuplicate = "RANDOM_ID_DUPLICATE"
ErrRandomIDEmpty = "RANDOM_ID_EMPTY"
ErrRandomIDInvalid = "RANDOM_ID_INVALID"
ErrRandomLengthInvalid = "RANDOM_LENGTH_INVALID"
ErrRangesInvalid = "RANGES_INVALID"
ErrReactionsTooMany = "REACTIONS_TOO_MANY"
ErrReactionEmpty = "REACTION_EMPTY"
ErrReactionInvalid = "REACTION_INVALID"
ErrReplyMarkupBuyEmpty = "REPLY_MARKUP_BUY_EMPTY"
ErrReplyMarkupInvalid = "REPLY_MARKUP_INVALID"
ErrReplyMarkupTooLong = "REPLY_MARKUP_TOO_LONG"
ErrReplyToInvalid = "REPLY_TO_INVALID"
ErrReplyToUserInvalid = "REPLY_TO_USER_INVALID"
ErrResetRequestMissing = "RESET_REQUEST_MISSING"
ErrResultsTooMuch = "RESULTS_TOO_MUCH"
ErrResultIDDuplicate = "RESULT_ID_DUPLICATE"
ErrResultIDEmpty = "RESULT_ID_EMPTY"
ErrResultIDInvalid = "RESULT_ID_INVALID"
ErrResultTypeInvalid = "RESULT_TYPE_INVALID"
ErrRevoteNotAllowed = "REVOTE_NOT_ALLOWED"
ErrRightsNotModified = "RIGHTS_NOT_MODIFIED"
ErrRightForbidden = "RIGHT_FORBIDDEN"
ErrRsaDecryptFailed = "RSA_DECRYPT_FAILED"
ErrScheduleBotNotAllowed = "SCHEDULE_BOT_NOT_ALLOWED"
ErrScheduleDateInvalid = "SCHEDULE_DATE_INVALID"
ErrScheduleDateTooLate = "SCHEDULE_DATE_TOO_LATE"
ErrScheduleStatusPrivate = "SCHEDULE_STATUS_PRIVATE"
ErrScheduleTooMuch = "SCHEDULE_TOO_MUCH"
ErrScoreInvalid = "SCORE_INVALID"
ErrSearchQueryEmpty = "SEARCH_QUERY_EMPTY"
ErrSearchWithLinkNotSupported = "SEARCH_WITH_LINK_NOT_SUPPORTED"
ErrSecondsInvalid = "SECONDS_INVALID"
ErrSendAsPeerInvalid = "SEND_AS_PEER_INVALID"
ErrSendCodeUnavailable = "SEND_CODE_UNAVAILABLE"
ErrSendMediaInvalid = "SEND_MEDIA_INVALID"
ErrSendMessageMediaInvalid = "SEND_MESSAGE_MEDIA_INVALID"
ErrSendMessageTypeInvalid = "SEND_MESSAGE_TYPE_INVALID"
ErrSensitiveChangeForbidden = "SENSITIVE_CHANGE_FORBIDDEN"
ErrSessionTooFresh = "SESSION_TOO_FRESH"
ErrSettingsInvalid = "SETTINGS_INVALID"
ErrSHA256HashInvalid = "SHA256_HASH_INVALID"
ErrShortNameInvalid = "SHORT_NAME_INVALID"
ErrShortNameOccupied = "SHORT_NAME_OCCUPIED"
ErrSignInFailed = "SIGN_IN_FAILED"
ErrSlotsEmpty = "SLOTS_EMPTY"
ErrSlowmodeMultiMsgsDisabled = "SLOWMODE_MULTI_MSGS_DISABLED"
ErrSlowmodeWait = "SLOWMODE_WAIT"
ErrSlugInvalid = "SLUG_INVALID"
ErrSMSCodeCreateFailed = "SMS_CODE_CREATE_FAILED"
ErrSRPIDInvalid = "SRP_ID_INVALID"
ErrSRPPasswordChanged = "SRP_PASSWORD_CHANGED"
ErrStartParamEmpty = "START_PARAM_EMPTY"
ErrStartParamInvalid = "START_PARAM_INVALID"
ErrStartParamTooLong = "START_PARAM_TOO_LONG"
ErrStickerpackStickersTooMuch = "STICKERPACK_STICKERS_TOO_MUCH"
ErrStickersetInvalid = "STICKERSET_INVALID"
ErrStickersetOwnerAnonymous = "STICKERSET_OWNER_ANONYMOUS"
ErrStickersEmpty = "STICKERS_EMPTY"
ErrStickersTooMuch = "STICKERS_TOO_MUCH"
ErrStickerDocumentInvalid = "STICKER_DOCUMENT_INVALID"
ErrStickerEmojiInvalid = "STICKER_EMOJI_INVALID"
ErrStickerFileInvalid = "STICKER_FILE_INVALID"
ErrStickerGifDimensions = "STICKER_GIF_DIMENSIONS"
ErrStickerIDInvalid = "STICKER_ID_INVALID"
ErrStickerInvalid = "STICKER_INVALID"
ErrStickerMimeInvalid = "STICKER_MIME_INVALID"
ErrStickerPngDimensions = "STICKER_PNG_DIMENSIONS"
ErrStickerPngNopng = "STICKER_PNG_NOPNG"
ErrStickerTgsNodoc = "STICKER_TGS_NODOC"
ErrStickerTgsNotgs = "STICKER_TGS_NOTGS"
ErrStickerThumbPngNopng = "STICKER_THUMB_PNG_NOPNG"
ErrStickerThumbTgsNotgs = "STICKER_THUMB_TGS_NOTGS"
ErrStickerVideoBig = "STICKER_VIDEO_BIG"
ErrStickerVideoNodoc = "STICKER_VIDEO_NODOC"
ErrStickerVideoNowebm = "STICKER_VIDEO_NOWEBM"
ErrStoriesNeverCreated = "STORIES_NEVER_CREATED"
ErrStoriesTooMuch = "STORIES_TOO_MUCH"
ErrStoryIDEmpty = "STORY_ID_EMPTY"
ErrStoryIDInvalid = "STORY_ID_INVALID"
ErrStoryNotModified = "STORY_NOT_MODIFIED"
ErrStoryPeriodInvalid = "STORY_PERIOD_INVALID"
ErrStorySendFloodMonthly = "STORY_SEND_FLOOD_MONTHLY"
ErrStorySendFloodWeekly = "STORY_SEND_FLOOD_WEEKLY"
ErrSwitchPmTextEmpty = "SWITCH_PM_TEXT_EMPTY"
ErrTakeoutInitDelay = "TAKEOUT_INIT_DELAY"
ErrTakeoutRequired = "TAKEOUT_REQUIRED"
ErrTaskAlreadyExists = "TASK_ALREADY_EXISTS"
ErrTempAuthKeyAlreadyBound = "TEMP_AUTH_KEY_ALREADY_BOUND"
ErrTempAuthKeyEmpty = "TEMP_AUTH_KEY_EMPTY"
ErrThemeFileInvalid = "THEME_FILE_INVALID"
ErrThemeFormatInvalid = "THEME_FORMAT_INVALID"
ErrThemeInvalid = "THEME_INVALID"
ErrThemeMimeInvalid = "THEME_MIME_INVALID"
ErrThemeTitleInvalid = "THEME_TITLE_INVALID"
ErrTitleInvalid = "TITLE_INVALID"
ErrTmpPasswordDisabled = "TMP_PASSWORD_DISABLED"
ErrTokenEmpty = "TOKEN_EMPTY"
ErrTokenInvalid = "TOKEN_INVALID"
ErrTokenTypeInvalid = "TOKEN_TYPE_INVALID"
ErrTopicsEmpty = "TOPICS_EMPTY"
ErrTopicClosed = "TOPIC_CLOSED"
ErrTopicCloseSeparately = "TOPIC_CLOSE_SEPARATELY"
ErrTopicDeleted = "TOPIC_DELETED"
ErrTopicHideSeparately = "TOPIC_HIDE_SEPARATELY"
ErrTopicIDInvalid = "TOPIC_ID_INVALID"
ErrTopicNotModified = "TOPIC_NOT_MODIFIED"
ErrTopicTitleEmpty = "TOPIC_TITLE_EMPTY"
ErrToLangInvalid = "TO_LANG_INVALID"
ErrTranscriptionFailed = "TRANSCRIPTION_FAILED"
ErrTTLDaysInvalid = "TTL_DAYS_INVALID"
ErrTTLMediaInvalid = "TTL_MEDIA_INVALID"
ErrTTLPeriodInvalid = "TTL_PERIOD_INVALID"
ErrTypesEmpty = "TYPES_EMPTY"
ErrTimeout = "Timeout"
ErrUntilDateInvalid = "UNTIL_DATE_INVALID"
ErrURLInvalid = "URL_INVALID"
ErrUsageLimitInvalid = "USAGE_LIMIT_INVALID"
ErrUsernamesActiveTooMuch = "USERNAMES_ACTIVE_TOO_MUCH"
ErrUsernameInvalid = "USERNAME_INVALID"
ErrUsernameNotModified = "USERNAME_NOT_MODIFIED"
ErrUsernameNotOccupied = "USERNAME_NOT_OCCUPIED"
ErrUsernameOccupied = "USERNAME_OCCUPIED"
ErrUsernamePurchaseAvailable = "USERNAME_PURCHASE_AVAILABLE"
ErrUserpicPrivacyRequired = "USERPIC_PRIVACY_REQUIRED"
ErrUserpicUploadRequired = "USERPIC_UPLOAD_REQUIRED"
ErrUsersTooFew = "USERS_TOO_FEW"
ErrUsersTooMuch = "USERS_TOO_MUCH"
ErrUserAdminInvalid = "USER_ADMIN_INVALID"
ErrUserAlreadyInvited = "USER_ALREADY_INVITED"
ErrUserAlreadyParticipant = "USER_ALREADY_PARTICIPANT"
ErrUserBannedInChannel = "USER_BANNED_IN_CHANNEL"
ErrUserBlocked = "USER_BLOCKED"
ErrUserBot = "USER_BOT"
ErrUserBotInvalid = "USER_BOT_INVALID"
ErrUserBotRequired = "USER_BOT_REQUIRED"
ErrUserChannelsTooMuch = "USER_CHANNELS_TOO_MUCH"
ErrUserCreator = "USER_CREATOR"
ErrUserDeleted = "USER_DELETED"
ErrUserIDInvalid = "USER_ID_INVALID"
ErrUserInvalid = "USER_INVALID"
ErrUserIsBlocked = "USER_IS_BLOCKED"
ErrUserIsBot = "USER_IS_BOT"
ErrUserKicked = "USER_KICKED"
ErrUserNotMutualContact = "USER_NOT_MUTUAL_CONTACT"
ErrUserNotParticipant = "USER_NOT_PARTICIPANT"
ErrUserPrivacyRestricted = "USER_PRIVACY_RESTRICTED"
ErrUserPublicMissing = "USER_PUBLIC_MISSING"
ErrUserRestricted = "USER_RESTRICTED"
ErrUserVolumeInvalid = "USER_VOLUME_INVALID"
ErrVenueIDInvalid = "VENUE_ID_INVALID"
ErrVideoContentTypeInvalid = "VIDEO_CONTENT_TYPE_INVALID"
ErrVideoFileInvalid = "VIDEO_FILE_INVALID"
ErrVideoTitleEmpty = "VIDEO_TITLE_EMPTY"
ErrVoiceMessagesForbidden = "VOICE_MESSAGES_FORBIDDEN"
ErrWallpaperFileInvalid = "WALLPAPER_FILE_INVALID"
ErrWallpaperInvalid = "WALLPAPER_INVALID"
ErrWallpaperMimeInvalid = "WALLPAPER_MIME_INVALID"
ErrWallpaperNotFound = "WALLPAPER_NOT_FOUND"
ErrWcConvertURLInvalid = "WC_CONVERT_URL_INVALID"
ErrWebdocumentInvalid = "WEBDOCUMENT_INVALID"
ErrWebdocumentMimeInvalid = "WEBDOCUMENT_MIME_INVALID"
ErrWebdocumentSizeTooBig = "WEBDOCUMENT_SIZE_TOO_BIG"
ErrWebdocumentURLInvalid = "WEBDOCUMENT_URL_INVALID"
ErrWebpageCurlFailed = "WEBPAGE_CURL_FAILED"
ErrWebpageMediaEmpty = "WEBPAGE_MEDIA_EMPTY"
ErrWebpageNotFound = "WEBPAGE_NOT_FOUND"
ErrWebpageURLInvalid = "WEBPAGE_URL_INVALID"
ErrWebpushAuthInvalid = "WEBPUSH_AUTH_INVALID"
ErrWebpushKeyInvalid = "WEBPUSH_KEY_INVALID"
ErrWebpushTokenInvalid = "WEBPUSH_TOKEN_INVALID"
ErrYouBlockedUser = "YOU_BLOCKED_USER"
)
func Is2FAConfirmWait (err error ) bool {
return tgerr .Is (err , Err2FAConfirmWait )
}
func IsAboutTooLong (err error ) bool {
return tgerr .Is (err , ErrAboutTooLong )
}
func IsAccessTokenExpired (err error ) bool {
return tgerr .Is (err , ErrAccessTokenExpired )
}
func IsAccessTokenInvalid (err error ) bool {
return tgerr .Is (err , ErrAccessTokenInvalid )
}
func IsAddressInvalid (err error ) bool {
return tgerr .Is (err , ErrAddressInvalid )
}
func IsAdminsTooMuch (err error ) bool {
return tgerr .Is (err , ErrAdminsTooMuch )
}
func IsAdminIDInvalid (err error ) bool {
return tgerr .Is (err , ErrAdminIDInvalid )
}
func IsAdminRankEmojiNotAllowed (err error ) bool {
return tgerr .Is (err , ErrAdminRankEmojiNotAllowed )
}
func IsAdminRankInvalid (err error ) bool {
return tgerr .Is (err , ErrAdminRankInvalid )
}
func IsAdminRightsEmpty (err error ) bool {
return tgerr .Is (err , ErrAdminRightsEmpty )
}
func IsAlbumPhotosTooMany (err error ) bool {
return tgerr .Is (err , ErrAlbumPhotosTooMany )
}
func IsAnonymousReactionsDisabled (err error ) bool {
return tgerr .Is (err , ErrAnonymousReactionsDisabled )
}
func IsAPIIDInvalid (err error ) bool {
return tgerr .Is (err , ErrAPIIDInvalid )
}
func IsAPIIDPublishedFlood (err error ) bool {
return tgerr .Is (err , ErrAPIIDPublishedFlood )
}
func IsArticleTitleEmpty (err error ) bool {
return tgerr .Is (err , ErrArticleTitleEmpty )
}
func IsAudioContentURLEmpty (err error ) bool {
return tgerr .Is (err , ErrAudioContentURLEmpty )
}
func IsAudioTitleEmpty (err error ) bool {
return tgerr .Is (err , ErrAudioTitleEmpty )
}
func IsAuthBytesInvalid (err error ) bool {
return tgerr .Is (err , ErrAuthBytesInvalid )
}
func IsAuthRestart (err error ) bool {
return tgerr .Is (err , ErrAuthRestart )
}
func IsAuthTokenAlreadyAccepted (err error ) bool {
return tgerr .Is (err , ErrAuthTokenAlreadyAccepted )
}
func IsAuthTokenException (err error ) bool {
return tgerr .Is (err , ErrAuthTokenException )
}
func IsAuthTokenExpired (err error ) bool {
return tgerr .Is (err , ErrAuthTokenExpired )
}
func IsAuthTokenInvalid (err error ) bool {
return tgerr .Is (err , ErrAuthTokenInvalid )
}
func IsAuthTokenInvalidx (err error ) bool {
return tgerr .Is (err , ErrAuthTokenInvalidx )
}
func IsAutoarchiveNotAvailable (err error ) bool {
return tgerr .Is (err , ErrAutoarchiveNotAvailable )
}
func IsBankCardNumberInvalid (err error ) bool {
return tgerr .Is (err , ErrBankCardNumberInvalid )
}
func IsBannedRightsInvalid (err error ) bool {
return tgerr .Is (err , ErrBannedRightsInvalid )
}
func IsBoostsEmpty (err error ) bool {
return tgerr .Is (err , ErrBoostsEmpty )
}
func IsBoostsRequired (err error ) bool {
return tgerr .Is (err , ErrBoostsRequired )
}
func IsBoostPeerInvalid (err error ) bool {
return tgerr .Is (err , ErrBoostPeerInvalid )
}
func IsBotsTooMuch (err error ) bool {
return tgerr .Is (err , ErrBotsTooMuch )
}
func IsBotAppInvalid (err error ) bool {
return tgerr .Is (err , ErrBotAppInvalid )
}
func IsBotChannelsNa (err error ) bool {
return tgerr .Is (err , ErrBotChannelsNa )
}
func IsBotCommandDescriptionInvalid (err error ) bool {
return tgerr .Is (err , ErrBotCommandDescriptionInvalid )
}
func IsBotCommandInvalid (err error ) bool {
return tgerr .Is (err , ErrBotCommandInvalid )
}
func IsBotDomainInvalid (err error ) bool {
return tgerr .Is (err , ErrBotDomainInvalid )
}
func IsBotGroupsBlocked (err error ) bool {
return tgerr .Is (err , ErrBotGroupsBlocked )
}
func IsBotInlineDisabled (err error ) bool {
return tgerr .Is (err , ErrBotInlineDisabled )
}
func IsBotInvalid (err error ) bool {
return tgerr .Is (err , ErrBotInvalid )
}
func IsBotMissing (err error ) bool {
return tgerr .Is (err , ErrBotMissing )
}
func IsBotOnesideNotAvail (err error ) bool {
return tgerr .Is (err , ErrBotOnesideNotAvail )
}
func IsBotPaymentsDisabled (err error ) bool {
return tgerr .Is (err , ErrBotPaymentsDisabled )
}
func IsBotResponseTimeout (err error ) bool {
return tgerr .Is (err , ErrBotResponseTimeout )
}
func IsBotScoreNotModified (err error ) bool {
return tgerr .Is (err , ErrBotScoreNotModified )
}
func IsBroadcastForbidden (err error ) bool {
return tgerr .Is (err , ErrBroadcastForbidden )
}
func IsBroadcastIDInvalid (err error ) bool {
return tgerr .Is (err , ErrBroadcastIDInvalid )
}
func IsBroadcastPublicVotersForbidden (err error ) bool {
return tgerr .Is (err , ErrBroadcastPublicVotersForbidden )
}
func IsBroadcastRequired (err error ) bool {
return tgerr .Is (err , ErrBroadcastRequired )
}
func IsButtonDataInvalid (err error ) bool {
return tgerr .Is (err , ErrButtonDataInvalid )
}
func IsButtonTextInvalid (err error ) bool {
return tgerr .Is (err , ErrButtonTextInvalid )
}
func IsButtonTypeInvalid (err error ) bool {
return tgerr .Is (err , ErrButtonTypeInvalid )
}
func IsButtonURLInvalid (err error ) bool {
return tgerr .Is (err , ErrButtonURLInvalid )
}
func IsButtonUserPrivacyRestricted (err error ) bool {
return tgerr .Is (err , ErrButtonUserPrivacyRestricted )
}
func IsCallAlreadyAccepted (err error ) bool {
return tgerr .Is (err , ErrCallAlreadyAccepted )
}
func IsCallAlreadyDeclined (err error ) bool {
return tgerr .Is (err , ErrCallAlreadyDeclined )
}
func IsCallOccupyFailed (err error ) bool {
return tgerr .Is (err , ErrCallOccupyFailed )
}
func IsCallPeerInvalid (err error ) bool {
return tgerr .Is (err , ErrCallPeerInvalid )
}
func IsCallProtocolCompatLayerInvalid (err error ) bool {
return tgerr .Is (err , ErrCallProtocolCompatLayerInvalid )
}
func IsCallProtocolFlagsInvalid (err error ) bool {
return tgerr .Is (err , ErrCallProtocolFlagsInvalid )
}
func IsCDNMethodInvalid (err error ) bool {
return tgerr .Is (err , ErrCDNMethodInvalid )
}
func IsCDNUploadTimeout (err error ) bool {
return tgerr .Is (err , ErrCDNUploadTimeout )
}
func IsChannelsAdminLocatedTooMuch (err error ) bool {
return tgerr .Is (err , ErrChannelsAdminLocatedTooMuch )
}
func IsChannelsAdminPublicTooMuch (err error ) bool {
return tgerr .Is (err , ErrChannelsAdminPublicTooMuch )
}
func IsChannelsTooMuch (err error ) bool {
return tgerr .Is (err , ErrChannelsTooMuch )
}
func IsChannelForumMissing (err error ) bool {
return tgerr .Is (err , ErrChannelForumMissing )
}
func IsChannelIDInvalid (err error ) bool {
return tgerr .Is (err , ErrChannelIDInvalid )
}
func IsChannelInvalid (err error ) bool {
return tgerr .Is (err , ErrChannelInvalid )
}
func IsChannelParicipantMissing (err error ) bool {
return tgerr .Is (err , ErrChannelParicipantMissing )
}
func IsChannelPrivate (err error ) bool {
return tgerr .Is (err , ErrChannelPrivate )
}
func IsChannelPublicGroupNa (err error ) bool {
return tgerr .Is (err , ErrChannelPublicGroupNa )
}
func IsChannelTooBig (err error ) bool {
return tgerr .Is (err , ErrChannelTooBig )
}
func IsChannelTooLarge (err error ) bool {
return tgerr .Is (err , ErrChannelTooLarge )
}
func IsChatlistExcludeInvalid (err error ) bool {
return tgerr .Is (err , ErrChatlistExcludeInvalid )
}
func IsChatAboutNotModified (err error ) bool {
return tgerr .Is (err , ErrChatAboutNotModified )
}
func IsChatAboutTooLong (err error ) bool {
return tgerr .Is (err , ErrChatAboutTooLong )
}
func IsChatAdminInviteRequired (err error ) bool {
return tgerr .Is (err , ErrChatAdminInviteRequired )
}
func IsChatAdminRequired (err error ) bool {
return tgerr .Is (err , ErrChatAdminRequired )
}
func IsChatDiscussionUnallowed (err error ) bool {
return tgerr .Is (err , ErrChatDiscussionUnallowed )
}
func IsChatForwardsRestricted (err error ) bool {
return tgerr .Is (err , ErrChatForwardsRestricted )
}
func IsChatGuestSendForbidden (err error ) bool {
return tgerr .Is (err , ErrChatGuestSendForbidden )
}
func IsChatIDEmpty (err error ) bool {
return tgerr .Is (err , ErrChatIDEmpty )
}
func IsChatIDGenerateFailed (err error ) bool {
return tgerr .Is (err , ErrChatIDGenerateFailed )
}
func IsChatIDInvalid (err error ) bool {
return tgerr .Is (err , ErrChatIDInvalid )
}
func IsChatInvalid (err error ) bool {
return tgerr .Is (err , ErrChatInvalid )
}
func IsChatInvitePermanent (err error ) bool {
return tgerr .Is (err , ErrChatInvitePermanent )
}
func IsChatLinkExists (err error ) bool {
return tgerr .Is (err , ErrChatLinkExists )
}
func IsChatNotModified (err error ) bool {
return tgerr .Is (err , ErrChatNotModified )
}
func IsChatPublicRequired (err error ) bool {
return tgerr .Is (err , ErrChatPublicRequired )
}
func IsChatRestricted (err error ) bool {
return tgerr .Is (err , ErrChatRestricted )
}
func IsChatRevokeDateUnsupported (err error ) bool {
return tgerr .Is (err , ErrChatRevokeDateUnsupported )
}
func IsChatSendAudiosForbidden (err error ) bool {
return tgerr .Is (err , ErrChatSendAudiosForbidden )
}
func IsChatSendDocsForbidden (err error ) bool {
return tgerr .Is (err , ErrChatSendDocsForbidden )
}
func IsChatSendGameForbidden (err error ) bool {
return tgerr .Is (err , ErrChatSendGameForbidden )
}
func IsChatSendGifsForbidden (err error ) bool {
return tgerr .Is (err , ErrChatSendGifsForbidden )
}
func IsChatSendInlineForbidden (err error ) bool {
return tgerr .Is (err , ErrChatSendInlineForbidden )
}
func IsChatSendMediaForbidden (err error ) bool {
return tgerr .Is (err , ErrChatSendMediaForbidden )
}
func IsChatSendPhotosForbidden (err error ) bool {
return tgerr .Is (err , ErrChatSendPhotosForbidden )
}
func IsChatSendPlainForbidden (err error ) bool {
return tgerr .Is (err , ErrChatSendPlainForbidden )
}
func IsChatSendPollForbidden (err error ) bool {
return tgerr .Is (err , ErrChatSendPollForbidden )
}
func IsChatSendStickersForbidden (err error ) bool {
return tgerr .Is (err , ErrChatSendStickersForbidden )
}
func IsChatSendVideosForbidden (err error ) bool {
return tgerr .Is (err , ErrChatSendVideosForbidden )
}
func IsChatSendVoicesForbidden (err error ) bool {
return tgerr .Is (err , ErrChatSendVoicesForbidden )
}
func IsChatTitleEmpty (err error ) bool {
return tgerr .Is (err , ErrChatTitleEmpty )
}
func IsChatTooBig (err error ) bool {
return tgerr .Is (err , ErrChatTooBig )
}
func IsChatWriteForbidden (err error ) bool {
return tgerr .Is (err , ErrChatWriteForbidden )
}
func IsCodeEmpty (err error ) bool {
return tgerr .Is (err , ErrCodeEmpty )
}
func IsCodeHashInvalid (err error ) bool {
return tgerr .Is (err , ErrCodeHashInvalid )
}
func IsCodeInvalid (err error ) bool {
return tgerr .Is (err , ErrCodeInvalid )
}
func IsColorInvalid (err error ) bool {
return tgerr .Is (err , ErrColorInvalid )
}
func IsConnectionAPIIDInvalid (err error ) bool {
return tgerr .Is (err , ErrConnectionAPIIDInvalid )
}
func IsConnectionAppVersionEmpty (err error ) bool {
return tgerr .Is (err , ErrConnectionAppVersionEmpty )
}
func IsConnectionLayerInvalid (err error ) bool {
return tgerr .Is (err , ErrConnectionLayerInvalid )
}
func IsContactAddMissing (err error ) bool {
return tgerr .Is (err , ErrContactAddMissing )
}
func IsContactIDInvalid (err error ) bool {
return tgerr .Is (err , ErrContactIDInvalid )
}
func IsContactNameEmpty (err error ) bool {
return tgerr .Is (err , ErrContactNameEmpty )
}
func IsContactReqMissing (err error ) bool {
return tgerr .Is (err , ErrContactReqMissing )
}
func IsCreateCallFailed (err error ) bool {
return tgerr .Is (err , ErrCreateCallFailed )
}
func IsCurrencyTotalAmountInvalid (err error ) bool {
return tgerr .Is (err , ErrCurrencyTotalAmountInvalid )
}
func IsCustomReactionsTooMany (err error ) bool {
return tgerr .Is (err , ErrCustomReactionsTooMany )
}
func IsDataInvalid (err error ) bool {
return tgerr .Is (err , ErrDataInvalid )
}
func IsDataJSONInvalid (err error ) bool {
return tgerr .Is (err , ErrDataJSONInvalid )
}
func IsDataTooLong (err error ) bool {
return tgerr .Is (err , ErrDataTooLong )
}
func IsDateEmpty (err error ) bool {
return tgerr .Is (err , ErrDateEmpty )
}
func IsDCIDInvalid (err error ) bool {
return tgerr .Is (err , ErrDCIDInvalid )
}
func IsDhGAInvalid (err error ) bool {
return tgerr .Is (err , ErrDhGAInvalid )
}
func IsDocumentInvalid (err error ) bool {
return tgerr .Is (err , ErrDocumentInvalid )
}
func IsEditBotInviteForbidden (err error ) bool {
return tgerr .Is (err , ErrEditBotInviteForbidden )
}
func IsEmailHashExpired (err error ) bool {
return tgerr .Is (err , ErrEmailHashExpired )
}
func IsEmailInvalid (err error ) bool {
return tgerr .Is (err , ErrEmailInvalid )
}
func IsEmailNotSetup (err error ) bool {
return tgerr .Is (err , ErrEmailNotSetup )
}
func IsEmailUnconfirmed (err error ) bool {
return tgerr .Is (err , ErrEmailUnconfirmed )
}
func IsEmailVerifyExpired (err error ) bool {
return tgerr .Is (err , ErrEmailVerifyExpired )
}
func IsEmojiInvalid (err error ) bool {
return tgerr .Is (err , ErrEmojiInvalid )
}
func IsEmojiMarkupInvalid (err error ) bool {
return tgerr .Is (err , ErrEmojiMarkupInvalid )
}
func IsEmojiNotModified (err error ) bool {
return tgerr .Is (err , ErrEmojiNotModified )
}
func IsEmoticonEmpty (err error ) bool {
return tgerr .Is (err , ErrEmoticonEmpty )
}
func IsEmoticonInvalid (err error ) bool {
return tgerr .Is (err , ErrEmoticonInvalid )
}
func IsEmoticonStickerpackMissing (err error ) bool {
return tgerr .Is (err , ErrEmoticonStickerpackMissing )
}
func IsEncryptedMessageInvalid (err error ) bool {
return tgerr .Is (err , ErrEncryptedMessageInvalid )
}
func IsEncryptionAlreadyAccepted (err error ) bool {
return tgerr .Is (err , ErrEncryptionAlreadyAccepted )
}
func IsEncryptionAlreadyDeclined (err error ) bool {
return tgerr .Is (err , ErrEncryptionAlreadyDeclined )
}
func IsEncryptionDeclined (err error ) bool {
return tgerr .Is (err , ErrEncryptionDeclined )
}
func IsEncryptionIDInvalid (err error ) bool {
return tgerr .Is (err , ErrEncryptionIDInvalid )
}
func IsEntitiesTooLong (err error ) bool {
return tgerr .Is (err , ErrEntitiesTooLong )
}
func IsEntityBoundsInvalid (err error ) bool {
return tgerr .Is (err , ErrEntityBoundsInvalid )
}
func IsEntityMentionUserInvalid (err error ) bool {
return tgerr .Is (err , ErrEntityMentionUserInvalid )
}
func IsErrorTextEmpty (err error ) bool {
return tgerr .Is (err , ErrErrorTextEmpty )
}
func IsExpireDateInvalid (err error ) bool {
return tgerr .Is (err , ErrExpireDateInvalid )
}
func IsExternalURLInvalid (err error ) bool {
return tgerr .Is (err , ErrExternalURLInvalid )
}
func IsFilerefUpgradeNeeded (err error ) bool {
return tgerr .Is (err , ErrFilerefUpgradeNeeded )
}
func IsFileContentTypeInvalid (err error ) bool {
return tgerr .Is (err , ErrFileContentTypeInvalid )
}
func IsFileEmtpy (err error ) bool {
return tgerr .Is (err , ErrFileEmtpy )
}
func IsFileIDInvalid (err error ) bool {
return tgerr .Is (err , ErrFileIDInvalid )
}
func IsFilePartsInvalid (err error ) bool {
return tgerr .Is (err , ErrFilePartsInvalid )
}
func IsFilePartEmpty (err error ) bool {
return tgerr .Is (err , ErrFilePartEmpty )
}
func IsFilePartInvalid (err error ) bool {
return tgerr .Is (err , ErrFilePartInvalid )
}
func IsFilePartLengthInvalid (err error ) bool {
return tgerr .Is (err , ErrFilePartLengthInvalid )
}
func IsFilePartSizeChanged (err error ) bool {
return tgerr .Is (err , ErrFilePartSizeChanged )
}
func IsFilePartSizeInvalid (err error ) bool {
return tgerr .Is (err , ErrFilePartSizeInvalid )
}
func IsFilePartTooBig (err error ) bool {
return tgerr .Is (err , ErrFilePartTooBig )
}
func IsFileReference (err error ) bool {
return tgerr .Is (err , ErrFileReference )
}
func IsFileReferenceEmpty (err error ) bool {
return tgerr .Is (err , ErrFileReferenceEmpty )
}
func IsFileReferenceExpired (err error ) bool {
return tgerr .Is (err , ErrFileReferenceExpired )
}
func IsFileReferenceInvalid (err error ) bool {
return tgerr .Is (err , ErrFileReferenceInvalid )
}
func IsFileTitleEmpty (err error ) bool {
return tgerr .Is (err , ErrFileTitleEmpty )
}
func IsFileTokenInvalid (err error ) bool {
return tgerr .Is (err , ErrFileTokenInvalid )
}
func IsFilterIDInvalid (err error ) bool {
return tgerr .Is (err , ErrFilterIDInvalid )
}
func IsFilterIncludeEmpty (err error ) bool {
return tgerr .Is (err , ErrFilterIncludeEmpty )
}
func IsFilterNotSupported (err error ) bool {
return tgerr .Is (err , ErrFilterNotSupported )
}
func IsFilterTitleEmpty (err error ) bool {
return tgerr .Is (err , ErrFilterTitleEmpty )
}
func IsFirstnameInvalid (err error ) bool {
return tgerr .Is (err , ErrFirstnameInvalid )
}
func IsFolderIDInvalid (err error ) bool {
return tgerr .Is (err , ErrFolderIDInvalid )
}
func IsForumEnabled (err error ) bool {
return tgerr .Is (err , ErrForumEnabled )
}
func IsFreshChangeAdminsForbidden (err error ) bool {
return tgerr .Is (err , ErrFreshChangeAdminsForbidden )
}
func IsFreshChangePhoneForbidden (err error ) bool {
return tgerr .Is (err , ErrFreshChangePhoneForbidden )
}
func IsFreshResetAuthorisationForbidden (err error ) bool {
return tgerr .Is (err , ErrFreshResetAuthorisationForbidden )
}
func IsFromMessageBotDisabled (err error ) bool {
return tgerr .Is (err , ErrFromMessageBotDisabled )
}
func IsFromPeerInvalid (err error ) bool {
return tgerr .Is (err , ErrFromPeerInvalid )
}
func IsGameBotInvalid (err error ) bool {
return tgerr .Is (err , ErrGameBotInvalid )
}
func IsGeneralModifyIconForbidden (err error ) bool {
return tgerr .Is (err , ErrGeneralModifyIconForbidden )
}
func IsGeoPointInvalid (err error ) bool {
return tgerr .Is (err , ErrGeoPointInvalid )
}
func IsGiftcodeNotAllowed (err error ) bool {
return tgerr .Is (err , ErrGiftcodeNotAllowed )
}
func IsGiftSlugInvalid (err error ) bool {
return tgerr .Is (err , ErrGiftSlugInvalid )
}
func IsGifContentTypeInvalid (err error ) bool {
return tgerr .Is (err , ErrGifContentTypeInvalid )
}
func IsGifIDInvalid (err error ) bool {
return tgerr .Is (err , ErrGifIDInvalid )
}
func IsGraphExpiredReload (err error ) bool {
return tgerr .Is (err , ErrGraphExpiredReload )
}
func IsGraphInvalidReload (err error ) bool {
return tgerr .Is (err , ErrGraphInvalidReload )
}
func IsGraphOutdatedReload (err error ) bool {
return tgerr .Is (err , ErrGraphOutdatedReload )
}
func IsGroupcallAddParticipantsFailed (err error ) bool {
return tgerr .Is (err , ErrGroupcallAddParticipantsFailed )
}
func IsGroupcallAlreadyDiscarded (err error ) bool {
return tgerr .Is (err , ErrGroupcallAlreadyDiscarded )
}
func IsGroupcallAlreadyStarted (err error ) bool {
return tgerr .Is (err , ErrGroupcallAlreadyStarted )
}
func IsGroupcallForbidden (err error ) bool {
return tgerr .Is (err , ErrGroupcallForbidden )
}
func IsGroupcallInvalid (err error ) bool {
return tgerr .Is (err , ErrGroupcallInvalid )
}
func IsGroupcallJoinMissing (err error ) bool {
return tgerr .Is (err , ErrGroupcallJoinMissing )
}
func IsGroupcallNotModified (err error ) bool {
return tgerr .Is (err , ErrGroupcallNotModified )
}
func IsGroupcallSsrcDuplicateMuch (err error ) bool {
return tgerr .Is (err , ErrGroupcallSsrcDuplicateMuch )
}
func IsGroupedMediaInvalid (err error ) bool {
return tgerr .Is (err , ErrGroupedMediaInvalid )
}
func IsHashInvalid (err error ) bool {
return tgerr .Is (err , ErrHashInvalid )
}
func IsHideRequesterMissing (err error ) bool {
return tgerr .Is (err , ErrHideRequesterMissing )
}
func IsImageProcessFailed (err error ) bool {
return tgerr .Is (err , ErrImageProcessFailed )
}
func IsImportFileInvalid (err error ) bool {
return tgerr .Is (err , ErrImportFileInvalid )
}
func IsImportFormatUnrecognized (err error ) bool {
return tgerr .Is (err , ErrImportFormatUnrecognized )
}
func IsImportIDInvalid (err error ) bool {
return tgerr .Is (err , ErrImportIDInvalid )
}
func IsImportTokenInvalid (err error ) bool {
return tgerr .Is (err , ErrImportTokenInvalid )
}
func IsInlineBotRequired (err error ) bool {
return tgerr .Is (err , ErrInlineBotRequired )
}
func IsInlineResultExpired (err error ) bool {
return tgerr .Is (err , ErrInlineResultExpired )
}
func IsInputChatlistInvalid (err error ) bool {
return tgerr .Is (err , ErrInputChatlistInvalid )
}
func IsInputFilterInvalid (err error ) bool {
return tgerr .Is (err , ErrInputFilterInvalid )
}
func IsInputTextEmpty (err error ) bool {
return tgerr .Is (err , ErrInputTextEmpty )
}
func IsInputUserDeactivated (err error ) bool {
return tgerr .Is (err , ErrInputUserDeactivated )
}
func IsInvitesTooMuch (err error ) bool {
return tgerr .Is (err , ErrInvitesTooMuch )
}
func IsInviteForbiddenWithJoinas (err error ) bool {
return tgerr .Is (err , ErrInviteForbiddenWithJoinas )
}
func IsInviteHashEmpty (err error ) bool {
return tgerr .Is (err , ErrInviteHashEmpty )
}
func IsInviteHashExpired (err error ) bool {
return tgerr .Is (err , ErrInviteHashExpired )
}
func IsInviteHashInvalid (err error ) bool {
return tgerr .Is (err , ErrInviteHashInvalid )
}
func IsInviteRequestSent (err error ) bool {
return tgerr .Is (err , ErrInviteRequestSent )
}
func IsInviteRevokedMissing (err error ) bool {
return tgerr .Is (err , ErrInviteRevokedMissing )
}
func IsInviteSlugEmpty (err error ) bool {
return tgerr .Is (err , ErrInviteSlugEmpty )
}
func IsInviteSlugExpired (err error ) bool {
return tgerr .Is (err , ErrInviteSlugExpired )
}
func IsInvoicePayloadInvalid (err error ) bool {
return tgerr .Is (err , ErrInvoicePayloadInvalid )
}
func IsJoinAsPeerInvalid (err error ) bool {
return tgerr .Is (err , ErrJoinAsPeerInvalid )
}
func IsLangCodeInvalid (err error ) bool {
return tgerr .Is (err , ErrLangCodeInvalid )
}
func IsLangCodeNotSupported (err error ) bool {
return tgerr .Is (err , ErrLangCodeNotSupported )
}
func IsLangPackInvalid (err error ) bool {
return tgerr .Is (err , ErrLangPackInvalid )
}
func IsLastnameInvalid (err error ) bool {
return tgerr .Is (err , ErrLastnameInvalid )
}
func IsLimitInvalid (err error ) bool {
return tgerr .Is (err , ErrLimitInvalid )
}
func IsLinkNotModified (err error ) bool {
return tgerr .Is (err , ErrLinkNotModified )
}
func IsLocationInvalid (err error ) bool {
return tgerr .Is (err , ErrLocationInvalid )
}
func IsMaxDateInvalid (err error ) bool {
return tgerr .Is (err , ErrMaxDateInvalid )
}
func IsMaxIDInvalid (err error ) bool {
return tgerr .Is (err , ErrMaxIDInvalid )
}
func IsMaxQtsInvalid (err error ) bool {
return tgerr .Is (err , ErrMaxQtsInvalid )
}
func IsMD5ChecksumInvalid (err error ) bool {
return tgerr .Is (err , ErrMD5ChecksumInvalid )
}
func IsMediaCaptionTooLong (err error ) bool {
return tgerr .Is (err , ErrMediaCaptionTooLong )
}
func IsMediaEmpty (err error ) bool {
return tgerr .Is (err , ErrMediaEmpty )
}
func IsMediaFileInvalid (err error ) bool {
return tgerr .Is (err , ErrMediaFileInvalid )
}
func IsMediaGroupedInvalid (err error ) bool {
return tgerr .Is (err , ErrMediaGroupedInvalid )
}
func IsMediaInvalid (err error ) bool {
return tgerr .Is (err , ErrMediaInvalid )
}
func IsMediaNewInvalid (err error ) bool {
return tgerr .Is (err , ErrMediaNewInvalid )
}
func IsMediaPrevInvalid (err error ) bool {
return tgerr .Is (err , ErrMediaPrevInvalid )
}
func IsMediaTTLInvalid (err error ) bool {
return tgerr .Is (err , ErrMediaTTLInvalid )
}
func IsMediaTypeInvalid (err error ) bool {
return tgerr .Is (err , ErrMediaTypeInvalid )
}
func IsMediaVideoStoryMissing (err error ) bool {
return tgerr .Is (err , ErrMediaVideoStoryMissing )
}
func IsMegagroupGeoRequired (err error ) bool {
return tgerr .Is (err , ErrMegagroupGeoRequired )
}
func IsMegagroupIDInvalid (err error ) bool {
return tgerr .Is (err , ErrMegagroupIDInvalid )
}
func IsMegagroupPrehistoryHidden (err error ) bool {
return tgerr .Is (err , ErrMegagroupPrehistoryHidden )
}
func IsMegagroupRequired (err error ) bool {
return tgerr .Is (err , ErrMegagroupRequired )
}
func IsMemberNotFound (err error ) bool {
return tgerr .Is (err , ErrMemberNotFound )
}
func IsMessageAuthorRequired (err error ) bool {
return tgerr .Is (err , ErrMessageAuthorRequired )
}
func IsMessageDeleteForbidden (err error ) bool {
return tgerr .Is (err , ErrMessageDeleteForbidden )
}
func IsMessageEditTimeExpired (err error ) bool {
return tgerr .Is (err , ErrMessageEditTimeExpired )
}
func IsMessageEmpty (err error ) bool {
return tgerr .Is (err , ErrMessageEmpty )
}
func IsMessageIDsEmpty (err error ) bool {
return tgerr .Is (err , ErrMessageIDsEmpty )
}
func IsMessageIDInvalid (err error ) bool {
return tgerr .Is (err , ErrMessageIDInvalid )
}
func IsMessageNotModified (err error ) bool {
return tgerr .Is (err , ErrMessageNotModified )
}
func IsMessagePollClosed (err error ) bool {
return tgerr .Is (err , ErrMessagePollClosed )
}
func IsMessageTooLong (err error ) bool {
return tgerr .Is (err , ErrMessageTooLong )
}
func IsMethodInvalid (err error ) bool {
return tgerr .Is (err , ErrMethodInvalid )
}
func IsMinDateInvalid (err error ) bool {
return tgerr .Is (err , ErrMinDateInvalid )
}
func IsMsgIDInvalid (err error ) bool {
return tgerr .Is (err , ErrMsgIDInvalid )
}
func IsMsgTooOld (err error ) bool {
return tgerr .Is (err , ErrMsgTooOld )
}
func IsMsgWaitFailed (err error ) bool {
return tgerr .Is (err , ErrMsgWaitFailed )
}
func IsMultiMediaTooLong (err error ) bool {
return tgerr .Is (err , ErrMultiMediaTooLong )
}
func IsNewSaltInvalid (err error ) bool {
return tgerr .Is (err , ErrNewSaltInvalid )
}
func IsNewSettingsEmpty (err error ) bool {
return tgerr .Is (err , ErrNewSettingsEmpty )
}
func IsNewSettingsInvalid (err error ) bool {
return tgerr .Is (err , ErrNewSettingsInvalid )
}
func IsNextOffsetInvalid (err error ) bool {
return tgerr .Is (err , ErrNextOffsetInvalid )
}
func IsOffsetInvalid (err error ) bool {
return tgerr .Is (err , ErrOffsetInvalid )
}
func IsOffsetPeerIDInvalid (err error ) bool {
return tgerr .Is (err , ErrOffsetPeerIDInvalid )
}
func IsOptionsTooMuch (err error ) bool {
return tgerr .Is (err , ErrOptionsTooMuch )
}
func IsOptionInvalid (err error ) bool {
return tgerr .Is (err , ErrOptionInvalid )
}
func IsOrderInvalid (err error ) bool {
return tgerr .Is (err , ErrOrderInvalid )
}
func IsPackShortNameInvalid (err error ) bool {
return tgerr .Is (err , ErrPackShortNameInvalid )
}
func IsPackShortNameOccupied (err error ) bool {
return tgerr .Is (err , ErrPackShortNameOccupied )
}
func IsPackTitleInvalid (err error ) bool {
return tgerr .Is (err , ErrPackTitleInvalid )
}
func IsParticipantsTooFew (err error ) bool {
return tgerr .Is (err , ErrParticipantsTooFew )
}
func IsParticipantIDInvalid (err error ) bool {
return tgerr .Is (err , ErrParticipantIDInvalid )
}
func IsParticipantJoinMissing (err error ) bool {
return tgerr .Is (err , ErrParticipantJoinMissing )
}
func IsParticipantVersionOutdated (err error ) bool {
return tgerr .Is (err , ErrParticipantVersionOutdated )
}
func IsPasswordEmpty (err error ) bool {
return tgerr .Is (err , ErrPasswordEmpty )
}
func IsPasswordHashInvalid (err error ) bool {
return tgerr .Is (err , ErrPasswordHashInvalid )
}
func IsPasswordMissing (err error ) bool {
return tgerr .Is (err , ErrPasswordMissing )
}
func IsPasswordRecoveryExpired (err error ) bool {
return tgerr .Is (err , ErrPasswordRecoveryExpired )
}
func IsPasswordRecoveryNa (err error ) bool {
return tgerr .Is (err , ErrPasswordRecoveryNa )
}
func IsPasswordRequired (err error ) bool {
return tgerr .Is (err , ErrPasswordRequired )
}
func IsPasswordTooFresh (err error ) bool {
return tgerr .Is (err , ErrPasswordTooFresh )
}
func IsPaymentProviderInvalid (err error ) bool {
return tgerr .Is (err , ErrPaymentProviderInvalid )
}
func IsPaymentUnsupported (err error ) bool {
return tgerr .Is (err , ErrPaymentUnsupported )
}
func IsPeersListEmpty (err error ) bool {
return tgerr .Is (err , ErrPeersListEmpty )
}
func IsPeerHistoryEmpty (err error ) bool {
return tgerr .Is (err , ErrPeerHistoryEmpty )
}
func IsPeerIDInvalid (err error ) bool {
return tgerr .Is (err , ErrPeerIDInvalid )
}
func IsPeerIDNotSupported (err error ) bool {
return tgerr .Is (err , ErrPeerIDNotSupported )
}
func IsPersistentTimestampEmpty (err error ) bool {
return tgerr .Is (err , ErrPersistentTimestampEmpty )
}
func IsPersistentTimestampInvalid (err error ) bool {
return tgerr .Is (err , ErrPersistentTimestampInvalid )
}
func IsPersistentTimestampOutdated (err error ) bool {
return tgerr .Is (err , ErrPersistentTimestampOutdated )
}
func IsPhoneCodeEmpty (err error ) bool {
return tgerr .Is (err , ErrPhoneCodeEmpty )
}
func IsPhoneCodeExpired (err error ) bool {
return tgerr .Is (err , ErrPhoneCodeExpired )
}
func IsPhoneCodeHashEmpty (err error ) bool {
return tgerr .Is (err , ErrPhoneCodeHashEmpty )
}
func IsPhoneCodeInvalid (err error ) bool {
return tgerr .Is (err , ErrPhoneCodeInvalid )
}
func IsPhoneHashExpired (err error ) bool {
return tgerr .Is (err , ErrPhoneHashExpired )
}
func IsPhoneNotOccupied (err error ) bool {
return tgerr .Is (err , ErrPhoneNotOccupied )
}
func IsPhoneNumberAppSignupForbidden (err error ) bool {
return tgerr .Is (err , ErrPhoneNumberAppSignupForbidden )
}
func IsPhoneNumberBanned (err error ) bool {
return tgerr .Is (err , ErrPhoneNumberBanned )
}
func IsPhoneNumberFlood (err error ) bool {
return tgerr .Is (err , ErrPhoneNumberFlood )
}
func IsPhoneNumberInvalid (err error ) bool {
return tgerr .Is (err , ErrPhoneNumberInvalid )
}
func IsPhoneNumberOccupied (err error ) bool {
return tgerr .Is (err , ErrPhoneNumberOccupied )
}
func IsPhoneNumberUnoccupied (err error ) bool {
return tgerr .Is (err , ErrPhoneNumberUnoccupied )
}
func IsPhonePasswordFlood (err error ) bool {
return tgerr .Is (err , ErrPhonePasswordFlood )
}
func IsPhonePasswordProtected (err error ) bool {
return tgerr .Is (err , ErrPhonePasswordProtected )
}
func IsPhotoContentTypeInvalid (err error ) bool {
return tgerr .Is (err , ErrPhotoContentTypeInvalid )
}
func IsPhotoContentURLEmpty (err error ) bool {
return tgerr .Is (err , ErrPhotoContentURLEmpty )
}
func IsPhotoCropFileMissing (err error ) bool {
return tgerr .Is (err , ErrPhotoCropFileMissing )
}
func IsPhotoCropSizeSmall (err error ) bool {
return tgerr .Is (err , ErrPhotoCropSizeSmall )
}
func IsPhotoExtInvalid (err error ) bool {
return tgerr .Is (err , ErrPhotoExtInvalid )
}
func IsPhotoFileMissing (err error ) bool {
return tgerr .Is (err , ErrPhotoFileMissing )
}
func IsPhotoIDInvalid (err error ) bool {
return tgerr .Is (err , ErrPhotoIDInvalid )
}
func IsPhotoInvalid (err error ) bool {
return tgerr .Is (err , ErrPhotoInvalid )
}
func IsPhotoInvalidDimensions (err error ) bool {
return tgerr .Is (err , ErrPhotoInvalidDimensions )
}
func IsPhotoSaveFileInvalid (err error ) bool {
return tgerr .Is (err , ErrPhotoSaveFileInvalid )
}
func IsPhotoThumbURLEmpty (err error ) bool {
return tgerr .Is (err , ErrPhotoThumbURLEmpty )
}
func IsPinnedDialogsTooMuch (err error ) bool {
return tgerr .Is (err , ErrPinnedDialogsTooMuch )
}
func IsPinRestricted (err error ) bool {
return tgerr .Is (err , ErrPinRestricted )
}
func IsPollAnswersInvalid (err error ) bool {
return tgerr .Is (err , ErrPollAnswersInvalid )
}
func IsPollAnswerInvalid (err error ) bool {
return tgerr .Is (err , ErrPollAnswerInvalid )
}
func IsPollOptionDuplicate (err error ) bool {
return tgerr .Is (err , ErrPollOptionDuplicate )
}
func IsPollOptionInvalid (err error ) bool {
return tgerr .Is (err , ErrPollOptionInvalid )
}
func IsPollQuestionInvalid (err error ) bool {
return tgerr .Is (err , ErrPollQuestionInvalid )
}
func IsPollVoteRequired (err error ) bool {
return tgerr .Is (err , ErrPollVoteRequired )
}
func IsPremiumAccountRequired (err error ) bool {
return tgerr .Is (err , ErrPremiumAccountRequired )
}
func IsPreviousChatImportActiveWaitMin (err error ) bool {
return tgerr .Is (err , ErrPreviousChatImportActiveWaitMin )
}
func IsPrivacyKeyInvalid (err error ) bool {
return tgerr .Is (err , ErrPrivacyKeyInvalid )
}
func IsPrivacyTooLong (err error ) bool {
return tgerr .Is (err , ErrPrivacyTooLong )
}
func IsPrivacyValueInvalid (err error ) bool {
return tgerr .Is (err , ErrPrivacyValueInvalid )
}
func IsPublicChannelMissing (err error ) bool {
return tgerr .Is (err , ErrPublicChannelMissing )
}
func IsPublicKeyRequired (err error ) bool {
return tgerr .Is (err , ErrPublicKeyRequired )
}
func IsQueryIDEmpty (err error ) bool {
return tgerr .Is (err , ErrQueryIDEmpty )
}
func IsQueryIDInvalid (err error ) bool {
return tgerr .Is (err , ErrQueryIDInvalid )
}
func IsQueryTooShort (err error ) bool {
return tgerr .Is (err , ErrQueryTooShort )
}
func IsQuizAnswerMissing (err error ) bool {
return tgerr .Is (err , ErrQuizAnswerMissing )
}
func IsQuizCorrectAnswersEmpty (err error ) bool {
return tgerr .Is (err , ErrQuizCorrectAnswersEmpty )
}
func IsQuizCorrectAnswersTooMuch (err error ) bool {
return tgerr .Is (err , ErrQuizCorrectAnswersTooMuch )
}
func IsQuizCorrectAnswerInvalid (err error ) bool {
return tgerr .Is (err , ErrQuizCorrectAnswerInvalid )
}
func IsQuizMultipleInvalid (err error ) bool {
return tgerr .Is (err , ErrQuizMultipleInvalid )
}
func IsRandomIDDuplicate (err error ) bool {
return tgerr .Is (err , ErrRandomIDDuplicate )
}
func IsRandomIDEmpty (err error ) bool {
return tgerr .Is (err , ErrRandomIDEmpty )
}
func IsRandomIDInvalid (err error ) bool {
return tgerr .Is (err , ErrRandomIDInvalid )
}
func IsRandomLengthInvalid (err error ) bool {
return tgerr .Is (err , ErrRandomLengthInvalid )
}
func IsRangesInvalid (err error ) bool {
return tgerr .Is (err , ErrRangesInvalid )
}
func IsReactionsTooMany (err error ) bool {
return tgerr .Is (err , ErrReactionsTooMany )
}
func IsReactionEmpty (err error ) bool {
return tgerr .Is (err , ErrReactionEmpty )
}
func IsReactionInvalid (err error ) bool {
return tgerr .Is (err , ErrReactionInvalid )
}
func IsReplyMarkupBuyEmpty (err error ) bool {
return tgerr .Is (err , ErrReplyMarkupBuyEmpty )
}
func IsReplyMarkupInvalid (err error ) bool {
return tgerr .Is (err , ErrReplyMarkupInvalid )
}
func IsReplyMarkupTooLong (err error ) bool {
return tgerr .Is (err , ErrReplyMarkupTooLong )
}
func IsReplyToInvalid (err error ) bool {
return tgerr .Is (err , ErrReplyToInvalid )
}
func IsReplyToUserInvalid (err error ) bool {
return tgerr .Is (err , ErrReplyToUserInvalid )
}
func IsResetRequestMissing (err error ) bool {
return tgerr .Is (err , ErrResetRequestMissing )
}
func IsResultsTooMuch (err error ) bool {
return tgerr .Is (err , ErrResultsTooMuch )
}
func IsResultIDDuplicate (err error ) bool {
return tgerr .Is (err , ErrResultIDDuplicate )
}
func IsResultIDEmpty (err error ) bool {
return tgerr .Is (err , ErrResultIDEmpty )
}
func IsResultIDInvalid (err error ) bool {
return tgerr .Is (err , ErrResultIDInvalid )
}
func IsResultTypeInvalid (err error ) bool {
return tgerr .Is (err , ErrResultTypeInvalid )
}
func IsRevoteNotAllowed (err error ) bool {
return tgerr .Is (err , ErrRevoteNotAllowed )
}
func IsRightsNotModified (err error ) bool {
return tgerr .Is (err , ErrRightsNotModified )
}
func IsRightForbidden (err error ) bool {
return tgerr .Is (err , ErrRightForbidden )
}
func IsRsaDecryptFailed (err error ) bool {
return tgerr .Is (err , ErrRsaDecryptFailed )
}
func IsScheduleBotNotAllowed (err error ) bool {
return tgerr .Is (err , ErrScheduleBotNotAllowed )
}
func IsScheduleDateInvalid (err error ) bool {
return tgerr .Is (err , ErrScheduleDateInvalid )
}
func IsScheduleDateTooLate (err error ) bool {
return tgerr .Is (err , ErrScheduleDateTooLate )
}
func IsScheduleStatusPrivate (err error ) bool {
return tgerr .Is (err , ErrScheduleStatusPrivate )
}
func IsScheduleTooMuch (err error ) bool {
return tgerr .Is (err , ErrScheduleTooMuch )
}
func IsScoreInvalid (err error ) bool {
return tgerr .Is (err , ErrScoreInvalid )
}
func IsSearchQueryEmpty (err error ) bool {
return tgerr .Is (err , ErrSearchQueryEmpty )
}
func IsSearchWithLinkNotSupported (err error ) bool {
return tgerr .Is (err , ErrSearchWithLinkNotSupported )
}
func IsSecondsInvalid (err error ) bool {
return tgerr .Is (err , ErrSecondsInvalid )
}
func IsSendAsPeerInvalid (err error ) bool {
return tgerr .Is (err , ErrSendAsPeerInvalid )
}
func IsSendCodeUnavailable (err error ) bool {
return tgerr .Is (err , ErrSendCodeUnavailable )
}
func IsSendMediaInvalid (err error ) bool {
return tgerr .Is (err , ErrSendMediaInvalid )
}
func IsSendMessageMediaInvalid (err error ) bool {
return tgerr .Is (err , ErrSendMessageMediaInvalid )
}
func IsSendMessageTypeInvalid (err error ) bool {
return tgerr .Is (err , ErrSendMessageTypeInvalid )
}
func IsSensitiveChangeForbidden (err error ) bool {
return tgerr .Is (err , ErrSensitiveChangeForbidden )
}
func IsSessionTooFresh (err error ) bool {
return tgerr .Is (err , ErrSessionTooFresh )
}
func IsSettingsInvalid (err error ) bool {
return tgerr .Is (err , ErrSettingsInvalid )
}
func IsSHA256HashInvalid (err error ) bool {
return tgerr .Is (err , ErrSHA256HashInvalid )
}
func IsShortNameInvalid (err error ) bool {
return tgerr .Is (err , ErrShortNameInvalid )
}
func IsShortNameOccupied (err error ) bool {
return tgerr .Is (err , ErrShortNameOccupied )
}
func IsSignInFailed (err error ) bool {
return tgerr .Is (err , ErrSignInFailed )
}
func IsSlotsEmpty (err error ) bool {
return tgerr .Is (err , ErrSlotsEmpty )
}
func IsSlowmodeMultiMsgsDisabled (err error ) bool {
return tgerr .Is (err , ErrSlowmodeMultiMsgsDisabled )
}
func IsSlowmodeWait (err error ) bool {
return tgerr .Is (err , ErrSlowmodeWait )
}
func IsSlugInvalid (err error ) bool {
return tgerr .Is (err , ErrSlugInvalid )
}
func IsSMSCodeCreateFailed (err error ) bool {
return tgerr .Is (err , ErrSMSCodeCreateFailed )
}
func IsSRPIDInvalid (err error ) bool {
return tgerr .Is (err , ErrSRPIDInvalid )
}
func IsSRPPasswordChanged (err error ) bool {
return tgerr .Is (err , ErrSRPPasswordChanged )
}
func IsStartParamEmpty (err error ) bool {
return tgerr .Is (err , ErrStartParamEmpty )
}
func IsStartParamInvalid (err error ) bool {
return tgerr .Is (err , ErrStartParamInvalid )
}
func IsStartParamTooLong (err error ) bool {
return tgerr .Is (err , ErrStartParamTooLong )
}
func IsStickerpackStickersTooMuch (err error ) bool {
return tgerr .Is (err , ErrStickerpackStickersTooMuch )
}
func IsStickersetInvalid (err error ) bool {
return tgerr .Is (err , ErrStickersetInvalid )
}
func IsStickersetOwnerAnonymous (err error ) bool {
return tgerr .Is (err , ErrStickersetOwnerAnonymous )
}
func IsStickersEmpty (err error ) bool {
return tgerr .Is (err , ErrStickersEmpty )
}
func IsStickersTooMuch (err error ) bool {
return tgerr .Is (err , ErrStickersTooMuch )
}
func IsStickerDocumentInvalid (err error ) bool {
return tgerr .Is (err , ErrStickerDocumentInvalid )
}
func IsStickerEmojiInvalid (err error ) bool {
return tgerr .Is (err , ErrStickerEmojiInvalid )
}
func IsStickerFileInvalid (err error ) bool {
return tgerr .Is (err , ErrStickerFileInvalid )
}
func IsStickerGifDimensions (err error ) bool {
return tgerr .Is (err , ErrStickerGifDimensions )
}
func IsStickerIDInvalid (err error ) bool {
return tgerr .Is (err , ErrStickerIDInvalid )
}
func IsStickerInvalid (err error ) bool {
return tgerr .Is (err , ErrStickerInvalid )
}
func IsStickerMimeInvalid (err error ) bool {
return tgerr .Is (err , ErrStickerMimeInvalid )
}
func IsStickerPngDimensions (err error ) bool {
return tgerr .Is (err , ErrStickerPngDimensions )
}
func IsStickerPngNopng (err error ) bool {
return tgerr .Is (err , ErrStickerPngNopng )
}
func IsStickerTgsNodoc (err error ) bool {
return tgerr .Is (err , ErrStickerTgsNodoc )
}
func IsStickerTgsNotgs (err error ) bool {
return tgerr .Is (err , ErrStickerTgsNotgs )
}
func IsStickerThumbPngNopng (err error ) bool {
return tgerr .Is (err , ErrStickerThumbPngNopng )
}
func IsStickerThumbTgsNotgs (err error ) bool {
return tgerr .Is (err , ErrStickerThumbTgsNotgs )
}
func IsStickerVideoBig (err error ) bool {
return tgerr .Is (err , ErrStickerVideoBig )
}
func IsStickerVideoNodoc (err error ) bool {
return tgerr .Is (err , ErrStickerVideoNodoc )
}
func IsStickerVideoNowebm (err error ) bool {
return tgerr .Is (err , ErrStickerVideoNowebm )
}
func IsStoriesNeverCreated (err error ) bool {
return tgerr .Is (err , ErrStoriesNeverCreated )
}
func IsStoriesTooMuch (err error ) bool {
return tgerr .Is (err , ErrStoriesTooMuch )
}
func IsStoryIDEmpty (err error ) bool {
return tgerr .Is (err , ErrStoryIDEmpty )
}
func IsStoryIDInvalid (err error ) bool {
return tgerr .Is (err , ErrStoryIDInvalid )
}
func IsStoryNotModified (err error ) bool {
return tgerr .Is (err , ErrStoryNotModified )
}
func IsStoryPeriodInvalid (err error ) bool {
return tgerr .Is (err , ErrStoryPeriodInvalid )
}
func IsStorySendFloodMonthly (err error ) bool {
return tgerr .Is (err , ErrStorySendFloodMonthly )
}
func IsStorySendFloodWeekly (err error ) bool {
return tgerr .Is (err , ErrStorySendFloodWeekly )
}
func IsSwitchPmTextEmpty (err error ) bool {
return tgerr .Is (err , ErrSwitchPmTextEmpty )
}
func IsTakeoutInitDelay (err error ) bool {
return tgerr .Is (err , ErrTakeoutInitDelay )
}
func IsTakeoutRequired (err error ) bool {
return tgerr .Is (err , ErrTakeoutRequired )
}
func IsTaskAlreadyExists (err error ) bool {
return tgerr .Is (err , ErrTaskAlreadyExists )
}
func IsTempAuthKeyAlreadyBound (err error ) bool {
return tgerr .Is (err , ErrTempAuthKeyAlreadyBound )
}
func IsTempAuthKeyEmpty (err error ) bool {
return tgerr .Is (err , ErrTempAuthKeyEmpty )
}
func IsThemeFileInvalid (err error ) bool {
return tgerr .Is (err , ErrThemeFileInvalid )
}
func IsThemeFormatInvalid (err error ) bool {
return tgerr .Is (err , ErrThemeFormatInvalid )
}
func IsThemeInvalid (err error ) bool {
return tgerr .Is (err , ErrThemeInvalid )
}
func IsThemeMimeInvalid (err error ) bool {
return tgerr .Is (err , ErrThemeMimeInvalid )
}
func IsThemeTitleInvalid (err error ) bool {
return tgerr .Is (err , ErrThemeTitleInvalid )
}
func IsTitleInvalid (err error ) bool {
return tgerr .Is (err , ErrTitleInvalid )
}
func IsTmpPasswordDisabled (err error ) bool {
return tgerr .Is (err , ErrTmpPasswordDisabled )
}
func IsTokenEmpty (err error ) bool {
return tgerr .Is (err , ErrTokenEmpty )
}
func IsTokenInvalid (err error ) bool {
return tgerr .Is (err , ErrTokenInvalid )
}
func IsTokenTypeInvalid (err error ) bool {
return tgerr .Is (err , ErrTokenTypeInvalid )
}
func IsTopicsEmpty (err error ) bool {
return tgerr .Is (err , ErrTopicsEmpty )
}
func IsTopicClosed (err error ) bool {
return tgerr .Is (err , ErrTopicClosed )
}
func IsTopicCloseSeparately (err error ) bool {
return tgerr .Is (err , ErrTopicCloseSeparately )
}
func IsTopicDeleted (err error ) bool {
return tgerr .Is (err , ErrTopicDeleted )
}
func IsTopicHideSeparately (err error ) bool {
return tgerr .Is (err , ErrTopicHideSeparately )
}
func IsTopicIDInvalid (err error ) bool {
return tgerr .Is (err , ErrTopicIDInvalid )
}
func IsTopicNotModified (err error ) bool {
return tgerr .Is (err , ErrTopicNotModified )
}
func IsTopicTitleEmpty (err error ) bool {
return tgerr .Is (err , ErrTopicTitleEmpty )
}
func IsToLangInvalid (err error ) bool {
return tgerr .Is (err , ErrToLangInvalid )
}
func IsTranscriptionFailed (err error ) bool {
return tgerr .Is (err , ErrTranscriptionFailed )
}
func IsTTLDaysInvalid (err error ) bool {
return tgerr .Is (err , ErrTTLDaysInvalid )
}
func IsTTLMediaInvalid (err error ) bool {
return tgerr .Is (err , ErrTTLMediaInvalid )
}
func IsTTLPeriodInvalid (err error ) bool {
return tgerr .Is (err , ErrTTLPeriodInvalid )
}
func IsTypesEmpty (err error ) bool {
return tgerr .Is (err , ErrTypesEmpty )
}
func IsTimeout (err error ) bool {
return tgerr .Is (err , ErrTimeout )
}
func IsUntilDateInvalid (err error ) bool {
return tgerr .Is (err , ErrUntilDateInvalid )
}
func IsURLInvalid (err error ) bool {
return tgerr .Is (err , ErrURLInvalid )
}
func IsUsageLimitInvalid (err error ) bool {
return tgerr .Is (err , ErrUsageLimitInvalid )
}
func IsUsernamesActiveTooMuch (err error ) bool {
return tgerr .Is (err , ErrUsernamesActiveTooMuch )
}
func IsUsernameInvalid (err error ) bool {
return tgerr .Is (err , ErrUsernameInvalid )
}
func IsUsernameNotModified (err error ) bool {
return tgerr .Is (err , ErrUsernameNotModified )
}
func IsUsernameNotOccupied (err error ) bool {
return tgerr .Is (err , ErrUsernameNotOccupied )
}
func IsUsernameOccupied (err error ) bool {
return tgerr .Is (err , ErrUsernameOccupied )
}
func IsUsernamePurchaseAvailable (err error ) bool {
return tgerr .Is (err , ErrUsernamePurchaseAvailable )
}
func IsUserpicPrivacyRequired (err error ) bool {
return tgerr .Is (err , ErrUserpicPrivacyRequired )
}
func IsUserpicUploadRequired (err error ) bool {
return tgerr .Is (err , ErrUserpicUploadRequired )
}
func IsUsersTooFew (err error ) bool {
return tgerr .Is (err , ErrUsersTooFew )
}
func IsUsersTooMuch (err error ) bool {
return tgerr .Is (err , ErrUsersTooMuch )
}
func IsUserAdminInvalid (err error ) bool {
return tgerr .Is (err , ErrUserAdminInvalid )
}
func IsUserAlreadyInvited (err error ) bool {
return tgerr .Is (err , ErrUserAlreadyInvited )
}
func IsUserAlreadyParticipant (err error ) bool {
return tgerr .Is (err , ErrUserAlreadyParticipant )
}
func IsUserBannedInChannel (err error ) bool {
return tgerr .Is (err , ErrUserBannedInChannel )
}
func IsUserBlocked (err error ) bool {
return tgerr .Is (err , ErrUserBlocked )
}
func IsUserBot (err error ) bool {
return tgerr .Is (err , ErrUserBot )
}
func IsUserBotInvalid (err error ) bool {
return tgerr .Is (err , ErrUserBotInvalid )
}
func IsUserBotRequired (err error ) bool {
return tgerr .Is (err , ErrUserBotRequired )
}
func IsUserChannelsTooMuch (err error ) bool {
return tgerr .Is (err , ErrUserChannelsTooMuch )
}
func IsUserCreator (err error ) bool {
return tgerr .Is (err , ErrUserCreator )
}
func IsUserDeleted (err error ) bool {
return tgerr .Is (err , ErrUserDeleted )
}
func IsUserIDInvalid (err error ) bool {
return tgerr .Is (err , ErrUserIDInvalid )
}
func IsUserInvalid (err error ) bool {
return tgerr .Is (err , ErrUserInvalid )
}
func IsUserIsBlocked (err error ) bool {
return tgerr .Is (err , ErrUserIsBlocked )
}
func IsUserIsBot (err error ) bool {
return tgerr .Is (err , ErrUserIsBot )
}
func IsUserKicked (err error ) bool {
return tgerr .Is (err , ErrUserKicked )
}
func IsUserNotMutualContact (err error ) bool {
return tgerr .Is (err , ErrUserNotMutualContact )
}
func IsUserNotParticipant (err error ) bool {
return tgerr .Is (err , ErrUserNotParticipant )
}
func IsUserPrivacyRestricted (err error ) bool {
return tgerr .Is (err , ErrUserPrivacyRestricted )
}
func IsUserPublicMissing (err error ) bool {
return tgerr .Is (err , ErrUserPublicMissing )
}
func IsUserRestricted (err error ) bool {
return tgerr .Is (err , ErrUserRestricted )
}
func IsUserVolumeInvalid (err error ) bool {
return tgerr .Is (err , ErrUserVolumeInvalid )
}
func IsVenueIDInvalid (err error ) bool {
return tgerr .Is (err , ErrVenueIDInvalid )
}
func IsVideoContentTypeInvalid (err error ) bool {
return tgerr .Is (err , ErrVideoContentTypeInvalid )
}
func IsVideoFileInvalid (err error ) bool {
return tgerr .Is (err , ErrVideoFileInvalid )
}
func IsVideoTitleEmpty (err error ) bool {
return tgerr .Is (err , ErrVideoTitleEmpty )
}
func IsVoiceMessagesForbidden (err error ) bool {
return tgerr .Is (err , ErrVoiceMessagesForbidden )
}
func IsWallpaperFileInvalid (err error ) bool {
return tgerr .Is (err , ErrWallpaperFileInvalid )
}
func IsWallpaperInvalid (err error ) bool {
return tgerr .Is (err , ErrWallpaperInvalid )
}
func IsWallpaperMimeInvalid (err error ) bool {
return tgerr .Is (err , ErrWallpaperMimeInvalid )
}
func IsWallpaperNotFound (err error ) bool {
return tgerr .Is (err , ErrWallpaperNotFound )
}
func IsWcConvertURLInvalid (err error ) bool {
return tgerr .Is (err , ErrWcConvertURLInvalid )
}
func IsWebdocumentInvalid (err error ) bool {
return tgerr .Is (err , ErrWebdocumentInvalid )
}
func IsWebdocumentMimeInvalid (err error ) bool {
return tgerr .Is (err , ErrWebdocumentMimeInvalid )
}
func IsWebdocumentSizeTooBig (err error ) bool {
return tgerr .Is (err , ErrWebdocumentSizeTooBig )
}
func IsWebdocumentURLInvalid (err error ) bool {
return tgerr .Is (err , ErrWebdocumentURLInvalid )
}
func IsWebpageCurlFailed (err error ) bool {
return tgerr .Is (err , ErrWebpageCurlFailed )
}
func IsWebpageMediaEmpty (err error ) bool {
return tgerr .Is (err , ErrWebpageMediaEmpty )
}
func IsWebpageNotFound (err error ) bool {
return tgerr .Is (err , ErrWebpageNotFound )
}
func IsWebpageURLInvalid (err error ) bool {
return tgerr .Is (err , ErrWebpageURLInvalid )
}
func IsWebpushAuthInvalid (err error ) bool {
return tgerr .Is (err , ErrWebpushAuthInvalid )
}
func IsWebpushKeyInvalid (err error ) bool {
return tgerr .Is (err , ErrWebpushKeyInvalid )
}
func IsWebpushTokenInvalid (err error ) bool {
return tgerr .Is (err , ErrWebpushTokenInvalid )
}
func IsYouBlockedUser (err error ) bool {
return tgerr .Is (err , ErrYouBlockedUser )
}
The pages are generated with Golds v0.6.7 . (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds .