public interface ChannelApi
ApiResponse<Channel> createChannel(Channel channel)
ApiResponse<Channel> updateChannel(Channel channel)
ApiResponse<Channel> patchChannel(String channelId, ChannelPatch patch)
ApiResponse<Channel> createDirectChannel(String userId1, String userId2)
default ApiResponse<Channel> createGroupChannel(Collection<String> userIds)
ApiResponse<Channel> createGroupChannel(String... userIds)
default ApiResponse<Channel> getChannel(String channelId)
ApiResponse<Channel> getChannel(String channelId, String etag)
default ApiResponse<ChannelStats> getChannelStats(String channelId)
ApiResponse<ChannelStats> getChannelStats(String channelId, String etag)
default ApiResponse<PostList> getPinnedPosts(String channelId)
ApiResponse<PostList> getPinnedPosts(String channelId, String etag)
default ApiResponse<ChannelList> getPublicChannelsForTeam(String teamId)
default ApiResponse<ChannelList> getPublicChannelsForTeam(String teamId, Pager pager)
ApiResponse<ChannelList> getPublicChannelsForTeam(String teamId, Pager pager, String etag)
default ApiResponse<ChannelList> getPublicChannelsByIdsForTeam(String teamId, Collection<String> channelIds)
ApiResponse<ChannelList> getPublicChannelsByIdsForTeam(String teamId, String... channelIds)
default ApiResponse<ChannelList> getChannelsForTeamForUser(String teamId, String userId)
ApiResponse<ChannelList> getChannelsForTeamForUser(String teamId, String userId, String etag)
ApiResponse<ChannelList> searchChannels(String teamId, ChannelSearch search)
ApiResponse<Boolean> deleteChannel(String channelId)
default ApiResponse<Channel> getChannelByName(String channelName, String teamId)
ApiResponse<Channel> getChannelByName(String channelName, String teamId, String etag)
default ApiResponse<Channel> getChannelByNameForTeamName(String channelName, String teamName)
ApiResponse<Channel> getChannelByNameForTeamName(String channelName, String teamName, String etag)
default ApiResponse<ChannelMembers> getChannelMembers(String channelId)
default ApiResponse<ChannelMembers> getChannelMembers(String channelId, Pager pager)
ApiResponse<ChannelMembers> getChannelMembers(String channelId, Pager pager, String etag)
default ApiResponse<ChannelMembers> getChannelMembersByIds(String channelId, Collection<String> userIds)
ApiResponse<ChannelMembers> getChannelMembersByIds(String channelId, String... userIds)
default ApiResponse<ChannelMember> getChannelMember(String channelId, String userId)
ApiResponse<ChannelMember> getChannelMember(String channelId, String userId, String etag)
default ApiResponse<ChannelMembers> getChannelMembersForUser(String userId, String teamId)
ApiResponse<ChannelMembers> getChannelMembersForUser(String userId, String teamId, String etag)
ApiResponse<ChannelViewResponse> viewChannel(String userId, ChannelView view)
ApiResponse<ChannelUnread> getChannelUnread(String channelId, String userId)
default ApiResponse<Boolean> updateChannelRoles(String channelId, String userId, Collection<Role> roles)
ApiResponse<Boolean> updateChannelRoles(String channelId, String userId, Role... roles)
ApiResponse<Boolean> updateChannelNotifyProps(String channeLId, String userId, Map<String,String> props)
ApiResponse<ChannelMember> addChannelMember(String channelId, String userId)
ApiResponse<Boolean> removeUserFromChannel(String channelId, String userId)
ApiResponse<Channel> restoreChannel(String channelId)
default ApiResponse<ChannelList> getDeletedChannels(String teamId)
ApiResponse<ChannelList> getDeletedChannels(String teamId, Pager pager)
Copyright © 2019. All rights reserved.