getMessageContext method
Implementation
Future<XRPCResponse<GetMessageContextOutput>> getMessageContext({
String? convoId,
required String messageId,
int? before,
int? after,
Map<String, String>? $unknown,
Map<String, String>? $headers,
GetClient? $client,
}) async =>
await _ctx.get<GetMessageContextOutput>(
ns.chatBskyModerationGetMessageContext,
headers: $headers,
parameters: {
if (convoId != null) 'convoId': convoId,
'messageId': messageId,
if (before != null) 'before': before.toString(),
if (after != null) 'after': after.toString(),
...?$unknown,
},
to: const GetMessageContextOutputConverter().fromJson,
client: $client,
);