getGroupCallChainBlocks method

Future<Result<UpdatesBase>> getGroupCallChainBlocks({
  1. required InputGroupCallBase call,
  2. required int subChainId,
  3. required int offset,
  4. required int limit,
})

Get Group Call Chain Blocks.

ID: ee9f88a6.

Implementation

Future<Result<UpdatesBase>> getGroupCallChainBlocks({
  required InputGroupCallBase call,
  required int subChainId,
  required int offset,
  required int limit,
}) async {
  // Preparing the request.
  final request = PhoneGetGroupCallChainBlocks(
    call: call,
    subChainId: subChainId,
    offset: offset,
    limit: limit,
  );

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

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