Open bomzheg opened 1 year ago
BotClient
client = BotClient(dp) client.user = User(...) client.chat = Chat(...)
BotCommand
BotClient.send()
FOO_COMMAND = BotCommand("foo", "my awesome command for usefull actions") # Now client.send("/" + FOO_COMMAND.command) # Suggestion client.send(FOO_COMMAND)
For history. Discussion about note 1 was here: https://t.me/aiogram_dialog/30299 and about note 2 was here: https://t.me/aiogram_dialog/30363
.reset_history
BotClient
object. Now I use that workaround:BotCommand
objects intoBotClient.send()