2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Join voice chats by invite links.

This commit is contained in:
John Preston
2021-03-11 00:03:20 +04:00
parent c587335ae1
commit c0df6f7bca
9 changed files with 56 additions and 12 deletions

View File

@@ -43,7 +43,9 @@ public:
~Instance();
void startOutgoingCall(not_null<UserData*> user, bool video);
void startOrJoinGroupCall(not_null<PeerData*> peer);
void startOrJoinGroupCall(
not_null<PeerData*> peer,
const QString &joinHash = QString());
void handleUpdate(
not_null<Main::Session*> session,
const MTPUpdate &update);
@@ -57,7 +59,7 @@ public:
[[nodiscard]] bool inGroupCall() const;
[[nodiscard]] bool hasActivePanel(
not_null<Main::Session*> session) const;
bool activateCurrentCall();
bool activateCurrentCall(const QString &joinHash = QString());
bool minimizeCurrentActiveCall();
bool closeCurrentActiveCall();
auto getVideoCapture()