mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-26 09:14:31 +03:00
Add new known RPC errors and update docs
This commit is contained in:
parent
3d350c6087
commit
63f24d2282
|
@ -89,7 +89,7 @@ class TelegramBaseClient(abc.ABC):
|
||||||
The API ID you obtained from https://my.telegram.org.
|
The API ID you obtained from https://my.telegram.org.
|
||||||
|
|
||||||
api_hash (`str`):
|
api_hash (`str`):
|
||||||
The API ID you obtained from https://my.telegram.org.
|
The API hash you obtained from https://my.telegram.org.
|
||||||
|
|
||||||
connection (`telethon.network.connection.common.Connection`, optional):
|
connection (`telethon.network.connection.common.Connection`, optional):
|
||||||
The connection instance to be used when creating a new connection
|
The connection instance to be used when creating a new connection
|
||||||
|
|
|
@ -141,6 +141,7 @@ GAME_BOT_INVALID,400,You cannot send that game with the current bot
|
||||||
GIF_ID_INVALID,400,The provided GIF ID is invalid
|
GIF_ID_INVALID,400,The provided GIF ID is invalid
|
||||||
GRAPH_OUTDATED_RELOAD,400,"Data can't be used for the channel statistics, graphs outdated"
|
GRAPH_OUTDATED_RELOAD,400,"Data can't be used for the channel statistics, graphs outdated"
|
||||||
GROUPCALL_FORBIDDEN,403,
|
GROUPCALL_FORBIDDEN,403,
|
||||||
|
GROUPCALL_JOIN_MISSING,400,
|
||||||
GROUPCALL_SSRC_DUPLICATE_MUCH,400,
|
GROUPCALL_SSRC_DUPLICATE_MUCH,400,
|
||||||
GROUPED_MEDIA_INVALID,400,Invalid grouped media
|
GROUPED_MEDIA_INVALID,400,Invalid grouped media
|
||||||
GROUP_CALL_INVALID,400,Group call invalid
|
GROUP_CALL_INVALID,400,Group call invalid
|
||||||
|
@ -315,6 +316,7 @@ STICKER_ID_INVALID,400,The provided sticker ID is invalid
|
||||||
STICKER_INVALID,400,The provided sticker is invalid
|
STICKER_INVALID,400,The provided sticker is invalid
|
||||||
STICKER_PNG_DIMENSIONS,400,Sticker png dimensions invalid
|
STICKER_PNG_DIMENSIONS,400,Sticker png dimensions invalid
|
||||||
STICKER_PNG_NOPNG,400,Stickers must be a png file but the used image was not a png
|
STICKER_PNG_NOPNG,400,Stickers must be a png file but the used image was not a png
|
||||||
|
STICKER_TGS_NODOC,400,
|
||||||
STICKER_TGS_NOTGS,400,Stickers must be a tgs file but the used file was not a tgs
|
STICKER_TGS_NOTGS,400,Stickers must be a tgs file but the used file was not a tgs
|
||||||
STICKER_THUMB_PNG_NOPNG,400,Stickerset thumb must be a png file but the used file was not png
|
STICKER_THUMB_PNG_NOPNG,400,Stickerset thumb must be a png file but the used file was not png
|
||||||
STICKER_THUMB_TGS_NOTGS,400,Stickerset thumb must be a tgs file but the used file was not tgs
|
STICKER_THUMB_TGS_NOTGS,400,Stickerset thumb must be a tgs file but the used file was not tgs
|
||||||
|
|
|
Loading…
Reference in New Issue
Block a user