func github.com/gotd/td/tgerr.Is

518 uses

	github.com/gotd/td/tgerr (current package)
		error.go#L139: func Is(err error, tt ...string) bool {

	github.com/gotd/td/telegram
		builder.go#L117: 			if tgerr.Is(err, retryableErrors...) {

	github.com/gotd/td/telegram/auth
		auth.go#L12: 	return tgerr.Is(err, "AUTH_KEY_UNREGISTERED")
		user.go#L108: 	if tgerr.Is(err, "SESSION_PASSWORD_NEEDED") {

	github.com/gotd/td/telegram/internal/manager
		conn.go#L213: 			if tgerr.Is(err, tgerr.ErrFloodWait) {

	github.com/gotd/td/tg
		tl_errors_gen.go#L553: 	return tgerr.Is(err, Err2FAConfirmWait)
		tl_errors_gen.go#L558: 	return tgerr.Is(err, ErrAboutTooLong)
		tl_errors_gen.go#L563: 	return tgerr.Is(err, ErrAccessTokenExpired)
		tl_errors_gen.go#L568: 	return tgerr.Is(err, ErrAccessTokenInvalid)
		tl_errors_gen.go#L573: 	return tgerr.Is(err, ErrAddressInvalid)
		tl_errors_gen.go#L578: 	return tgerr.Is(err, ErrAdminsTooMuch)
		tl_errors_gen.go#L583: 	return tgerr.Is(err, ErrAdminIDInvalid)
		tl_errors_gen.go#L588: 	return tgerr.Is(err, ErrAdminRankEmojiNotAllowed)
		tl_errors_gen.go#L593: 	return tgerr.Is(err, ErrAdminRankInvalid)
		tl_errors_gen.go#L598: 	return tgerr.Is(err, ErrAdminRightsEmpty)
		tl_errors_gen.go#L603: 	return tgerr.Is(err, ErrAlbumPhotosTooMany)
		tl_errors_gen.go#L608: 	return tgerr.Is(err, ErrAnonymousReactionsDisabled)
		tl_errors_gen.go#L613: 	return tgerr.Is(err, ErrAPIIDInvalid)
		tl_errors_gen.go#L618: 	return tgerr.Is(err, ErrAPIIDPublishedFlood)
		tl_errors_gen.go#L623: 	return tgerr.Is(err, ErrArticleTitleEmpty)
		tl_errors_gen.go#L628: 	return tgerr.Is(err, ErrAudioContentURLEmpty)
		tl_errors_gen.go#L633: 	return tgerr.Is(err, ErrAudioTitleEmpty)
		tl_errors_gen.go#L638: 	return tgerr.Is(err, ErrAuthBytesInvalid)
		tl_errors_gen.go#L643: 	return tgerr.Is(err, ErrAuthRestart)
		tl_errors_gen.go#L648: 	return tgerr.Is(err, ErrAuthTokenAlreadyAccepted)
		tl_errors_gen.go#L653: 	return tgerr.Is(err, ErrAuthTokenException)
		tl_errors_gen.go#L658: 	return tgerr.Is(err, ErrAuthTokenExpired)
		tl_errors_gen.go#L663: 	return tgerr.Is(err, ErrAuthTokenInvalid)
		tl_errors_gen.go#L668: 	return tgerr.Is(err, ErrAuthTokenInvalidx)
		tl_errors_gen.go#L673: 	return tgerr.Is(err, ErrAutoarchiveNotAvailable)
		tl_errors_gen.go#L678: 	return tgerr.Is(err, ErrBankCardNumberInvalid)
		tl_errors_gen.go#L683: 	return tgerr.Is(err, ErrBannedRightsInvalid)
		tl_errors_gen.go#L688: 	return tgerr.Is(err, ErrBoostsEmpty)
		tl_errors_gen.go#L693: 	return tgerr.Is(err, ErrBoostsRequired)
		tl_errors_gen.go#L698: 	return tgerr.Is(err, ErrBoostPeerInvalid)
		tl_errors_gen.go#L703: 	return tgerr.Is(err, ErrBotsTooMuch)
		tl_errors_gen.go#L708: 	return tgerr.Is(err, ErrBotAppInvalid)
		tl_errors_gen.go#L713: 	return tgerr.Is(err, ErrBotChannelsNa)
		tl_errors_gen.go#L718: 	return tgerr.Is(err, ErrBotCommandDescriptionInvalid)
		tl_errors_gen.go#L723: 	return tgerr.Is(err, ErrBotCommandInvalid)
		tl_errors_gen.go#L728: 	return tgerr.Is(err, ErrBotDomainInvalid)
		tl_errors_gen.go#L733: 	return tgerr.Is(err, ErrBotGroupsBlocked)
		tl_errors_gen.go#L738: 	return tgerr.Is(err, ErrBotInlineDisabled)
		tl_errors_gen.go#L743: 	return tgerr.Is(err, ErrBotInvalid)
		tl_errors_gen.go#L748: 	return tgerr.Is(err, ErrBotMissing)
		tl_errors_gen.go#L753: 	return tgerr.Is(err, ErrBotOnesideNotAvail)
		tl_errors_gen.go#L758: 	return tgerr.Is(err, ErrBotPaymentsDisabled)
		tl_errors_gen.go#L763: 	return tgerr.Is(err, ErrBotResponseTimeout)
		tl_errors_gen.go#L768: 	return tgerr.Is(err, ErrBotScoreNotModified)
		tl_errors_gen.go#L773: 	return tgerr.Is(err, ErrBroadcastForbidden)
		tl_errors_gen.go#L778: 	return tgerr.Is(err, ErrBroadcastIDInvalid)
		tl_errors_gen.go#L783: 	return tgerr.Is(err, ErrBroadcastPublicVotersForbidden)
		tl_errors_gen.go#L788: 	return tgerr.Is(err, ErrBroadcastRequired)
		tl_errors_gen.go#L793: 	return tgerr.Is(err, ErrButtonDataInvalid)
		tl_errors_gen.go#L798: 	return tgerr.Is(err, ErrButtonTextInvalid)
		tl_errors_gen.go#L803: 	return tgerr.Is(err, ErrButtonTypeInvalid)
		tl_errors_gen.go#L808: 	return tgerr.Is(err, ErrButtonURLInvalid)
		tl_errors_gen.go#L813: 	return tgerr.Is(err, ErrButtonUserPrivacyRestricted)
		tl_errors_gen.go#L818: 	return tgerr.Is(err, ErrCallAlreadyAccepted)
		tl_errors_gen.go#L823: 	return tgerr.Is(err, ErrCallAlreadyDeclined)
		tl_errors_gen.go#L828: 	return tgerr.Is(err, ErrCallOccupyFailed)
		tl_errors_gen.go#L833: 	return tgerr.Is(err, ErrCallPeerInvalid)
		tl_errors_gen.go#L838: 	return tgerr.Is(err, ErrCallProtocolCompatLayerInvalid)
		tl_errors_gen.go#L843: 	return tgerr.Is(err, ErrCallProtocolFlagsInvalid)
		tl_errors_gen.go#L848: 	return tgerr.Is(err, ErrCDNMethodInvalid)
		tl_errors_gen.go#L853: 	return tgerr.Is(err, ErrCDNUploadTimeout)
		tl_errors_gen.go#L858: 	return tgerr.Is(err, ErrChannelsAdminLocatedTooMuch)
		tl_errors_gen.go#L863: 	return tgerr.Is(err, ErrChannelsAdminPublicTooMuch)
		tl_errors_gen.go#L868: 	return tgerr.Is(err, ErrChannelsTooMuch)
		tl_errors_gen.go#L873: 	return tgerr.Is(err, ErrChannelForumMissing)
		tl_errors_gen.go#L878: 	return tgerr.Is(err, ErrChannelIDInvalid)
		tl_errors_gen.go#L883: 	return tgerr.Is(err, ErrChannelInvalid)
		tl_errors_gen.go#L888: 	return tgerr.Is(err, ErrChannelParicipantMissing)
		tl_errors_gen.go#L893: 	return tgerr.Is(err, ErrChannelPrivate)
		tl_errors_gen.go#L898: 	return tgerr.Is(err, ErrChannelPublicGroupNa)
		tl_errors_gen.go#L903: 	return tgerr.Is(err, ErrChannelTooBig)
		tl_errors_gen.go#L908: 	return tgerr.Is(err, ErrChannelTooLarge)
		tl_errors_gen.go#L913: 	return tgerr.Is(err, ErrChatlistExcludeInvalid)
		tl_errors_gen.go#L918: 	return tgerr.Is(err, ErrChatAboutNotModified)
		tl_errors_gen.go#L923: 	return tgerr.Is(err, ErrChatAboutTooLong)
		tl_errors_gen.go#L928: 	return tgerr.Is(err, ErrChatAdminInviteRequired)
		tl_errors_gen.go#L933: 	return tgerr.Is(err, ErrChatAdminRequired)
		tl_errors_gen.go#L938: 	return tgerr.Is(err, ErrChatDiscussionUnallowed)
		tl_errors_gen.go#L943: 	return tgerr.Is(err, ErrChatForwardsRestricted)
		tl_errors_gen.go#L948: 	return tgerr.Is(err, ErrChatGuestSendForbidden)
		tl_errors_gen.go#L953: 	return tgerr.Is(err, ErrChatIDEmpty)
		tl_errors_gen.go#L958: 	return tgerr.Is(err, ErrChatIDGenerateFailed)
		tl_errors_gen.go#L963: 	return tgerr.Is(err, ErrChatIDInvalid)
		tl_errors_gen.go#L968: 	return tgerr.Is(err, ErrChatInvalid)
		tl_errors_gen.go#L973: 	return tgerr.Is(err, ErrChatInvitePermanent)
		tl_errors_gen.go#L978: 	return tgerr.Is(err, ErrChatLinkExists)
		tl_errors_gen.go#L983: 	return tgerr.Is(err, ErrChatNotModified)
		tl_errors_gen.go#L988: 	return tgerr.Is(err, ErrChatPublicRequired)
		tl_errors_gen.go#L993: 	return tgerr.Is(err, ErrChatRestricted)
		tl_errors_gen.go#L998: 	return tgerr.Is(err, ErrChatRevokeDateUnsupported)
		tl_errors_gen.go#L1003: 	return tgerr.Is(err, ErrChatSendAudiosForbidden)
		tl_errors_gen.go#L1008: 	return tgerr.Is(err, ErrChatSendDocsForbidden)
		tl_errors_gen.go#L1013: 	return tgerr.Is(err, ErrChatSendGameForbidden)
		tl_errors_gen.go#L1018: 	return tgerr.Is(err, ErrChatSendGifsForbidden)
		tl_errors_gen.go#L1023: 	return tgerr.Is(err, ErrChatSendInlineForbidden)
		tl_errors_gen.go#L1028: 	return tgerr.Is(err, ErrChatSendMediaForbidden)
		tl_errors_gen.go#L1033: 	return tgerr.Is(err, ErrChatSendPhotosForbidden)
		tl_errors_gen.go#L1038: 	return tgerr.Is(err, ErrChatSendPlainForbidden)
		tl_errors_gen.go#L1043: 	return tgerr.Is(err, ErrChatSendPollForbidden)
		tl_errors_gen.go#L1048: 	return tgerr.Is(err, ErrChatSendStickersForbidden)
		tl_errors_gen.go#L1053: 	return tgerr.Is(err, ErrChatSendVideosForbidden)
		tl_errors_gen.go#L1058: 	return tgerr.Is(err, ErrChatSendVoicesForbidden)
		tl_errors_gen.go#L1063: 	return tgerr.Is(err, ErrChatTitleEmpty)
		tl_errors_gen.go#L1068: 	return tgerr.Is(err, ErrChatTooBig)
		tl_errors_gen.go#L1073: 	return tgerr.Is(err, ErrChatWriteForbidden)
		tl_errors_gen.go#L1078: 	return tgerr.Is(err, ErrCodeEmpty)
		tl_errors_gen.go#L1083: 	return tgerr.Is(err, ErrCodeHashInvalid)
		tl_errors_gen.go#L1088: 	return tgerr.Is(err, ErrCodeInvalid)
		tl_errors_gen.go#L1093: 	return tgerr.Is(err, ErrColorInvalid)
		tl_errors_gen.go#L1098: 	return tgerr.Is(err, ErrConnectionAPIIDInvalid)
		tl_errors_gen.go#L1103: 	return tgerr.Is(err, ErrConnectionAppVersionEmpty)
		tl_errors_gen.go#L1108: 	return tgerr.Is(err, ErrConnectionLayerInvalid)
		tl_errors_gen.go#L1113: 	return tgerr.Is(err, ErrContactAddMissing)
		tl_errors_gen.go#L1118: 	return tgerr.Is(err, ErrContactIDInvalid)
		tl_errors_gen.go#L1123: 	return tgerr.Is(err, ErrContactNameEmpty)
		tl_errors_gen.go#L1128: 	return tgerr.Is(err, ErrContactReqMissing)
		tl_errors_gen.go#L1133: 	return tgerr.Is(err, ErrCreateCallFailed)
		tl_errors_gen.go#L1138: 	return tgerr.Is(err, ErrCurrencyTotalAmountInvalid)
		tl_errors_gen.go#L1143: 	return tgerr.Is(err, ErrCustomReactionsTooMany)
		tl_errors_gen.go#L1148: 	return tgerr.Is(err, ErrDataInvalid)
		tl_errors_gen.go#L1153: 	return tgerr.Is(err, ErrDataJSONInvalid)
		tl_errors_gen.go#L1158: 	return tgerr.Is(err, ErrDataTooLong)
		tl_errors_gen.go#L1163: 	return tgerr.Is(err, ErrDateEmpty)
		tl_errors_gen.go#L1168: 	return tgerr.Is(err, ErrDCIDInvalid)
		tl_errors_gen.go#L1173: 	return tgerr.Is(err, ErrDhGAInvalid)
		tl_errors_gen.go#L1178: 	return tgerr.Is(err, ErrDocumentInvalid)
		tl_errors_gen.go#L1183: 	return tgerr.Is(err, ErrEditBotInviteForbidden)
		tl_errors_gen.go#L1188: 	return tgerr.Is(err, ErrEmailHashExpired)
		tl_errors_gen.go#L1193: 	return tgerr.Is(err, ErrEmailInvalid)
		tl_errors_gen.go#L1198: 	return tgerr.Is(err, ErrEmailNotSetup)
		tl_errors_gen.go#L1203: 	return tgerr.Is(err, ErrEmailUnconfirmed)
		tl_errors_gen.go#L1208: 	return tgerr.Is(err, ErrEmailVerifyExpired)
		tl_errors_gen.go#L1213: 	return tgerr.Is(err, ErrEmojiInvalid)
		tl_errors_gen.go#L1218: 	return tgerr.Is(err, ErrEmojiMarkupInvalid)
		tl_errors_gen.go#L1223: 	return tgerr.Is(err, ErrEmojiNotModified)
		tl_errors_gen.go#L1228: 	return tgerr.Is(err, ErrEmoticonEmpty)
		tl_errors_gen.go#L1233: 	return tgerr.Is(err, ErrEmoticonInvalid)
		tl_errors_gen.go#L1238: 	return tgerr.Is(err, ErrEmoticonStickerpackMissing)
		tl_errors_gen.go#L1243: 	return tgerr.Is(err, ErrEncryptedMessageInvalid)
		tl_errors_gen.go#L1248: 	return tgerr.Is(err, ErrEncryptionAlreadyAccepted)
		tl_errors_gen.go#L1253: 	return tgerr.Is(err, ErrEncryptionAlreadyDeclined)
		tl_errors_gen.go#L1258: 	return tgerr.Is(err, ErrEncryptionDeclined)
		tl_errors_gen.go#L1263: 	return tgerr.Is(err, ErrEncryptionIDInvalid)
		tl_errors_gen.go#L1268: 	return tgerr.Is(err, ErrEntitiesTooLong)
		tl_errors_gen.go#L1273: 	return tgerr.Is(err, ErrEntityBoundsInvalid)
		tl_errors_gen.go#L1278: 	return tgerr.Is(err, ErrEntityMentionUserInvalid)
		tl_errors_gen.go#L1283: 	return tgerr.Is(err, ErrErrorTextEmpty)
		tl_errors_gen.go#L1288: 	return tgerr.Is(err, ErrExpireDateInvalid)
		tl_errors_gen.go#L1293: 	return tgerr.Is(err, ErrExternalURLInvalid)
		tl_errors_gen.go#L1298: 	return tgerr.Is(err, ErrFilerefUpgradeNeeded)
		tl_errors_gen.go#L1303: 	return tgerr.Is(err, ErrFileContentTypeInvalid)
		tl_errors_gen.go#L1308: 	return tgerr.Is(err, ErrFileEmtpy)
		tl_errors_gen.go#L1313: 	return tgerr.Is(err, ErrFileIDInvalid)
		tl_errors_gen.go#L1318: 	return tgerr.Is(err, ErrFilePartsInvalid)
		tl_errors_gen.go#L1323: 	return tgerr.Is(err, ErrFilePartEmpty)
		tl_errors_gen.go#L1328: 	return tgerr.Is(err, ErrFilePartInvalid)
		tl_errors_gen.go#L1333: 	return tgerr.Is(err, ErrFilePartLengthInvalid)
		tl_errors_gen.go#L1338: 	return tgerr.Is(err, ErrFilePartSizeChanged)
		tl_errors_gen.go#L1343: 	return tgerr.Is(err, ErrFilePartSizeInvalid)
		tl_errors_gen.go#L1348: 	return tgerr.Is(err, ErrFilePartTooBig)
		tl_errors_gen.go#L1353: 	return tgerr.Is(err, ErrFileReference)
		tl_errors_gen.go#L1358: 	return tgerr.Is(err, ErrFileReferenceEmpty)
		tl_errors_gen.go#L1363: 	return tgerr.Is(err, ErrFileReferenceExpired)
		tl_errors_gen.go#L1368: 	return tgerr.Is(err, ErrFileReferenceInvalid)
		tl_errors_gen.go#L1373: 	return tgerr.Is(err, ErrFileTitleEmpty)
		tl_errors_gen.go#L1378: 	return tgerr.Is(err, ErrFileTokenInvalid)
		tl_errors_gen.go#L1383: 	return tgerr.Is(err, ErrFilterIDInvalid)
		tl_errors_gen.go#L1388: 	return tgerr.Is(err, ErrFilterIncludeEmpty)
		tl_errors_gen.go#L1393: 	return tgerr.Is(err, ErrFilterNotSupported)
		tl_errors_gen.go#L1398: 	return tgerr.Is(err, ErrFilterTitleEmpty)
		tl_errors_gen.go#L1403: 	return tgerr.Is(err, ErrFirstnameInvalid)
		tl_errors_gen.go#L1408: 	return tgerr.Is(err, ErrFolderIDInvalid)
		tl_errors_gen.go#L1413: 	return tgerr.Is(err, ErrForumEnabled)
		tl_errors_gen.go#L1418: 	return tgerr.Is(err, ErrFreshChangeAdminsForbidden)
		tl_errors_gen.go#L1423: 	return tgerr.Is(err, ErrFreshChangePhoneForbidden)
		tl_errors_gen.go#L1428: 	return tgerr.Is(err, ErrFreshResetAuthorisationForbidden)
		tl_errors_gen.go#L1433: 	return tgerr.Is(err, ErrFromMessageBotDisabled)
		tl_errors_gen.go#L1438: 	return tgerr.Is(err, ErrFromPeerInvalid)
		tl_errors_gen.go#L1443: 	return tgerr.Is(err, ErrGameBotInvalid)
		tl_errors_gen.go#L1448: 	return tgerr.Is(err, ErrGeneralModifyIconForbidden)
		tl_errors_gen.go#L1453: 	return tgerr.Is(err, ErrGeoPointInvalid)
		tl_errors_gen.go#L1458: 	return tgerr.Is(err, ErrGiftcodeNotAllowed)
		tl_errors_gen.go#L1463: 	return tgerr.Is(err, ErrGiftSlugInvalid)
		tl_errors_gen.go#L1468: 	return tgerr.Is(err, ErrGifContentTypeInvalid)
		tl_errors_gen.go#L1473: 	return tgerr.Is(err, ErrGifIDInvalid)
		tl_errors_gen.go#L1478: 	return tgerr.Is(err, ErrGraphExpiredReload)
		tl_errors_gen.go#L1483: 	return tgerr.Is(err, ErrGraphInvalidReload)
		tl_errors_gen.go#L1488: 	return tgerr.Is(err, ErrGraphOutdatedReload)
		tl_errors_gen.go#L1493: 	return tgerr.Is(err, ErrGroupcallAddParticipantsFailed)
		tl_errors_gen.go#L1498: 	return tgerr.Is(err, ErrGroupcallAlreadyDiscarded)
		tl_errors_gen.go#L1503: 	return tgerr.Is(err, ErrGroupcallAlreadyStarted)
		tl_errors_gen.go#L1508: 	return tgerr.Is(err, ErrGroupcallForbidden)
		tl_errors_gen.go#L1513: 	return tgerr.Is(err, ErrGroupcallInvalid)
		tl_errors_gen.go#L1518: 	return tgerr.Is(err, ErrGroupcallJoinMissing)
		tl_errors_gen.go#L1523: 	return tgerr.Is(err, ErrGroupcallNotModified)
		tl_errors_gen.go#L1528: 	return tgerr.Is(err, ErrGroupcallSsrcDuplicateMuch)
		tl_errors_gen.go#L1533: 	return tgerr.Is(err, ErrGroupedMediaInvalid)
		tl_errors_gen.go#L1538: 	return tgerr.Is(err, ErrHashInvalid)
		tl_errors_gen.go#L1543: 	return tgerr.Is(err, ErrHideRequesterMissing)
		tl_errors_gen.go#L1548: 	return tgerr.Is(err, ErrImageProcessFailed)
		tl_errors_gen.go#L1553: 	return tgerr.Is(err, ErrImportFileInvalid)
		tl_errors_gen.go#L1558: 	return tgerr.Is(err, ErrImportFormatUnrecognized)
		tl_errors_gen.go#L1563: 	return tgerr.Is(err, ErrImportIDInvalid)
		tl_errors_gen.go#L1568: 	return tgerr.Is(err, ErrImportTokenInvalid)
		tl_errors_gen.go#L1573: 	return tgerr.Is(err, ErrInlineBotRequired)
		tl_errors_gen.go#L1578: 	return tgerr.Is(err, ErrInlineResultExpired)
		tl_errors_gen.go#L1583: 	return tgerr.Is(err, ErrInputChatlistInvalid)
		tl_errors_gen.go#L1588: 	return tgerr.Is(err, ErrInputFilterInvalid)
		tl_errors_gen.go#L1593: 	return tgerr.Is(err, ErrInputTextEmpty)
		tl_errors_gen.go#L1598: 	return tgerr.Is(err, ErrInputUserDeactivated)
		tl_errors_gen.go#L1603: 	return tgerr.Is(err, ErrInvitesTooMuch)
		tl_errors_gen.go#L1608: 	return tgerr.Is(err, ErrInviteForbiddenWithJoinas)
		tl_errors_gen.go#L1613: 	return tgerr.Is(err, ErrInviteHashEmpty)
		tl_errors_gen.go#L1618: 	return tgerr.Is(err, ErrInviteHashExpired)
		tl_errors_gen.go#L1623: 	return tgerr.Is(err, ErrInviteHashInvalid)
		tl_errors_gen.go#L1628: 	return tgerr.Is(err, ErrInviteRequestSent)
		tl_errors_gen.go#L1633: 	return tgerr.Is(err, ErrInviteRevokedMissing)
		tl_errors_gen.go#L1638: 	return tgerr.Is(err, ErrInviteSlugEmpty)
		tl_errors_gen.go#L1643: 	return tgerr.Is(err, ErrInviteSlugExpired)
		tl_errors_gen.go#L1648: 	return tgerr.Is(err, ErrInvoicePayloadInvalid)
		tl_errors_gen.go#L1653: 	return tgerr.Is(err, ErrJoinAsPeerInvalid)
		tl_errors_gen.go#L1658: 	return tgerr.Is(err, ErrLangCodeInvalid)
		tl_errors_gen.go#L1663: 	return tgerr.Is(err, ErrLangCodeNotSupported)
		tl_errors_gen.go#L1668: 	return tgerr.Is(err, ErrLangPackInvalid)
		tl_errors_gen.go#L1673: 	return tgerr.Is(err, ErrLastnameInvalid)
		tl_errors_gen.go#L1678: 	return tgerr.Is(err, ErrLimitInvalid)
		tl_errors_gen.go#L1683: 	return tgerr.Is(err, ErrLinkNotModified)
		tl_errors_gen.go#L1688: 	return tgerr.Is(err, ErrLocationInvalid)
		tl_errors_gen.go#L1693: 	return tgerr.Is(err, ErrMaxDateInvalid)
		tl_errors_gen.go#L1698: 	return tgerr.Is(err, ErrMaxIDInvalid)
		tl_errors_gen.go#L1703: 	return tgerr.Is(err, ErrMaxQtsInvalid)
		tl_errors_gen.go#L1708: 	return tgerr.Is(err, ErrMD5ChecksumInvalid)
		tl_errors_gen.go#L1713: 	return tgerr.Is(err, ErrMediaCaptionTooLong)
		tl_errors_gen.go#L1718: 	return tgerr.Is(err, ErrMediaEmpty)
		tl_errors_gen.go#L1723: 	return tgerr.Is(err, ErrMediaFileInvalid)
		tl_errors_gen.go#L1728: 	return tgerr.Is(err, ErrMediaGroupedInvalid)
		tl_errors_gen.go#L1733: 	return tgerr.Is(err, ErrMediaInvalid)
		tl_errors_gen.go#L1738: 	return tgerr.Is(err, ErrMediaNewInvalid)
		tl_errors_gen.go#L1743: 	return tgerr.Is(err, ErrMediaPrevInvalid)
		tl_errors_gen.go#L1748: 	return tgerr.Is(err, ErrMediaTTLInvalid)
		tl_errors_gen.go#L1753: 	return tgerr.Is(err, ErrMediaTypeInvalid)
		tl_errors_gen.go#L1758: 	return tgerr.Is(err, ErrMediaVideoStoryMissing)
		tl_errors_gen.go#L1763: 	return tgerr.Is(err, ErrMegagroupGeoRequired)
		tl_errors_gen.go#L1768: 	return tgerr.Is(err, ErrMegagroupIDInvalid)
		tl_errors_gen.go#L1773: 	return tgerr.Is(err, ErrMegagroupPrehistoryHidden)
		tl_errors_gen.go#L1778: 	return tgerr.Is(err, ErrMegagroupRequired)
		tl_errors_gen.go#L1783: 	return tgerr.Is(err, ErrMemberNotFound)
		tl_errors_gen.go#L1788: 	return tgerr.Is(err, ErrMessageAuthorRequired)
		tl_errors_gen.go#L1793: 	return tgerr.Is(err, ErrMessageDeleteForbidden)
		tl_errors_gen.go#L1798: 	return tgerr.Is(err, ErrMessageEditTimeExpired)
		tl_errors_gen.go#L1803: 	return tgerr.Is(err, ErrMessageEmpty)
		tl_errors_gen.go#L1808: 	return tgerr.Is(err, ErrMessageIDsEmpty)
		tl_errors_gen.go#L1813: 	return tgerr.Is(err, ErrMessageIDInvalid)
		tl_errors_gen.go#L1818: 	return tgerr.Is(err, ErrMessageNotModified)
		tl_errors_gen.go#L1823: 	return tgerr.Is(err, ErrMessagePollClosed)
		tl_errors_gen.go#L1828: 	return tgerr.Is(err, ErrMessageTooLong)
		tl_errors_gen.go#L1833: 	return tgerr.Is(err, ErrMethodInvalid)
		tl_errors_gen.go#L1838: 	return tgerr.Is(err, ErrMinDateInvalid)
		tl_errors_gen.go#L1843: 	return tgerr.Is(err, ErrMsgIDInvalid)
		tl_errors_gen.go#L1848: 	return tgerr.Is(err, ErrMsgTooOld)
		tl_errors_gen.go#L1853: 	return tgerr.Is(err, ErrMsgWaitFailed)
		tl_errors_gen.go#L1858: 	return tgerr.Is(err, ErrMultiMediaTooLong)
		tl_errors_gen.go#L1863: 	return tgerr.Is(err, ErrNewSaltInvalid)
		tl_errors_gen.go#L1868: 	return tgerr.Is(err, ErrNewSettingsEmpty)
		tl_errors_gen.go#L1873: 	return tgerr.Is(err, ErrNewSettingsInvalid)
		tl_errors_gen.go#L1878: 	return tgerr.Is(err, ErrNextOffsetInvalid)
		tl_errors_gen.go#L1883: 	return tgerr.Is(err, ErrOffsetInvalid)
		tl_errors_gen.go#L1888: 	return tgerr.Is(err, ErrOffsetPeerIDInvalid)
		tl_errors_gen.go#L1893: 	return tgerr.Is(err, ErrOptionsTooMuch)
		tl_errors_gen.go#L1898: 	return tgerr.Is(err, ErrOptionInvalid)
		tl_errors_gen.go#L1903: 	return tgerr.Is(err, ErrOrderInvalid)
		tl_errors_gen.go#L1908: 	return tgerr.Is(err, ErrPackShortNameInvalid)
		tl_errors_gen.go#L1913: 	return tgerr.Is(err, ErrPackShortNameOccupied)
		tl_errors_gen.go#L1918: 	return tgerr.Is(err, ErrPackTitleInvalid)
		tl_errors_gen.go#L1923: 	return tgerr.Is(err, ErrParticipantsTooFew)
		tl_errors_gen.go#L1928: 	return tgerr.Is(err, ErrParticipantIDInvalid)
		tl_errors_gen.go#L1933: 	return tgerr.Is(err, ErrParticipantJoinMissing)
		tl_errors_gen.go#L1938: 	return tgerr.Is(err, ErrParticipantVersionOutdated)
		tl_errors_gen.go#L1943: 	return tgerr.Is(err, ErrPasswordEmpty)
		tl_errors_gen.go#L1948: 	return tgerr.Is(err, ErrPasswordHashInvalid)
		tl_errors_gen.go#L1953: 	return tgerr.Is(err, ErrPasswordMissing)
		tl_errors_gen.go#L1958: 	return tgerr.Is(err, ErrPasswordRecoveryExpired)
		tl_errors_gen.go#L1963: 	return tgerr.Is(err, ErrPasswordRecoveryNa)
		tl_errors_gen.go#L1968: 	return tgerr.Is(err, ErrPasswordRequired)
		tl_errors_gen.go#L1973: 	return tgerr.Is(err, ErrPasswordTooFresh)
		tl_errors_gen.go#L1978: 	return tgerr.Is(err, ErrPaymentProviderInvalid)
		tl_errors_gen.go#L1983: 	return tgerr.Is(err, ErrPaymentUnsupported)
		tl_errors_gen.go#L1988: 	return tgerr.Is(err, ErrPeersListEmpty)
		tl_errors_gen.go#L1993: 	return tgerr.Is(err, ErrPeerHistoryEmpty)
		tl_errors_gen.go#L1998: 	return tgerr.Is(err, ErrPeerIDInvalid)
		tl_errors_gen.go#L2003: 	return tgerr.Is(err, ErrPeerIDNotSupported)
		tl_errors_gen.go#L2008: 	return tgerr.Is(err, ErrPersistentTimestampEmpty)
		tl_errors_gen.go#L2013: 	return tgerr.Is(err, ErrPersistentTimestampInvalid)
		tl_errors_gen.go#L2018: 	return tgerr.Is(err, ErrPersistentTimestampOutdated)
		tl_errors_gen.go#L2023: 	return tgerr.Is(err, ErrPhoneCodeEmpty)
		tl_errors_gen.go#L2028: 	return tgerr.Is(err, ErrPhoneCodeExpired)
		tl_errors_gen.go#L2033: 	return tgerr.Is(err, ErrPhoneCodeHashEmpty)
		tl_errors_gen.go#L2038: 	return tgerr.Is(err, ErrPhoneCodeInvalid)
		tl_errors_gen.go#L2043: 	return tgerr.Is(err, ErrPhoneHashExpired)
		tl_errors_gen.go#L2048: 	return tgerr.Is(err, ErrPhoneNotOccupied)
		tl_errors_gen.go#L2053: 	return tgerr.Is(err, ErrPhoneNumberAppSignupForbidden)
		tl_errors_gen.go#L2058: 	return tgerr.Is(err, ErrPhoneNumberBanned)
		tl_errors_gen.go#L2063: 	return tgerr.Is(err, ErrPhoneNumberFlood)
		tl_errors_gen.go#L2068: 	return tgerr.Is(err, ErrPhoneNumberInvalid)
		tl_errors_gen.go#L2073: 	return tgerr.Is(err, ErrPhoneNumberOccupied)
		tl_errors_gen.go#L2078: 	return tgerr.Is(err, ErrPhoneNumberUnoccupied)
		tl_errors_gen.go#L2083: 	return tgerr.Is(err, ErrPhonePasswordFlood)
		tl_errors_gen.go#L2088: 	return tgerr.Is(err, ErrPhonePasswordProtected)
		tl_errors_gen.go#L2093: 	return tgerr.Is(err, ErrPhotoContentTypeInvalid)
		tl_errors_gen.go#L2098: 	return tgerr.Is(err, ErrPhotoContentURLEmpty)
		tl_errors_gen.go#L2103: 	return tgerr.Is(err, ErrPhotoCropFileMissing)
		tl_errors_gen.go#L2108: 	return tgerr.Is(err, ErrPhotoCropSizeSmall)
		tl_errors_gen.go#L2113: 	return tgerr.Is(err, ErrPhotoExtInvalid)
		tl_errors_gen.go#L2118: 	return tgerr.Is(err, ErrPhotoFileMissing)
		tl_errors_gen.go#L2123: 	return tgerr.Is(err, ErrPhotoIDInvalid)
		tl_errors_gen.go#L2128: 	return tgerr.Is(err, ErrPhotoInvalid)
		tl_errors_gen.go#L2133: 	return tgerr.Is(err, ErrPhotoInvalidDimensions)
		tl_errors_gen.go#L2138: 	return tgerr.Is(err, ErrPhotoSaveFileInvalid)
		tl_errors_gen.go#L2143: 	return tgerr.Is(err, ErrPhotoThumbURLEmpty)
		tl_errors_gen.go#L2148: 	return tgerr.Is(err, ErrPinnedDialogsTooMuch)
		tl_errors_gen.go#L2153: 	return tgerr.Is(err, ErrPinRestricted)
		tl_errors_gen.go#L2158: 	return tgerr.Is(err, ErrPollAnswersInvalid)
		tl_errors_gen.go#L2163: 	return tgerr.Is(err, ErrPollAnswerInvalid)
		tl_errors_gen.go#L2168: 	return tgerr.Is(err, ErrPollOptionDuplicate)
		tl_errors_gen.go#L2173: 	return tgerr.Is(err, ErrPollOptionInvalid)
		tl_errors_gen.go#L2178: 	return tgerr.Is(err, ErrPollQuestionInvalid)
		tl_errors_gen.go#L2183: 	return tgerr.Is(err, ErrPollVoteRequired)
		tl_errors_gen.go#L2188: 	return tgerr.Is(err, ErrPremiumAccountRequired)
		tl_errors_gen.go#L2193: 	return tgerr.Is(err, ErrPreviousChatImportActiveWaitMin)
		tl_errors_gen.go#L2198: 	return tgerr.Is(err, ErrPrivacyKeyInvalid)
		tl_errors_gen.go#L2203: 	return tgerr.Is(err, ErrPrivacyTooLong)
		tl_errors_gen.go#L2208: 	return tgerr.Is(err, ErrPrivacyValueInvalid)
		tl_errors_gen.go#L2213: 	return tgerr.Is(err, ErrPublicChannelMissing)
		tl_errors_gen.go#L2218: 	return tgerr.Is(err, ErrPublicKeyRequired)
		tl_errors_gen.go#L2223: 	return tgerr.Is(err, ErrQueryIDEmpty)
		tl_errors_gen.go#L2228: 	return tgerr.Is(err, ErrQueryIDInvalid)
		tl_errors_gen.go#L2233: 	return tgerr.Is(err, ErrQueryTooShort)
		tl_errors_gen.go#L2238: 	return tgerr.Is(err, ErrQuizAnswerMissing)
		tl_errors_gen.go#L2243: 	return tgerr.Is(err, ErrQuizCorrectAnswersEmpty)
		tl_errors_gen.go#L2248: 	return tgerr.Is(err, ErrQuizCorrectAnswersTooMuch)
		tl_errors_gen.go#L2253: 	return tgerr.Is(err, ErrQuizCorrectAnswerInvalid)
		tl_errors_gen.go#L2258: 	return tgerr.Is(err, ErrQuizMultipleInvalid)
		tl_errors_gen.go#L2263: 	return tgerr.Is(err, ErrRandomIDDuplicate)
		tl_errors_gen.go#L2268: 	return tgerr.Is(err, ErrRandomIDEmpty)
		tl_errors_gen.go#L2273: 	return tgerr.Is(err, ErrRandomIDInvalid)
		tl_errors_gen.go#L2278: 	return tgerr.Is(err, ErrRandomLengthInvalid)
		tl_errors_gen.go#L2283: 	return tgerr.Is(err, ErrRangesInvalid)
		tl_errors_gen.go#L2288: 	return tgerr.Is(err, ErrReactionsTooMany)
		tl_errors_gen.go#L2293: 	return tgerr.Is(err, ErrReactionEmpty)
		tl_errors_gen.go#L2298: 	return tgerr.Is(err, ErrReactionInvalid)
		tl_errors_gen.go#L2303: 	return tgerr.Is(err, ErrReplyMarkupBuyEmpty)
		tl_errors_gen.go#L2308: 	return tgerr.Is(err, ErrReplyMarkupInvalid)
		tl_errors_gen.go#L2313: 	return tgerr.Is(err, ErrReplyMarkupTooLong)
		tl_errors_gen.go#L2318: 	return tgerr.Is(err, ErrReplyToInvalid)
		tl_errors_gen.go#L2323: 	return tgerr.Is(err, ErrReplyToUserInvalid)
		tl_errors_gen.go#L2328: 	return tgerr.Is(err, ErrResetRequestMissing)
		tl_errors_gen.go#L2333: 	return tgerr.Is(err, ErrResultsTooMuch)
		tl_errors_gen.go#L2338: 	return tgerr.Is(err, ErrResultIDDuplicate)
		tl_errors_gen.go#L2343: 	return tgerr.Is(err, ErrResultIDEmpty)
		tl_errors_gen.go#L2348: 	return tgerr.Is(err, ErrResultIDInvalid)
		tl_errors_gen.go#L2353: 	return tgerr.Is(err, ErrResultTypeInvalid)
		tl_errors_gen.go#L2358: 	return tgerr.Is(err, ErrRevoteNotAllowed)
		tl_errors_gen.go#L2363: 	return tgerr.Is(err, ErrRightsNotModified)
		tl_errors_gen.go#L2368: 	return tgerr.Is(err, ErrRightForbidden)
		tl_errors_gen.go#L2373: 	return tgerr.Is(err, ErrRsaDecryptFailed)
		tl_errors_gen.go#L2378: 	return tgerr.Is(err, ErrScheduleBotNotAllowed)
		tl_errors_gen.go#L2383: 	return tgerr.Is(err, ErrScheduleDateInvalid)
		tl_errors_gen.go#L2388: 	return tgerr.Is(err, ErrScheduleDateTooLate)
		tl_errors_gen.go#L2393: 	return tgerr.Is(err, ErrScheduleStatusPrivate)
		tl_errors_gen.go#L2398: 	return tgerr.Is(err, ErrScheduleTooMuch)
		tl_errors_gen.go#L2403: 	return tgerr.Is(err, ErrScoreInvalid)
		tl_errors_gen.go#L2408: 	return tgerr.Is(err, ErrSearchQueryEmpty)
		tl_errors_gen.go#L2413: 	return tgerr.Is(err, ErrSearchWithLinkNotSupported)
		tl_errors_gen.go#L2418: 	return tgerr.Is(err, ErrSecondsInvalid)
		tl_errors_gen.go#L2423: 	return tgerr.Is(err, ErrSendAsPeerInvalid)
		tl_errors_gen.go#L2428: 	return tgerr.Is(err, ErrSendCodeUnavailable)
		tl_errors_gen.go#L2433: 	return tgerr.Is(err, ErrSendMediaInvalid)
		tl_errors_gen.go#L2438: 	return tgerr.Is(err, ErrSendMessageMediaInvalid)
		tl_errors_gen.go#L2443: 	return tgerr.Is(err, ErrSendMessageTypeInvalid)
		tl_errors_gen.go#L2448: 	return tgerr.Is(err, ErrSensitiveChangeForbidden)
		tl_errors_gen.go#L2453: 	return tgerr.Is(err, ErrSessionTooFresh)
		tl_errors_gen.go#L2458: 	return tgerr.Is(err, ErrSettingsInvalid)
		tl_errors_gen.go#L2463: 	return tgerr.Is(err, ErrSHA256HashInvalid)
		tl_errors_gen.go#L2468: 	return tgerr.Is(err, ErrShortNameInvalid)
		tl_errors_gen.go#L2473: 	return tgerr.Is(err, ErrShortNameOccupied)
		tl_errors_gen.go#L2478: 	return tgerr.Is(err, ErrSignInFailed)
		tl_errors_gen.go#L2483: 	return tgerr.Is(err, ErrSlotsEmpty)
		tl_errors_gen.go#L2488: 	return tgerr.Is(err, ErrSlowmodeMultiMsgsDisabled)
		tl_errors_gen.go#L2493: 	return tgerr.Is(err, ErrSlowmodeWait)
		tl_errors_gen.go#L2498: 	return tgerr.Is(err, ErrSlugInvalid)
		tl_errors_gen.go#L2503: 	return tgerr.Is(err, ErrSMSCodeCreateFailed)
		tl_errors_gen.go#L2508: 	return tgerr.Is(err, ErrSRPIDInvalid)
		tl_errors_gen.go#L2513: 	return tgerr.Is(err, ErrSRPPasswordChanged)
		tl_errors_gen.go#L2518: 	return tgerr.Is(err, ErrStartParamEmpty)
		tl_errors_gen.go#L2523: 	return tgerr.Is(err, ErrStartParamInvalid)
		tl_errors_gen.go#L2528: 	return tgerr.Is(err, ErrStartParamTooLong)
		tl_errors_gen.go#L2533: 	return tgerr.Is(err, ErrStickerpackStickersTooMuch)
		tl_errors_gen.go#L2538: 	return tgerr.Is(err, ErrStickersetInvalid)
		tl_errors_gen.go#L2543: 	return tgerr.Is(err, ErrStickersetOwnerAnonymous)
		tl_errors_gen.go#L2548: 	return tgerr.Is(err, ErrStickersEmpty)
		tl_errors_gen.go#L2553: 	return tgerr.Is(err, ErrStickersTooMuch)
		tl_errors_gen.go#L2558: 	return tgerr.Is(err, ErrStickerDocumentInvalid)
		tl_errors_gen.go#L2563: 	return tgerr.Is(err, ErrStickerEmojiInvalid)
		tl_errors_gen.go#L2568: 	return tgerr.Is(err, ErrStickerFileInvalid)
		tl_errors_gen.go#L2573: 	return tgerr.Is(err, ErrStickerGifDimensions)
		tl_errors_gen.go#L2578: 	return tgerr.Is(err, ErrStickerIDInvalid)
		tl_errors_gen.go#L2583: 	return tgerr.Is(err, ErrStickerInvalid)
		tl_errors_gen.go#L2588: 	return tgerr.Is(err, ErrStickerMimeInvalid)
		tl_errors_gen.go#L2593: 	return tgerr.Is(err, ErrStickerPngDimensions)
		tl_errors_gen.go#L2598: 	return tgerr.Is(err, ErrStickerPngNopng)
		tl_errors_gen.go#L2603: 	return tgerr.Is(err, ErrStickerTgsNodoc)
		tl_errors_gen.go#L2608: 	return tgerr.Is(err, ErrStickerTgsNotgs)
		tl_errors_gen.go#L2613: 	return tgerr.Is(err, ErrStickerThumbPngNopng)
		tl_errors_gen.go#L2618: 	return tgerr.Is(err, ErrStickerThumbTgsNotgs)
		tl_errors_gen.go#L2623: 	return tgerr.Is(err, ErrStickerVideoBig)
		tl_errors_gen.go#L2628: 	return tgerr.Is(err, ErrStickerVideoNodoc)
		tl_errors_gen.go#L2633: 	return tgerr.Is(err, ErrStickerVideoNowebm)
		tl_errors_gen.go#L2638: 	return tgerr.Is(err, ErrStoriesNeverCreated)
		tl_errors_gen.go#L2643: 	return tgerr.Is(err, ErrStoriesTooMuch)
		tl_errors_gen.go#L2648: 	return tgerr.Is(err, ErrStoryIDEmpty)
		tl_errors_gen.go#L2653: 	return tgerr.Is(err, ErrStoryIDInvalid)
		tl_errors_gen.go#L2658: 	return tgerr.Is(err, ErrStoryNotModified)
		tl_errors_gen.go#L2663: 	return tgerr.Is(err, ErrStoryPeriodInvalid)
		tl_errors_gen.go#L2668: 	return tgerr.Is(err, ErrStorySendFloodMonthly)
		tl_errors_gen.go#L2673: 	return tgerr.Is(err, ErrStorySendFloodWeekly)
		tl_errors_gen.go#L2678: 	return tgerr.Is(err, ErrSwitchPmTextEmpty)
		tl_errors_gen.go#L2683: 	return tgerr.Is(err, ErrTakeoutInitDelay)
		tl_errors_gen.go#L2688: 	return tgerr.Is(err, ErrTakeoutRequired)
		tl_errors_gen.go#L2693: 	return tgerr.Is(err, ErrTaskAlreadyExists)
		tl_errors_gen.go#L2698: 	return tgerr.Is(err, ErrTempAuthKeyAlreadyBound)
		tl_errors_gen.go#L2703: 	return tgerr.Is(err, ErrTempAuthKeyEmpty)
		tl_errors_gen.go#L2708: 	return tgerr.Is(err, ErrThemeFileInvalid)
		tl_errors_gen.go#L2713: 	return tgerr.Is(err, ErrThemeFormatInvalid)
		tl_errors_gen.go#L2718: 	return tgerr.Is(err, ErrThemeInvalid)
		tl_errors_gen.go#L2723: 	return tgerr.Is(err, ErrThemeMimeInvalid)
		tl_errors_gen.go#L2728: 	return tgerr.Is(err, ErrThemeTitleInvalid)
		tl_errors_gen.go#L2733: 	return tgerr.Is(err, ErrTitleInvalid)
		tl_errors_gen.go#L2738: 	return tgerr.Is(err, ErrTmpPasswordDisabled)
		tl_errors_gen.go#L2743: 	return tgerr.Is(err, ErrTokenEmpty)
		tl_errors_gen.go#L2748: 	return tgerr.Is(err, ErrTokenInvalid)
		tl_errors_gen.go#L2753: 	return tgerr.Is(err, ErrTokenTypeInvalid)
		tl_errors_gen.go#L2758: 	return tgerr.Is(err, ErrTopicsEmpty)
		tl_errors_gen.go#L2763: 	return tgerr.Is(err, ErrTopicClosed)
		tl_errors_gen.go#L2768: 	return tgerr.Is(err, ErrTopicCloseSeparately)
		tl_errors_gen.go#L2773: 	return tgerr.Is(err, ErrTopicDeleted)
		tl_errors_gen.go#L2778: 	return tgerr.Is(err, ErrTopicHideSeparately)
		tl_errors_gen.go#L2783: 	return tgerr.Is(err, ErrTopicIDInvalid)
		tl_errors_gen.go#L2788: 	return tgerr.Is(err, ErrTopicNotModified)
		tl_errors_gen.go#L2793: 	return tgerr.Is(err, ErrTopicTitleEmpty)
		tl_errors_gen.go#L2798: 	return tgerr.Is(err, ErrToLangInvalid)
		tl_errors_gen.go#L2803: 	return tgerr.Is(err, ErrTranscriptionFailed)
		tl_errors_gen.go#L2808: 	return tgerr.Is(err, ErrTTLDaysInvalid)
		tl_errors_gen.go#L2813: 	return tgerr.Is(err, ErrTTLMediaInvalid)
		tl_errors_gen.go#L2818: 	return tgerr.Is(err, ErrTTLPeriodInvalid)
		tl_errors_gen.go#L2823: 	return tgerr.Is(err, ErrTypesEmpty)
		tl_errors_gen.go#L2828: 	return tgerr.Is(err, ErrTimeout)
		tl_errors_gen.go#L2833: 	return tgerr.Is(err, ErrUntilDateInvalid)
		tl_errors_gen.go#L2838: 	return tgerr.Is(err, ErrURLInvalid)
		tl_errors_gen.go#L2843: 	return tgerr.Is(err, ErrUsageLimitInvalid)
		tl_errors_gen.go#L2848: 	return tgerr.Is(err, ErrUsernamesActiveTooMuch)
		tl_errors_gen.go#L2853: 	return tgerr.Is(err, ErrUsernameInvalid)
		tl_errors_gen.go#L2858: 	return tgerr.Is(err, ErrUsernameNotModified)
		tl_errors_gen.go#L2863: 	return tgerr.Is(err, ErrUsernameNotOccupied)
		tl_errors_gen.go#L2868: 	return tgerr.Is(err, ErrUsernameOccupied)
		tl_errors_gen.go#L2873: 	return tgerr.Is(err, ErrUsernamePurchaseAvailable)
		tl_errors_gen.go#L2878: 	return tgerr.Is(err, ErrUserpicPrivacyRequired)
		tl_errors_gen.go#L2883: 	return tgerr.Is(err, ErrUserpicUploadRequired)
		tl_errors_gen.go#L2888: 	return tgerr.Is(err, ErrUsersTooFew)
		tl_errors_gen.go#L2893: 	return tgerr.Is(err, ErrUsersTooMuch)
		tl_errors_gen.go#L2898: 	return tgerr.Is(err, ErrUserAdminInvalid)
		tl_errors_gen.go#L2903: 	return tgerr.Is(err, ErrUserAlreadyInvited)
		tl_errors_gen.go#L2908: 	return tgerr.Is(err, ErrUserAlreadyParticipant)
		tl_errors_gen.go#L2913: 	return tgerr.Is(err, ErrUserBannedInChannel)
		tl_errors_gen.go#L2918: 	return tgerr.Is(err, ErrUserBlocked)
		tl_errors_gen.go#L2923: 	return tgerr.Is(err, ErrUserBot)
		tl_errors_gen.go#L2928: 	return tgerr.Is(err, ErrUserBotInvalid)
		tl_errors_gen.go#L2933: 	return tgerr.Is(err, ErrUserBotRequired)
		tl_errors_gen.go#L2938: 	return tgerr.Is(err, ErrUserChannelsTooMuch)
		tl_errors_gen.go#L2943: 	return tgerr.Is(err, ErrUserCreator)
		tl_errors_gen.go#L2948: 	return tgerr.Is(err, ErrUserDeleted)
		tl_errors_gen.go#L2953: 	return tgerr.Is(err, ErrUserIDInvalid)
		tl_errors_gen.go#L2958: 	return tgerr.Is(err, ErrUserInvalid)
		tl_errors_gen.go#L2963: 	return tgerr.Is(err, ErrUserIsBlocked)
		tl_errors_gen.go#L2968: 	return tgerr.Is(err, ErrUserIsBot)
		tl_errors_gen.go#L2973: 	return tgerr.Is(err, ErrUserKicked)
		tl_errors_gen.go#L2978: 	return tgerr.Is(err, ErrUserNotMutualContact)
		tl_errors_gen.go#L2983: 	return tgerr.Is(err, ErrUserNotParticipant)
		tl_errors_gen.go#L2988: 	return tgerr.Is(err, ErrUserPrivacyRestricted)
		tl_errors_gen.go#L2993: 	return tgerr.Is(err, ErrUserPublicMissing)
		tl_errors_gen.go#L2998: 	return tgerr.Is(err, ErrUserRestricted)
		tl_errors_gen.go#L3003: 	return tgerr.Is(err, ErrUserVolumeInvalid)
		tl_errors_gen.go#L3008: 	return tgerr.Is(err, ErrVenueIDInvalid)
		tl_errors_gen.go#L3013: 	return tgerr.Is(err, ErrVideoContentTypeInvalid)
		tl_errors_gen.go#L3018: 	return tgerr.Is(err, ErrVideoFileInvalid)
		tl_errors_gen.go#L3023: 	return tgerr.Is(err, ErrVideoTitleEmpty)
		tl_errors_gen.go#L3028: 	return tgerr.Is(err, ErrVoiceMessagesForbidden)
		tl_errors_gen.go#L3033: 	return tgerr.Is(err, ErrWallpaperFileInvalid)
		tl_errors_gen.go#L3038: 	return tgerr.Is(err, ErrWallpaperInvalid)
		tl_errors_gen.go#L3043: 	return tgerr.Is(err, ErrWallpaperMimeInvalid)
		tl_errors_gen.go#L3048: 	return tgerr.Is(err, ErrWallpaperNotFound)
		tl_errors_gen.go#L3053: 	return tgerr.Is(err, ErrWcConvertURLInvalid)
		tl_errors_gen.go#L3058: 	return tgerr.Is(err, ErrWebdocumentInvalid)
		tl_errors_gen.go#L3063: 	return tgerr.Is(err, ErrWebdocumentMimeInvalid)
		tl_errors_gen.go#L3068: 	return tgerr.Is(err, ErrWebdocumentSizeTooBig)
		tl_errors_gen.go#L3073: 	return tgerr.Is(err, ErrWebdocumentURLInvalid)
		tl_errors_gen.go#L3078: 	return tgerr.Is(err, ErrWebpageCurlFailed)
		tl_errors_gen.go#L3083: 	return tgerr.Is(err, ErrWebpageMediaEmpty)
		tl_errors_gen.go#L3088: 	return tgerr.Is(err, ErrWebpageNotFound)
		tl_errors_gen.go#L3093: 	return tgerr.Is(err, ErrWebpageURLInvalid)
		tl_errors_gen.go#L3098: 	return tgerr.Is(err, ErrWebpushAuthInvalid)
		tl_errors_gen.go#L3103: 	return tgerr.Is(err, ErrWebpushKeyInvalid)
		tl_errors_gen.go#L3108: 	return tgerr.Is(err, ErrWebpushTokenInvalid)
		tl_errors_gen.go#L3113: 	return tgerr.Is(err, ErrYouBlockedUser)