Closed fat-complex closed 3 months ago
What is the app on the other side?
@levlam the client on iOS
@levlam I use this code:
auto mc = make_tdobj<inputMessageVideo>();
mc->thumbnail_ = nullptr;
mc->video_ = make_tdobj<inputFileLocal>(path.toStdString());
This code for sending videos works in other chats except for the secret one.
I figured it out. I need to manually generate a thumbnail for the video and set the video dimensions. In my case, it worked.
I'm trying to send a video to a secret chat. I use a bunch of
SendMessage
andinputMessageVideo
requests. In regular chats with such a bunch of requests, the video is sent and you can watch it, and in secret chats you can see that you have received a video message but you cannot watch it. It's empty. Do I need to do something extra so that I can send videos to a secret chat?