chatBskyConvoGetMessages function

Future<XRPCResponse<ConvoGetMessagesOutput>> chatBskyConvoGetMessages({
  1. required String convoId,
  2. int? limit,
  3. String? cursor,
  4. required ServiceContext $ctx,
  5. Map<String, String>? $headers,
  6. Map<String, String>? $unknown,
})

Implementation

Future<XRPCResponse<ConvoGetMessagesOutput>> chatBskyConvoGetMessages({
  required String convoId,
  int? limit,
  String? cursor,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.chatBskyConvoGetMessages,
  headers: $headers,
  parameters: {
    ...?$unknown,
    'convoId': convoId,
    if (limit != null) 'limit': limit,
    if (cursor != null) 'cursor': cursor,
  },
  to: const ConvoGetMessagesOutputConverter().fromJson,
);