setMainProfileTab method
Future<Result<Boolean> >
setMainProfileTab({
- required InputChannelBase channel,
- required ProfileTabBase tab,
Set Main Profile Tab.
ID: 3583fcb1.
Implementation
Future<Result<Boolean>> setMainProfileTab({
required InputChannelBase channel,
required ProfileTabBase tab,
}) async {
// Preparing the request.
final request = ChannelsSetMainProfileTab(channel: channel, tab: tab);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<Boolean>();
}