mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Update __init__.py
This commit is contained in:
parent
4afde9f557
commit
a69a358ebd
@ -772,7 +772,7 @@ class TeleBot:
|
|||||||
disable_notification, timeout))
|
disable_notification, timeout))
|
||||||
|
|
||||||
def send_video(self, chat_id, data, duration=None, caption=None, reply_to_message_id=None, reply_markup=None,
|
def send_video(self, chat_id, data, duration=None, caption=None, reply_to_message_id=None, reply_markup=None,
|
||||||
parse_mode=None, supports_streaming=None, disable_notification=None, timeout=None, thumb=None):
|
parse_mode=None, supports_streaming=None, disable_notification=None, timeout=None, thumb=None, width=None, height=None):
|
||||||
"""
|
"""
|
||||||
Use this method to send video files, Telegram clients support mp4 videos.
|
Use this method to send video files, Telegram clients support mp4 videos.
|
||||||
:param chat_id: Integer : Unique identifier for the message recipient — User or GroupChat id
|
:param chat_id: Integer : Unique identifier for the message recipient — User or GroupChat id
|
||||||
@ -790,7 +790,7 @@ class TeleBot:
|
|||||||
"""
|
"""
|
||||||
return types.Message.de_json(
|
return types.Message.de_json(
|
||||||
apihelper.send_video(self.token, chat_id, data, duration, caption, reply_to_message_id, reply_markup,
|
apihelper.send_video(self.token, chat_id, data, duration, caption, reply_to_message_id, reply_markup,
|
||||||
parse_mode, supports_streaming, disable_notification, timeout, thumb))
|
parse_mode, supports_streaming, disable_notification, timeout, thumb, width, height))
|
||||||
|
|
||||||
def send_animation(self, chat_id, animation, duration=None, caption=None, reply_to_message_id=None, reply_markup=None,
|
def send_animation(self, chat_id, animation, duration=None, caption=None, reply_to_message_id=None, reply_markup=None,
|
||||||
parse_mode=None, disable_notification=None, timeout=None):
|
parse_mode=None, disable_notification=None, timeout=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user