ConvoService class base

chat.bsky.convo.*

Constructors

ConvoService.new(ServiceContext _ctx)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

acceptConvo({required String convoId, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ConvoAcceptConvoOutput>>
addReaction({required String convoId, required String messageId, required String value, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ConvoAddReactionOutput>>
Adds an emoji reaction to a message. Requires authentication. It is idempotent, so multiple calls from the same user with the same emoji result in a single reaction.
deleteMessageForSelf({required String convoId, required String messageId, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<DeletedMessageView>>
getConvo({required String convoId, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ConvoGetConvoOutput>>
getConvoAvailability({required List<String> members, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ConvoGetConvoAvailabilityOutput>>
Get whether the requester and the other members can chat. If an existing convo is found for these members, it is returned.
getConvoForMembers({required List<String> members, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ConvoGetConvoForMembersOutput>>
getLog({String? cursor, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ConvoGetLogOutput>>
getMessages({required String convoId, int? limit, String? cursor, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ConvoGetMessagesOutput>>
leaveConvo({required String convoId, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ConvoLeaveConvoOutput>>
listConvos({int? limit, String? cursor, ConvoListConvosReadState? readState, ConvoListConvosStatus? status, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ConvoListConvosOutput>>
muteConvo({required String convoId, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ConvoMuteConvoOutput>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeReaction({required String convoId, required String messageId, required String value, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ConvoRemoveReactionOutput>>
Removes an emoji reaction from a message. Requires authentication. It is idempotent, so multiple calls from the same user with the same emoji result in that reaction not being present, even if it already wasn't.
sendMessage({required String convoId, required MessageInput message, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<MessageView>>
sendMessageBatch({required List<BatchItem> items, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ConvoSendMessageBatchOutput>>
toString() String
A string representation of this object.
inherited
unmuteConvo({required String convoId, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ConvoUnmuteConvoOutput>>
updateAllRead({ConvoUpdateAllReadStatus? status, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ConvoUpdateAllReadOutput>>
updateRead({required String convoId, String? messageId, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ConvoUpdateReadOutput>>

Operators

operator ==(Object other) bool
The equality operator.
inherited