Compare commits

..

No commits in common. "e1318265195aed601537179020ed532223ee8f12" and "3241b25d251adafce843bd1d6856c9af075fc665" have entirely different histories.

4
bot.py
View File

@ -100,11 +100,11 @@ class Core(TasksHandlerMixin):
if self.message.photo:
self.send_message(None, chat_to_send, method='send_photo', photo=self.message.photo[-1].file_id)
if self.message.sticker:
self.send_message(None, chat_to_send, method='send_data', data=self.message.sticker.file_id, data_type='sticker')
self.send_message(None, chat_to_send, method='send_sticker', data=self.message.sticker.file_id)
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)