MattermostPostsApi class
Methods
-
createPost(MmCreatePostRequest mmCreatePostRequest, {bool? setOnline})
→ Future<MmPost?>
-
Create a post
-
createPostEphemeral(MmCreatePostEphemeralRequest mmCreatePostEphemeralRequest)
→ Future<MmPost?>
-
Create a ephemeral post
-
createPostEphemeralWithHttpInfo(MmCreatePostEphemeralRequest mmCreatePostEphemeralRequest)
→ Future<Response>
-
Create a ephemeral post
-
createPostWithHttpInfo(MmCreatePostRequest mmCreatePostRequest, {bool? setOnline})
→ Future<Response>
-
Create a post
-
deletePost(String postId)
→ Future<MmStatusOK?>
-
Delete a post
-
deletePostWithHttpInfo(String postId)
→ Future<Response>
-
Delete a post
-
doPostAction(String postId, String actionId)
→ Future<MmStatusOK?>
-
Perform a post action
-
doPostActionWithHttpInfo(String postId, String actionId)
→ Future<Response>
-
Perform a post action
-
getFileInfosForPost(String postId, {bool? includeDeleted})
→ Future<List<MmFileInfo>?>
-
Get file info for post
-
getFileInfosForPostWithHttpInfo(String postId, {bool? includeDeleted})
→ Future<Response>
-
Get file info for post
-
getFlaggedPostsForUser(String userId, {String? teamId, String? channelId, int? page, int? perPage})
→ Future<List<MmPostList>?>
-
Get a list of flagged posts
-
getFlaggedPostsForUserWithHttpInfo(String userId, {String? teamId, String? channelId, int? page, int? perPage})
→ Future<Response>
-
Get a list of flagged posts
-
getPost(String postId, {bool? includeDeleted})
→ Future<MmPost?>
-
Get a post
-
getPostsAroundLastUnread(String userId, String channelId, {int? limitBefore, int? limitAfter, bool? skipFetchThreads, bool? collapsedThreads, bool? collapsedThreadsExtended})
→ Future<MmPostList?>
-
Get posts around oldest unread
-
getPostsAroundLastUnreadWithHttpInfo(String userId, String channelId, {int? limitBefore, int? limitAfter, bool? skipFetchThreads, bool? collapsedThreads, bool? collapsedThreadsExtended})
→ Future<Response>
-
Get posts around oldest unread
-
getPostsByIds(List<String> requestBody)
→ Future<List<MmPost>?>
-
Get posts by a list of ids
-
getPostsByIdsWithHttpInfo(List<String> requestBody)
→ Future<Response>
-
Get posts by a list of ids
-
getPostsForChannel(String channelId, {int? page, int? perPage, int? since, String? before, String? after})
→ Future<MmPostList?>
-
Get posts for a channel
-
getPostsForChannelWithHttpInfo(String channelId, {int? page, int? perPage, int? since, String? before, String? after})
→ Future<Response>
-
Get posts for a channel
-
getPostThread(String postId, {int? perPage, String? fromPost, int? fromCreateAt, String? direction, bool? skipFetchThreads, bool? collapsedThreads, bool? collapsedThreadsExtended})
→ Future<MmPostList?>
-
Get a thread
-
getPostThreadWithHttpInfo(String postId, {int? perPage, String? fromPost, int? fromCreateAt, String? direction, bool? skipFetchThreads, bool? collapsedThreads, bool? collapsedThreadsExtended})
→ Future<Response>
-
Get a thread
-
getPostWithHttpInfo(String postId, {bool? includeDeleted})
→ Future<Response>
-
Get a post
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
patchPost(String postId, MmPatchPostRequest mmPatchPostRequest)
→ Future<MmPost?>
-
Patch a post
-
patchPostWithHttpInfo(String postId, MmPatchPostRequest mmPatchPostRequest)
→ Future<Response>
-
Patch a post
-
pinPost(String postId)
→ Future<MmStatusOK?>
-
Pin a post to the channel
-
pinPostWithHttpInfo(String postId)
→ Future<Response>
-
Pin a post to the channel
-
searchPosts(String teamId, MmSearchPostsRequest mmSearchPostsRequest)
→ Future<MmPostListWithSearchMatches?>
-
Search for team posts
-
searchPostsWithHttpInfo(String teamId, MmSearchPostsRequest mmSearchPostsRequest)
→ Future<Response>
-
Search for team posts
-
setPostUnread(String userId, String postId)
→ Future<MmChannelUnreadAt?>
-
Mark as unread from a post.
-
setPostUnreadWithHttpInfo(String userId, String postId)
→ Future<Response>
-
Mark as unread from a post.
-
toString()
→ String
-
A string representation of this object.
inherited
-
unpinPost(String postId)
→ Future<MmStatusOK?>
-
Unpin a post to the channel
-
unpinPostWithHttpInfo(String postId)
→ Future<Response>
-
Unpin a post to the channel
-
updatePost(String postId, MmUpdatePostRequest mmUpdatePostRequest)
→ Future<MmPost?>
-
Update a post
-
updatePostWithHttpInfo(String postId, MmUpdatePostRequest mmUpdatePostRequest)
→ Future<Response>
-
Update a post