deleteParticipantHistory method
Future<Result<MessagesAffectedHistoryBase> >
deleteParticipantHistory({
- required InputChannelBase channel,
- required InputPeerBase participant,
Delete Participant History.
ID: 367544db
.
Implementation
Future<Result<MessagesAffectedHistoryBase>> deleteParticipantHistory({
required InputChannelBase channel,
required InputPeerBase participant,
}) async {
// Preparing the request.
final request = ChannelsDeleteParticipantHistory(
channel: channel,
participant: participant,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<MessagesAffectedHistoryBase>();
}