getMessageReadParticipants method
Future<Result<Vector<ReadParticipantDateBase> > >
getMessageReadParticipants({
- required InputPeerBase peer,
- required int msgId,
Get Message Read Participants.
ID: 31c1c44f
.
Implementation
Future<Result<Vector<ReadParticipantDateBase>>> getMessageReadParticipants({
required InputPeerBase peer,
required int msgId,
}) async {
// Preparing the request.
final request = MessagesGetMessageReadParticipants(
peer: peer,
msgId: msgId,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<Vector<ReadParticipantDateBase>>();
}