mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-03 21:24:35 +03:00
Document two new RPC errors (#1591)
This commit is contained in:
parent
adf52a1b74
commit
7de1c0e237
|
@ -88,6 +88,7 @@ EMAIL_INVALID,400,The given email is invalid
|
|||
EMAIL_UNCONFIRMED_X,400,"Email unconfirmed, the length of the code must be {code_length}"
|
||||
EMOTICON_EMPTY,400,The emoticon field cannot be empty
|
||||
EMOTICON_INVALID,400,The specified emoticon cannot be used or was not a emoticon
|
||||
EMOTICON_STICKERPACK_MISSING,400,The emoticon sticker pack you are trying to get is missing
|
||||
ENCRYPTED_MESSAGE_INVALID,400,Encrypted message invalid
|
||||
ENCRYPTION_ALREADY_ACCEPTED,400,Secret chat already accepted
|
||||
ENCRYPTION_ALREADY_DECLINED,400,The secret chat was already declined
|
||||
|
@ -272,6 +273,7 @@ START_PARAM_EMPTY,400,The start parameter is empty
|
|||
START_PARAM_INVALID,400,Start parameter invalid
|
||||
STATS_MIGRATE_X,303,The channel statistics must be fetched from DC {dc}
|
||||
STICKERSET_INVALID,400,The provided sticker set is invalid
|
||||
STICKERSET_OWNER_ANONYMOUS,406,This sticker set can't be used as the group's official stickers because it was created by one of its anonymous admins
|
||||
STICKERS_EMPTY,400,No sticker provided
|
||||
STICKER_DOCUMENT_INVALID,400,"The sticker file was invalid (this file has failed Telegram internal checks, make sure to use the correct format and comply with https://core.telegram.org/animated_stickers)"
|
||||
STICKER_EMOJI_INVALID,400,Sticker emoji invalid
|
||||
|
|
|
|
@ -114,7 +114,7 @@ channels.readHistory,user,CHANNEL_INVALID CHANNEL_PRIVATE
|
|||
channels.readMessageContents,user,CHANNEL_INVALID CHANNEL_PRIVATE
|
||||
channels.reportSpam,user,CHANNEL_INVALID INPUT_USER_DEACTIVATED
|
||||
channels.setDiscussionGroup,user,BROADCAST_ID_INVALID LINK_NOT_MODIFIED MEGAGROUP_ID_INVALID MEGAGROUP_PREHISTORY_HIDDEN
|
||||
channels.setStickers,both,CHANNEL_INVALID PARTICIPANTS_TOO_FEW
|
||||
channels.setStickers,both,CHANNEL_INVALID PARTICIPANTS_TOO_FEW STICKERSET_OWNER_ANONYMOUS
|
||||
channels.togglePreHistoryHidden,user,CHAT_LINK_EXISTS
|
||||
channels.toggleSignatures,user,CHANNEL_INVALID
|
||||
channels.toggleSlowMode,user,SECONDS_INVALID
|
||||
|
@ -236,7 +236,7 @@ messages.getScheduledMessages,user,
|
|||
messages.getSearchCounters,user,
|
||||
messages.getSplitRanges,user,
|
||||
messages.getStatsURL,user,
|
||||
messages.getStickerSet,both,STICKERSET_INVALID
|
||||
messages.getStickerSet,both,EMOTICON_STICKERPACK_MISSING STICKERSET_INVALID
|
||||
messages.getStickers,user,EMOTICON_EMPTY
|
||||
messages.getSuggestedDialogFilters,user,
|
||||
messages.getUnreadMentions,user,PEER_ID_INVALID
|
||||
|
|
|
Loading…
Reference in New Issue
Block a user