getAdminedPublicChannels method
Get Admined Public Channels.
ID: f8b036af.
Implementation
Future<Result<MessagesChatsBase>> getAdminedPublicChannels({
required bool byLocation,
required bool checkLimit,
required bool forPersonal,
required bool forCommunityPeer,
}) async {
// Preparing the request.
final request = ChannelsGetAdminedPublicChannels(
byLocation: byLocation,
checkLimit: checkLimit,
forPersonal: forPersonal,
forCommunityPeer: forCommunityPeer,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<MessagesChatsBase>();
}