reportMessagesDelivery method

Future<Result<Boolean>> reportMessagesDelivery({
  1. required bool push,
  2. required InputPeerBase peer,
  3. required List<int> id,
})

Report Messages Delivery.

ID: 5a6d7395.

Implementation

Future<Result<Boolean>> reportMessagesDelivery({
  required bool push,
  required InputPeerBase peer,
  required List<int> id,
}) async {
  // Preparing the request.
  final request = MessagesReportMessagesDelivery(
    push: push,
    peer: peer,
    id: id,
  );

  // Invoke and wait for response.
  final response = await _c.invoke(request);

  // Return the result.
  return response._to<Boolean>();
}