fix
This commit is contained in:
parent
c759cacf9c
commit
a042a033a6
2
bot.py
2
bot.py
@ -104,7 +104,7 @@ class Core(TasksHandlerMixin):
|
||||
if self.message.voice:
|
||||
self.send_message(None, chat_to_send, method='send_voice', voice=self.message.voice.file_id)
|
||||
if self.message.video_note:
|
||||
self.send_message(None, chat_to_send, method='send_data', data=self.message.video_note.file_id, data_type='video_note')
|
||||
self.send_message(None, chat_to_send, method='send_video_note', data=self.message.video_note.file_id)
|
||||
if self.message.animation:
|
||||
self.send_message(None, chat_to_send, method='send_animation', animation=self.message.animation.file_id)
|
||||
self.send_message(self.message_text, chat_to_send)
|
||||
|
Loading…
Reference in New Issue
Block a user