mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-09-21 11:22:39 +03:00
Compare commits
No commits in common. "v1" and "v1.41.1" have entirely different histories.
|
@ -460,7 +460,6 @@ def get_input_media(
|
||||||
if isinstance(media, types.MessageMediaDocument):
|
if isinstance(media, types.MessageMediaDocument):
|
||||||
return types.InputMediaDocument(
|
return types.InputMediaDocument(
|
||||||
id=get_input_document(media.document),
|
id=get_input_document(media.document),
|
||||||
spoiler=media.spoiler,
|
|
||||||
ttl_seconds=ttl or media.ttl_seconds
|
ttl_seconds=ttl or media.ttl_seconds
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# Versions should comply with PEP440.
|
# Versions should comply with PEP440.
|
||||||
# This line is parsed in setup.py:
|
# This line is parsed in setup.py:
|
||||||
__version__ = '1.41.2'
|
__version__ = '1.41.1'
|
||||||
|
|
|
@ -34,7 +34,6 @@ BOTS_TOO_MUCH,400,There are too many bots in this chat/channel
|
||||||
BOT_CHANNELS_NA,400,Bots can't edit admin privileges
|
BOT_CHANNELS_NA,400,Bots can't edit admin privileges
|
||||||
BOT_COMMAND_DESCRIPTION_INVALID,400,"The command description was empty, too long or had invalid characters used"
|
BOT_COMMAND_DESCRIPTION_INVALID,400,"The command description was empty, too long or had invalid characters used"
|
||||||
BOT_COMMAND_INVALID,400,The specified command is invalid
|
BOT_COMMAND_INVALID,400,The specified command is invalid
|
||||||
BOT_COMMANDS_TOO_MUCH,400,"The provided commands are too many"
|
|
||||||
BOT_DOMAIN_INVALID,400,The domain used for the auth button does not match the one configured in @BotFather
|
BOT_DOMAIN_INVALID,400,The domain used for the auth button does not match the one configured in @BotFather
|
||||||
BOT_GAMES_DISABLED,400,Bot games cannot be used in this type of chat
|
BOT_GAMES_DISABLED,400,Bot games cannot be used in this type of chat
|
||||||
BOT_GROUPS_BLOCKED,400,This bot can't be added to groups
|
BOT_GROUPS_BLOCKED,400,This bot can't be added to groups
|
||||||
|
|
|
Loading…
Reference in New Issue
Block a user