2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Start video call from video call service message.

This commit is contained in:
John Preston
2020-07-31 21:36:20 +04:00
parent 6f90e57523
commit 83759adb5f
9 changed files with 27 additions and 23 deletions

View File

@@ -36,7 +36,7 @@ public:
Instance();
~Instance();
void startOutgoingCall(not_null<UserData*> user);
void startOutgoingCall(not_null<UserData*> user, bool video);
void handleUpdate(
not_null<Main::Session*> session,
const MTPUpdate &update);
@@ -58,7 +58,7 @@ private:
void callRedial(not_null<Call*> call) override;
using Sound = Call::Delegate::Sound;
void playSound(Sound sound) override;
void createCall(not_null<UserData*> user, Call::Type type);
void createCall(not_null<UserData*> user, Call::Type type, bool video);
void destroyCall(not_null<Call*> call);
void destroyCurrentPanel();
void requestPermissionsOrFail(Fn<void()> onSuccess) override;