getChannelRecommendations method
Get Channel Recommendations.
ID: 83b70d97
.
Implementation
Future<Result<MessagesChatsBase>> getChannelRecommendations({
required InputChannelBase channel,
}) async {
// Preparing the request.
final request = ChannelsGetChannelRecommendations(
channel: channel,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<MessagesChatsBase>();
}