Skip to content

Commit

Permalink
tg_cpphost: decho cmd: Add video decho support
Browse files Browse the repository at this point in the history
  • Loading branch information
Royna2544 committed Nov 18, 2023
1 parent 6c683e2 commit f65ffba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,8 @@ int main(void) {
bot.getApi().sendSticker(message->chat->id, replyMsg->sticker->fileId);
} else if (replyMsg->animation) {
bot.getApi().sendAnimation(message->chat->id, replyMsg->animation->fileId);
} else if (replyMsg->video) {
bot.getApi().sendVideo(message->chat->id, replyMsg->video->fileId);
} else if (!replyMsg->text.empty()) {
bot_sendReplyMessage(bot, message, replyMsg->text, replyMsg->messageId);
}
Expand Down

0 comments on commit f65ffba

Please sign in to comment.