setBoostsToUnblockRestrictions method
Future<Result<UpdatesBase> >
setBoostsToUnblockRestrictions({
- required InputChannelBase channel,
- required int boosts,
Set Boosts To Unblock Restrictions.
ID: ad399cee.
Implementation
Future<Result<UpdatesBase>> setBoostsToUnblockRestrictions({
required InputChannelBase channel,
required int boosts,
}) async {
// Preparing the request.
final request = ChannelsSetBoostsToUnblockRestrictions(
channel: channel,
boosts: boosts,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<UpdatesBase>();
}