toggleGroupCallStartSubscription method
Future<Result<UpdatesBase> >
toggleGroupCallStartSubscription({
- required InputGroupCallBase call,
- required bool subscribed,
Toggle Group Call Start Subscription.
ID: 219c34e6
.
Implementation
Future<Result<UpdatesBase>> toggleGroupCallStartSubscription({
required InputGroupCallBase call,
required bool subscribed,
}) async {
// Preparing the request.
final request = PhoneToggleGroupCallStartSubscription(
call: call,
subscribed: subscribed,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<UpdatesBase>();
}