NativeDMApi class
Methods
-
addNativeDMReaction(String messageId, Map<String, Object> requestBody)
→ Future<Map<String, Object>?>
-
Add a reaction to a DM message.
-
addNativeDMReactionWithHttpInfo(String messageId, Map<String, Object> requestBody)
→ Future<Response>
-
Add a reaction to a DM message.
-
attachToNativeDMMessage(String messageId, Map<String, Object> requestBody)
→ Future<Map<String, Object>?>
-
Attach a file to a DM message.
-
attachToNativeDMMessageWithHttpInfo(String messageId, Map<String, Object> requestBody)
→ Future<Response>
-
Attach a file to a DM message.
-
deleteNativeDMMessage(String dmId, String messageId)
→ Future<void>
-
Delete a DM message.
-
deleteNativeDMMessageWithHttpInfo(String dmId, String messageId)
→ Future<Response>
-
Delete a DM message.
-
forwardNativeDMMessage(String messageId, Map<String, Object> requestBody)
→ Future<Map<String, Object>?>
-
Forward a DM message to another conversation.
-
forwardNativeDMMessageWithHttpInfo(String messageId, Map<String, Object> requestBody)
→ Future<Response>
-
Forward a DM message to another conversation.
-
listNativeDMChannels()
→ Future<Map<String, Object>?>
-
List the caller's DM channels.
-
listNativeDMChannelsWithHttpInfo()
→ Future<Response>
-
List the caller's DM channels.
-
listNativeDMConversations()
→ Future<Map<String, Object>?>
-
List DM conversations with metadata (last message, unread count, etc.).
-
listNativeDMConversationsWithHttpInfo()
→ Future<Response>
-
List DM conversations with metadata (last message, unread count, etc.).
-
listNativeDMMessages(String dmId)
→ Future<Map<String, Object>?>
-
List messages in a DM.
-
listNativeDMMessagesWithHttpInfo(String dmId)
→ Future<Response>
-
List messages in a DM.
-
listNativeDMPinnedMessages(String dmId)
→ Future<Map<String, Object>?>
-
List pinned messages in a DM.
-
listNativeDMPinnedMessagesWithHttpInfo(String dmId)
→ Future<Response>
-
List pinned messages in a DM.
-
listNativeDMThreadReplies(String dmId, String messageId)
→ Future<Map<String, Object>?>
-
List threaded replies on a message.
-
listNativeDMThreadRepliesWithHttpInfo(String dmId, String messageId)
→ Future<Response>
-
List threaded replies on a message.
-
markNativeDMRead(String dmId)
→ Future<void>
-
Mark a DM as read.
-
markNativeDMReadWithHttpInfo(String dmId)
→ Future<Response>
-
Mark a DM as read.
-
muteNativeDM(String dmId, {Map<String, Object>? requestBody})
→ Future<void>
-
Mute a DM.
-
muteNativeDMWithHttpInfo(String dmId, {Map<String, Object>? requestBody})
→ Future<Response>
-
Mute a DM.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pinNativeDMConversation(String dmId)
→ Future<void>
-
Pin a DM conversation in the sidebar.
-
pinNativeDMConversationWithHttpInfo(String dmId)
→ Future<Response>
-
Pin a DM conversation in the sidebar.
-
pinNativeDMMessage(String messageId)
→ Future<void>
-
Pin a DM message.
-
pinNativeDMMessageWithHttpInfo(String messageId)
→ Future<Response>
-
Pin a DM message.
-
postNativeDMMessage(Map<String, Object> requestBody)
→ Future<Map<String, Object>?>
-
Post a DM message (top-level entry).
-
postNativeDMMessageWithHttpInfo(Map<String, Object> requestBody)
→ Future<Response>
-
Post a DM message (top-level entry).
-
postNativeDMThreadReply(String dmId, String messageId, Map<String, Object> requestBody)
→ Future<Map<String, Object>?>
-
Post a threaded reply.
-
postNativeDMThreadReplyWithHttpInfo(String dmId, String messageId, Map<String, Object> requestBody)
→ Future<Response>
-
Post a threaded reply.
-
removeNativeDMReaction(String messageId, String emoji)
→ Future<void>
-
Remove a reaction.
-
removeNativeDMReactionWithHttpInfo(String messageId, String emoji)
→ Future<Response>
-
Remove a reaction.
-
searchNativeDMMessages({String? q})
→ Future<Map<String, Object>?>
-
Search DM messages.
-
searchNativeDMMessagesWithHttpInfo({String? q})
→ Future<Response>
-
Search DM messages.
-
setNativeDMDraft(String dmId, Map<String, Object> requestBody)
→ Future<void>
-
Save a draft on a DM conversation.
-
setNativeDMDraftWithHttpInfo(String dmId, Map<String, Object> requestBody)
→ Future<Response>
-
Save a draft on a DM conversation.
-
toString()
→ String
-
A string representation of this object.
inherited
-
unpinNativeDMConversation(String dmId)
→ Future<void>
-
Unpin a DM conversation.
-
unpinNativeDMConversationWithHttpInfo(String dmId)
→ Future<Response>
-
Unpin a DM conversation.
-
unpinNativeDMMessage(String messageId)
→ Future<void>
-
Unpin a DM message.
-
unpinNativeDMMessageWithHttpInfo(String messageId)
→ Future<Response>
-
Unpin a DM message.
-
updateNativeDMMessage(String dmId, String messageId, Map<String, Object> requestBody)
→ Future<Map<String, Object>?>
-
Update a DM message body.
-
updateNativeDMMessageWithHttpInfo(String dmId, String messageId, Map<String, Object> requestBody)
→ Future<Response>
-
Update a DM message body.