sendMessage method
Future<XRPCResponse<MessageView> >
sendMessage({
- required String convoId,
- required MessageInput message,
Implementation
Future<core.XRPCResponse<MessageView>> sendMessage({
required String convoId,
required MessageInput message,
}) async =>
await _ctx.post(
ns.chatBskyConvoSendMessage,
body: {
'convoId': convoId,
'message': message.toJson(),
},
to: MessageView.fromJson,
);