getMessageContext method

Future<XRPCResponse<GetMessageContextOutput>> getMessageContext({
  1. required String messageId,
  2. String? convoId,
  3. int? before,
  4. int? after,
})

Implementation

Future<core.XRPCResponse<GetMessageContextOutput>> getMessageContext({
  required String messageId,
  String? convoId,
  int? before,
  int? after,
}) async =>
    await _ctx.get(
      ns.chatBskyModerationGetMessageContext,
      parameters: {
        'messageId': messageId,
        'convoId': convoId,
        'before': before,
        'after': after,
      },
      to: GetMessageContextOutput.fromJson,
    );