Перейти в чат

TamTamBot для питона ✔️

1
def handle_message_created_update(self, update): # type: (MessageCreatedUpdate) -> bool res = super().handle_message_created_update(update) if res is not None: return res update = UpdateCmn(update) if update and update.message and update.message.body: mb = NewMessageBody('А это мой мой тебе ответ на это!', link=NewMessageLink(MessageLinkType.REPLY, update.message.body.mid)) return bool(self.msg.send_message(mb, chat_id=update.chat_id))