mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
bot description displayed in message history, bot commands are highlighted and sent by click
This commit is contained in:
@@ -1946,6 +1946,12 @@ namespace App {
|
||||
}
|
||||
}
|
||||
|
||||
void sendBotCommand(const QString &cmd) {
|
||||
if (App::main()) {
|
||||
App::main()->sendBotCommand(cmd);
|
||||
}
|
||||
}
|
||||
|
||||
void searchByHashtag(const QString &tag) {
|
||||
if (App::main()) {
|
||||
App::main()->searchMessages(tag + ' ');
|
||||
|
Reference in New Issue
Block a user