79382579

Date: 2025-01-23 21:18:10
Score: 0.5
Natty:
Report link

The second argument is variative and you can pass a file id, HTTP URL or upload file via InputFile instance.

Example:

auto videoFileToUpload = TgBot::InputFile::fromFile("path_to_the_file", "video/mp4");
tgBot->getApi().sendVideo(message->chat->id, videoFileToUpload);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: rinatdobr