setHistoryTTL method
Set History T T L.
ID: b80e5fe4.
Implementation
Future<Result<UpdatesBase>> setHistoryTTL({
required InputPeerBase peer,
required int period,
}) async {
// Preparing the request.
final request = MessagesSetHistoryTTL(peer: peer, period: period);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<UpdatesBase>();
}