inviteToGroupCall method
Future<Result<UpdatesBase> >
inviteToGroupCall({
- required InputGroupCallBase call,
- required List<
InputUserBase> users,
Invite To Group Call.
ID: 7b393160
.
Implementation
Future<Result<UpdatesBase>> inviteToGroupCall({
required InputGroupCallBase call,
required List<InputUserBase> users,
}) async {
// Preparing the request.
final request = PhoneInviteToGroupCall(
call: call,
users: users,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<UpdatesBase>();
}