def actual_sending(self, sender: PytgbotApiBot, ignore_reply: bool = False): return sender.send_audio( chat_id=self.receiver, audio=self.file_id, reply_to_message_id=self.reply_id if not ignore_reply else None, caption=self.caption, parse_mode=self.parse_mode, reply_markup=self.reply_markup, disable_notification=self.disable_notification )
def actual_sending(self, sender: PytgbotApiBot, receiver, reply_id): return sender.send_audio( chat_id=receiver, audio=self.file_id, reply_to_message_id=reply_id, caption=self.caption, parse_mode=self.parse_mode, reply_markup=self.reply_markup, disable_notification=self.disable_notification)