joinGroupCall method
Future<Result<UpdatesBase> >
joinGroupCall({
- required bool muted,
- required bool videoStopped,
- required InputGroupCallBase call,
- required InputPeerBase joinAs,
- String? inviteHash,
- required DataJSONBase params,
Join Group Call.
ID: b132ff7b
.
Implementation
Future<Result<UpdatesBase>> joinGroupCall({
required bool muted,
required bool videoStopped,
required InputGroupCallBase call,
required InputPeerBase joinAs,
String? inviteHash,
required DataJSONBase params,
}) async {
// Preparing the request.
final request = PhoneJoinGroupCall(
muted: muted,
videoStopped: videoStopped,
call: call,
joinAs: joinAs,
inviteHash: inviteHash,
params: params,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<UpdatesBase>();
}