readHistory method
Read History.
ID: cc104937.
Implementation
Future<Result<Boolean>> readHistory({
required InputChannelBase channel,
required int maxId,
}) async {
// Preparing the request.
final request = ChannelsReadHistory(channel: channel, maxId: maxId);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<Boolean>();
}