Package io.getstream.services
Class ChatImpl
java.lang.Object
io.getstream.services.ChatImpl
- All Implemented Interfaces:
Chat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncastPollVote(String messageID, String pollID) castPollVote(String messageID, String pollID, CastPollVoteRequest request) commitMessage(String id) commitMessage(String id, CommitMessageRequest request) createCommand(CreateCommandRequest request) createPoll(CreatePollRequest request) createPollOption(String pollID, CreatePollOptionRequest request) deleteChannel(String type, String id) deleteChannel(String type, String id, DeleteChannelRequest request) deleteChannels(DeleteChannelsRequest request) deleteChannelType(String name) deleteChannelType(String name, DeleteChannelTypeRequest request) deleteCommand(String name) deleteCommand(String name, DeleteCommandRequest request) deleteFile(String type, String id) deleteFile(String type, String id, DeleteFileRequest request) deleteImage(String type, String id) deleteImage(String type, String id, DeleteImageRequest request) deleteMessage(String id) deleteMessage(String id, DeleteMessageRequest request) deletePoll(String pollID) deletePoll(String pollID, DeletePollRequest request) deletePollOption(String pollID, String optionID) deletePollOption(String pollID, String optionID, DeletePollOptionRequest request) deleteReaction(String id, String type) deleteReaction(String id, String type, DeleteReactionRequest request) deleteSegment(String id) deleteSegment(String id, DeleteSegmentRequest request) deleteSegmentTargets(String id, DeleteSegmentTargetsRequest request) exportChannels(ExportChannelsRequest request) getCampaign(String id) getCampaign(String id, GetCampaignRequest request) getChannelType(String name) getChannelType(String name, GetChannelTypeRequest request) getCommand(String name) getCommand(String name, GetCommandRequest request) getExportChannelsStatus(String id, GetExportChannelsStatusRequest request) getManyMessages(String type, String id, GetManyMessagesRequest request) getMessage(String id) getMessage(String id, GetMessageRequest request) getOrCreateChannel(String type, String id) getOrCreateChannel(String type, String id, GetOrCreateChannelRequest request) getOrCreateDistinctChannel(String type, GetOrCreateDistinctChannelRequest request) getPoll(String pollID, GetPollRequest request) getPollOption(String pollID, String optionID) getPollOption(String pollID, String optionID, GetPollOptionRequest request) getReactions(String id) getReactions(String id, GetReactionsRequest request) getReplies(String parentID) getReplies(String parentID, GetRepliesRequest request) getSegment(String id) getSegment(String id, GetSegmentRequest request) getThread(String messageID, GetThreadRequest request) hideChannel(String type, String id) hideChannel(String type, String id, HideChannelRequest request) listChannelTypes(ListChannelTypesRequest request) listCommands(ListCommandsRequest request) markChannelsRead(MarkChannelsReadRequest request) markRead(String type, String id, MarkReadRequest request) markUnread(String type, String id) markUnread(String type, String id, MarkUnreadRequest request) muteChannel(MuteChannelRequest request) queryBannedUsers(QueryBannedUsersRequest request) queryCampaigns(QueryCampaignsRequest request) queryChannels(QueryChannelsRequest request) queryMembers(QueryMembersRequest request) queryPolls(QueryPollsRequest request) queryPollVotes(String pollID) queryPollVotes(String pollID, QueryPollVotesRequest request) queryReactions(String id) queryReactions(String id, QueryReactionsRequest request) querySegments(QuerySegmentsRequest request) querySegmentTargets(String id, QuerySegmentTargetsRequest request) queryThreads(QueryThreadsRequest request) removePollVote(String messageID, String pollID, String voteID) removePollVote(String messageID, String pollID, String voteID, RemovePollVoteRequest request) runMessageAction(String id, RunMessageActionRequest request) scheduleCampaign(String id, ScheduleCampaignRequest request) search()search(SearchRequest request) segmentTargetExists(String id, String targetID) segmentTargetExists(String id, String targetID, SegmentTargetExistsRequest request) sendEvent(String type, String id, SendEventRequest request) sendMessage(String type, String id, SendMessageRequest request) sendReaction(String id, SendReactionRequest request) sendUserCustomEvent(String userID, SendUserCustomEventRequest request) showChannel(String type, String id) showChannel(String type, String id, ShowChannelRequest request) startCampaign(String id) startCampaign(String id, StartCampaignRequest request) translateMessage(String id, TranslateMessageRequest request) truncateChannel(String type, String id) truncateChannel(String type, String id, TruncateChannelRequest request) undeleteMessage(String id, UndeleteMessageRequest request) unmuteChannel(UnmuteChannelRequest request) unreadCounts(UnreadCountsRequest request) updateChannel(String type, String id) updateChannel(String type, String id, UpdateChannelRequest request) updateChannelPartial(String type, String id) updateChannelPartial(String type, String id, UpdateChannelPartialRequest request) updateChannelType(String name, UpdateChannelTypeRequest request) updateCommand(String name, UpdateCommandRequest request) updateMemberPartial(String userID, String type, String id) updateMemberPartial(String userID, String type, String id, UpdateMemberPartialRequest request) updateMessage(String id, UpdateMessageRequest request) updateMessagePartial(String id, UpdateMessagePartialRequest request) updatePoll(UpdatePollRequest request) updatePollOption(String pollID, UpdatePollOptionRequest request) updatePollPartial(String pollID) updatePollPartial(String pollID, UpdatePollPartialRequest request) updateThreadPartial(String messageID) updateThreadPartial(String messageID, UpdateThreadPartialRequest request) uploadFile(String type, String id) uploadFile(String type, String id, UploadFileRequest request) uploadImage(String type, String id) uploadImage(String type, String id, UploadImageRequest request)
-
Constructor Details
-
ChatImpl
-
-
Method Details
-
queryCampaigns
@NotNull public StreamRequest<QueryCampaignsResponse> queryCampaigns(QueryCampaignsRequest request) throws StreamException - Specified by:
queryCampaignsin interfaceChat- Throws:
StreamException
-
queryCampaigns
- Specified by:
queryCampaignsin interfaceChat- Throws:
StreamException
-
getCampaign
@NotNull public StreamRequest<GetCampaignResponse> getCampaign(@NotNull String id, GetCampaignRequest request) throws StreamException - Specified by:
getCampaignin interfaceChat- Throws:
StreamException
-
getCampaign
@NotNull public StreamRequest<GetCampaignResponse> getCampaign(@NotNull String id) throws StreamException - Specified by:
getCampaignin interfaceChat- Throws:
StreamException
-
startCampaign
@NotNull public StreamRequest<StartCampaignResponse> startCampaign(@NotNull String id, StartCampaignRequest request) throws StreamException - Specified by:
startCampaignin interfaceChat- Throws:
StreamException
-
startCampaign
@NotNull public StreamRequest<StartCampaignResponse> startCampaign(@NotNull String id) throws StreamException - Specified by:
startCampaignin interfaceChat- Throws:
StreamException
-
scheduleCampaign
@NotNull public StreamRequest<CampaignResponse> scheduleCampaign(@NotNull String id, ScheduleCampaignRequest request) throws StreamException - Specified by:
scheduleCampaignin interfaceChat- Throws:
StreamException
-
scheduleCampaign
@NotNull public StreamRequest<CampaignResponse> scheduleCampaign(@NotNull String id) throws StreamException - Specified by:
scheduleCampaignin interfaceChat- Throws:
StreamException
-
queryChannels
@NotNull public StreamRequest<QueryChannelsResponse> queryChannels(QueryChannelsRequest request) throws StreamException - Specified by:
queryChannelsin interfaceChat- Throws:
StreamException
-
queryChannels
- Specified by:
queryChannelsin interfaceChat- Throws:
StreamException
-
deleteChannels
@NotNull public StreamRequest<DeleteChannelsResponse> deleteChannels(DeleteChannelsRequest request) throws StreamException - Specified by:
deleteChannelsin interfaceChat- Throws:
StreamException
-
markChannelsRead
@NotNull public StreamRequest<MarkReadResponse> markChannelsRead(MarkChannelsReadRequest request) throws StreamException - Specified by:
markChannelsReadin interfaceChat- Throws:
StreamException
-
markChannelsRead
- Specified by:
markChannelsReadin interfaceChat- Throws:
StreamException
-
getOrCreateDistinctChannel
@NotNull public StreamRequest<ChannelStateResponse> getOrCreateDistinctChannel(@NotNull String type, GetOrCreateDistinctChannelRequest request) throws StreamException - Specified by:
getOrCreateDistinctChannelin interfaceChat- Throws:
StreamException
-
getOrCreateDistinctChannel
@NotNull public StreamRequest<ChannelStateResponse> getOrCreateDistinctChannel(@NotNull String type) throws StreamException - Specified by:
getOrCreateDistinctChannelin interfaceChat- Throws:
StreamException
-
deleteChannel
@NotNull public StreamRequest<DeleteChannelResponse> deleteChannel(@NotNull String type, @NotNull String id, DeleteChannelRequest request) throws StreamException - Specified by:
deleteChannelin interfaceChat- Throws:
StreamException
-
deleteChannel
@NotNull public StreamRequest<DeleteChannelResponse> deleteChannel(@NotNull String type, @NotNull String id) throws StreamException - Specified by:
deleteChannelin interfaceChat- Throws:
StreamException
-
updateChannelPartial
@NotNull public StreamRequest<UpdateChannelPartialResponse> updateChannelPartial(@NotNull String type, @NotNull String id, UpdateChannelPartialRequest request) throws StreamException - Specified by:
updateChannelPartialin interfaceChat- Throws:
StreamException
-
updateChannelPartial
@NotNull public StreamRequest<UpdateChannelPartialResponse> updateChannelPartial(@NotNull String type, @NotNull String id) throws StreamException - Specified by:
updateChannelPartialin interfaceChat- Throws:
StreamException
-
updateChannel
@NotNull public StreamRequest<UpdateChannelResponse> updateChannel(@NotNull String type, @NotNull String id, UpdateChannelRequest request) throws StreamException - Specified by:
updateChannelin interfaceChat- Throws:
StreamException
-
updateChannel
@NotNull public StreamRequest<UpdateChannelResponse> updateChannel(@NotNull String type, @NotNull String id) throws StreamException - Specified by:
updateChannelin interfaceChat- Throws:
StreamException
-
sendEvent
@NotNull public StreamRequest<EventResponse> sendEvent(@NotNull String type, @NotNull String id, SendEventRequest request) throws StreamException - Specified by:
sendEventin interfaceChat- Throws:
StreamException
-
deleteFile
@NotNull public StreamRequest<Response> deleteFile(@NotNull String type, @NotNull String id, DeleteFileRequest request) throws StreamException - Specified by:
deleteFilein interfaceChat- Throws:
StreamException
-
deleteFile
@NotNull public StreamRequest<Response> deleteFile(@NotNull String type, @NotNull String id) throws StreamException - Specified by:
deleteFilein interfaceChat- Throws:
StreamException
-
uploadFile
@NotNull public StreamRequest<FileUploadResponse> uploadFile(@NotNull String type, @NotNull String id, UploadFileRequest request) throws StreamException - Specified by:
uploadFilein interfaceChat- Throws:
StreamException
-
uploadFile
@NotNull public StreamRequest<FileUploadResponse> uploadFile(@NotNull String type, @NotNull String id) throws StreamException - Specified by:
uploadFilein interfaceChat- Throws:
StreamException
-
hideChannel
@NotNull public StreamRequest<HideChannelResponse> hideChannel(@NotNull String type, @NotNull String id, HideChannelRequest request) throws StreamException - Specified by:
hideChannelin interfaceChat- Throws:
StreamException
-
hideChannel
@NotNull public StreamRequest<HideChannelResponse> hideChannel(@NotNull String type, @NotNull String id) throws StreamException - Specified by:
hideChannelin interfaceChat- Throws:
StreamException
-
deleteImage
@NotNull public StreamRequest<Response> deleteImage(@NotNull String type, @NotNull String id, DeleteImageRequest request) throws StreamException - Specified by:
deleteImagein interfaceChat- Throws:
StreamException
-
deleteImage
@NotNull public StreamRequest<Response> deleteImage(@NotNull String type, @NotNull String id) throws StreamException - Specified by:
deleteImagein interfaceChat- Throws:
StreamException
-
uploadImage
@NotNull public StreamRequest<ImageUploadResponse> uploadImage(@NotNull String type, @NotNull String id, UploadImageRequest request) throws StreamException - Specified by:
uploadImagein interfaceChat- Throws:
StreamException
-
uploadImage
@NotNull public StreamRequest<ImageUploadResponse> uploadImage(@NotNull String type, @NotNull String id) throws StreamException - Specified by:
uploadImagein interfaceChat- Throws:
StreamException
-
updateMemberPartial
@NotNull public StreamRequest<UpdateMemberPartialResponse> updateMemberPartial(@NotNull String userID, @NotNull String type, @NotNull String id, UpdateMemberPartialRequest request) throws StreamException - Specified by:
updateMemberPartialin interfaceChat- Throws:
StreamException
-
updateMemberPartial
@NotNull public StreamRequest<UpdateMemberPartialResponse> updateMemberPartial(@NotNull String userID, @NotNull String type, @NotNull String id) throws StreamException - Specified by:
updateMemberPartialin interfaceChat- Throws:
StreamException
-
sendMessage
@NotNull public StreamRequest<SendMessageResponse> sendMessage(@NotNull String type, @NotNull String id, SendMessageRequest request) throws StreamException - Specified by:
sendMessagein interfaceChat- Throws:
StreamException
-
getManyMessages
@NotNull public StreamRequest<GetManyMessagesResponse> getManyMessages(@NotNull String type, @NotNull String id, GetManyMessagesRequest request) throws StreamException - Specified by:
getManyMessagesin interfaceChat- Throws:
StreamException
-
getOrCreateChannel
@NotNull public StreamRequest<ChannelStateResponse> getOrCreateChannel(@NotNull String type, @NotNull String id, GetOrCreateChannelRequest request) throws StreamException - Specified by:
getOrCreateChannelin interfaceChat- Throws:
StreamException
-
getOrCreateChannel
@NotNull public StreamRequest<ChannelStateResponse> getOrCreateChannel(@NotNull String type, @NotNull String id) throws StreamException - Specified by:
getOrCreateChannelin interfaceChat- Throws:
StreamException
-
markRead
@NotNull public StreamRequest<MarkReadResponse> markRead(@NotNull String type, @NotNull String id, MarkReadRequest request) throws StreamException - Specified by:
markReadin interfaceChat- Throws:
StreamException
-
markRead
@NotNull public StreamRequest<MarkReadResponse> markRead(@NotNull String type, @NotNull String id) throws StreamException - Specified by:
markReadin interfaceChat- Throws:
StreamException
-
showChannel
@NotNull public StreamRequest<ShowChannelResponse> showChannel(@NotNull String type, @NotNull String id, ShowChannelRequest request) throws StreamException - Specified by:
showChannelin interfaceChat- Throws:
StreamException
-
showChannel
@NotNull public StreamRequest<ShowChannelResponse> showChannel(@NotNull String type, @NotNull String id) throws StreamException - Specified by:
showChannelin interfaceChat- Throws:
StreamException
-
truncateChannel
@NotNull public StreamRequest<TruncateChannelResponse> truncateChannel(@NotNull String type, @NotNull String id, TruncateChannelRequest request) throws StreamException - Specified by:
truncateChannelin interfaceChat- Throws:
StreamException
-
truncateChannel
@NotNull public StreamRequest<TruncateChannelResponse> truncateChannel(@NotNull String type, @NotNull String id) throws StreamException - Specified by:
truncateChannelin interfaceChat- Throws:
StreamException
-
markUnread
@NotNull public StreamRequest<Response> markUnread(@NotNull String type, @NotNull String id, MarkUnreadRequest request) throws StreamException - Specified by:
markUnreadin interfaceChat- Throws:
StreamException
-
markUnread
@NotNull public StreamRequest<Response> markUnread(@NotNull String type, @NotNull String id) throws StreamException - Specified by:
markUnreadin interfaceChat- Throws:
StreamException
-
listChannelTypes
@NotNull public StreamRequest<ListChannelTypesResponse> listChannelTypes(ListChannelTypesRequest request) throws StreamException - Specified by:
listChannelTypesin interfaceChat- Throws:
StreamException
-
listChannelTypes
- Specified by:
listChannelTypesin interfaceChat- Throws:
StreamException
-
createChannelType
@NotNull public StreamRequest<CreateChannelTypeResponse> createChannelType(CreateChannelTypeRequest request) throws StreamException - Specified by:
createChannelTypein interfaceChat- Throws:
StreamException
-
deleteChannelType
@NotNull public StreamRequest<Response> deleteChannelType(@NotNull String name, DeleteChannelTypeRequest request) throws StreamException - Specified by:
deleteChannelTypein interfaceChat- Throws:
StreamException
-
deleteChannelType
@NotNull public StreamRequest<Response> deleteChannelType(@NotNull String name) throws StreamException - Specified by:
deleteChannelTypein interfaceChat- Throws:
StreamException
-
getChannelType
@NotNull public StreamRequest<GetChannelTypeResponse> getChannelType(@NotNull String name, GetChannelTypeRequest request) throws StreamException - Specified by:
getChannelTypein interfaceChat- Throws:
StreamException
-
getChannelType
@NotNull public StreamRequest<GetChannelTypeResponse> getChannelType(@NotNull String name) throws StreamException - Specified by:
getChannelTypein interfaceChat- Throws:
StreamException
-
updateChannelType
@NotNull public StreamRequest<UpdateChannelTypeResponse> updateChannelType(@NotNull String name, UpdateChannelTypeRequest request) throws StreamException - Specified by:
updateChannelTypein interfaceChat- Throws:
StreamException
-
listCommands
@NotNull public StreamRequest<ListCommandsResponse> listCommands(ListCommandsRequest request) throws StreamException - Specified by:
listCommandsin interfaceChat- Throws:
StreamException
-
listCommands
- Specified by:
listCommandsin interfaceChat- Throws:
StreamException
-
createCommand
@NotNull public StreamRequest<CreateCommandResponse> createCommand(CreateCommandRequest request) throws StreamException - Specified by:
createCommandin interfaceChat- Throws:
StreamException
-
deleteCommand
@NotNull public StreamRequest<DeleteCommandResponse> deleteCommand(@NotNull String name, DeleteCommandRequest request) throws StreamException - Specified by:
deleteCommandin interfaceChat- Throws:
StreamException
-
deleteCommand
@NotNull public StreamRequest<DeleteCommandResponse> deleteCommand(@NotNull String name) throws StreamException - Specified by:
deleteCommandin interfaceChat- Throws:
StreamException
-
getCommand
@NotNull public StreamRequest<GetCommandResponse> getCommand(@NotNull String name, GetCommandRequest request) throws StreamException - Specified by:
getCommandin interfaceChat- Throws:
StreamException
-
getCommand
@NotNull public StreamRequest<GetCommandResponse> getCommand(@NotNull String name) throws StreamException - Specified by:
getCommandin interfaceChat- Throws:
StreamException
-
updateCommand
@NotNull public StreamRequest<UpdateCommandResponse> updateCommand(@NotNull String name, UpdateCommandRequest request) throws StreamException - Specified by:
updateCommandin interfaceChat- Throws:
StreamException
-
exportChannels
@NotNull public StreamRequest<ExportChannelsResponse> exportChannels(ExportChannelsRequest request) throws StreamException - Specified by:
exportChannelsin interfaceChat- Throws:
StreamException
-
getExportChannelsStatus
@NotNull public StreamRequest<GetExportChannelsStatusResponse> getExportChannelsStatus(@NotNull String id, GetExportChannelsStatusRequest request) throws StreamException - Specified by:
getExportChannelsStatusin interfaceChat- Throws:
StreamException
-
getExportChannelsStatus
@NotNull public StreamRequest<GetExportChannelsStatusResponse> getExportChannelsStatus(@NotNull String id) throws StreamException - Specified by:
getExportChannelsStatusin interfaceChat- Throws:
StreamException
-
queryMembers
@NotNull public StreamRequest<MembersResponse> queryMembers(QueryMembersRequest request) throws StreamException - Specified by:
queryMembersin interfaceChat- Throws:
StreamException
-
queryMembers
- Specified by:
queryMembersin interfaceChat- Throws:
StreamException
-
queryMessageHistory
@NotNull public StreamRequest<QueryMessageHistoryResponse> queryMessageHistory(QueryMessageHistoryRequest request) throws StreamException - Specified by:
queryMessageHistoryin interfaceChat- Throws:
StreamException
-
deleteMessage
@NotNull public StreamRequest<DeleteMessageResponse> deleteMessage(@NotNull String id, DeleteMessageRequest request) throws StreamException - Specified by:
deleteMessagein interfaceChat- Throws:
StreamException
-
deleteMessage
@NotNull public StreamRequest<DeleteMessageResponse> deleteMessage(@NotNull String id) throws StreamException - Specified by:
deleteMessagein interfaceChat- Throws:
StreamException
-
getMessage
@NotNull public StreamRequest<GetMessageResponse> getMessage(@NotNull String id, GetMessageRequest request) throws StreamException - Specified by:
getMessagein interfaceChat- Throws:
StreamException
-
getMessage
@NotNull public StreamRequest<GetMessageResponse> getMessage(@NotNull String id) throws StreamException - Specified by:
getMessagein interfaceChat- Throws:
StreamException
-
updateMessage
@NotNull public StreamRequest<UpdateMessageResponse> updateMessage(@NotNull String id, UpdateMessageRequest request) throws StreamException - Specified by:
updateMessagein interfaceChat- Throws:
StreamException
-
updateMessagePartial
@NotNull public StreamRequest<UpdateMessagePartialResponse> updateMessagePartial(@NotNull String id, UpdateMessagePartialRequest request) throws StreamException - Specified by:
updateMessagePartialin interfaceChat- Throws:
StreamException
-
updateMessagePartial
@NotNull public StreamRequest<UpdateMessagePartialResponse> updateMessagePartial(@NotNull String id) throws StreamException - Specified by:
updateMessagePartialin interfaceChat- Throws:
StreamException
-
runMessageAction
@NotNull public StreamRequest<MessageResponse> runMessageAction(@NotNull String id, RunMessageActionRequest request) throws StreamException - Specified by:
runMessageActionin interfaceChat- Throws:
StreamException
-
commitMessage
@NotNull public StreamRequest<MessageResponse> commitMessage(@NotNull String id, CommitMessageRequest request) throws StreamException - Specified by:
commitMessagein interfaceChat- Throws:
StreamException
-
commitMessage
@NotNull public StreamRequest<MessageResponse> commitMessage(@NotNull String id) throws StreamException - Specified by:
commitMessagein interfaceChat- Throws:
StreamException
-
sendReaction
@NotNull public StreamRequest<SendReactionResponse> sendReaction(@NotNull String id, SendReactionRequest request) throws StreamException - Specified by:
sendReactionin interfaceChat- Throws:
StreamException
-
deleteReaction
@NotNull public StreamRequest<DeleteReactionResponse> deleteReaction(@NotNull String id, @NotNull String type, DeleteReactionRequest request) throws StreamException - Specified by:
deleteReactionin interfaceChat- Throws:
StreamException
-
deleteReaction
@NotNull public StreamRequest<DeleteReactionResponse> deleteReaction(@NotNull String id, @NotNull String type) throws StreamException - Specified by:
deleteReactionin interfaceChat- Throws:
StreamException
-
getReactions
@NotNull public StreamRequest<GetReactionsResponse> getReactions(@NotNull String id, GetReactionsRequest request) throws StreamException - Specified by:
getReactionsin interfaceChat- Throws:
StreamException
-
getReactions
@NotNull public StreamRequest<GetReactionsResponse> getReactions(@NotNull String id) throws StreamException - Specified by:
getReactionsin interfaceChat- Throws:
StreamException
-
queryReactions
@NotNull public StreamRequest<QueryReactionsResponse> queryReactions(@NotNull String id, QueryReactionsRequest request) throws StreamException - Specified by:
queryReactionsin interfaceChat- Throws:
StreamException
-
queryReactions
@NotNull public StreamRequest<QueryReactionsResponse> queryReactions(@NotNull String id) throws StreamException - Specified by:
queryReactionsin interfaceChat- Throws:
StreamException
-
translateMessage
@NotNull public StreamRequest<MessageResponse> translateMessage(@NotNull String id, TranslateMessageRequest request) throws StreamException - Specified by:
translateMessagein interfaceChat- Throws:
StreamException
-
undeleteMessage
@NotNull public StreamRequest<UpdateMessageResponse> undeleteMessage(@NotNull String id, UndeleteMessageRequest request) throws StreamException - Specified by:
undeleteMessagein interfaceChat- Throws:
StreamException
-
castPollVote
@NotNull public StreamRequest<PollVoteResponse> castPollVote(@NotNull String messageID, @NotNull String pollID, CastPollVoteRequest request) throws StreamException - Specified by:
castPollVotein interfaceChat- Throws:
StreamException
-
castPollVote
@NotNull public StreamRequest<PollVoteResponse> castPollVote(@NotNull String messageID, @NotNull String pollID) throws StreamException - Specified by:
castPollVotein interfaceChat- Throws:
StreamException
-
removePollVote
@NotNull public StreamRequest<PollVoteResponse> removePollVote(@NotNull String messageID, @NotNull String pollID, @NotNull String voteID, RemovePollVoteRequest request) throws StreamException - Specified by:
removePollVotein interfaceChat- Throws:
StreamException
-
removePollVote
@NotNull public StreamRequest<PollVoteResponse> removePollVote(@NotNull String messageID, @NotNull String pollID, @NotNull String voteID) throws StreamException - Specified by:
removePollVotein interfaceChat- Throws:
StreamException
-
getReplies
@NotNull public StreamRequest<GetRepliesResponse> getReplies(@NotNull String parentID, GetRepliesRequest request) throws StreamException - Specified by:
getRepliesin interfaceChat- Throws:
StreamException
-
getReplies
@NotNull public StreamRequest<GetRepliesResponse> getReplies(@NotNull String parentID) throws StreamException - Specified by:
getRepliesin interfaceChat- Throws:
StreamException
-
queryMessageFlags
@NotNull public StreamRequest<QueryMessageFlagsResponse> queryMessageFlags(QueryMessageFlagsRequest request) throws StreamException - Specified by:
queryMessageFlagsin interfaceChat- Throws:
StreamException
-
queryMessageFlags
- Specified by:
queryMessageFlagsin interfaceChat- Throws:
StreamException
-
muteChannel
@NotNull public StreamRequest<MuteChannelResponse> muteChannel(MuteChannelRequest request) throws StreamException - Specified by:
muteChannelin interfaceChat- Throws:
StreamException
-
muteChannel
- Specified by:
muteChannelin interfaceChat- Throws:
StreamException
-
unmuteChannel
@NotNull public StreamRequest<UnmuteResponse> unmuteChannel(UnmuteChannelRequest request) throws StreamException - Specified by:
unmuteChannelin interfaceChat- Throws:
StreamException
-
unmuteChannel
- Specified by:
unmuteChannelin interfaceChat- Throws:
StreamException
-
createPoll
@NotNull public StreamRequest<PollResponse> createPoll(CreatePollRequest request) throws StreamException - Specified by:
createPollin interfaceChat- Throws:
StreamException
-
updatePoll
@NotNull public StreamRequest<PollResponse> updatePoll(UpdatePollRequest request) throws StreamException - Specified by:
updatePollin interfaceChat- Throws:
StreamException
-
queryPolls
@NotNull public StreamRequest<QueryPollsResponse> queryPolls(QueryPollsRequest request) throws StreamException - Specified by:
queryPollsin interfaceChat- Throws:
StreamException
-
queryPolls
- Specified by:
queryPollsin interfaceChat- Throws:
StreamException
-
deletePoll
@NotNull public StreamRequest<Response> deletePoll(@NotNull String pollID, DeletePollRequest request) throws StreamException - Specified by:
deletePollin interfaceChat- Throws:
StreamException
-
deletePoll
- Specified by:
deletePollin interfaceChat- Throws:
StreamException
-
getPoll
@NotNull public StreamRequest<PollResponse> getPoll(@NotNull String pollID, GetPollRequest request) throws StreamException - Specified by:
getPollin interfaceChat- Throws:
StreamException
-
getPoll
- Specified by:
getPollin interfaceChat- Throws:
StreamException
-
updatePollPartial
@NotNull public StreamRequest<PollResponse> updatePollPartial(@NotNull String pollID, UpdatePollPartialRequest request) throws StreamException - Specified by:
updatePollPartialin interfaceChat- Throws:
StreamException
-
updatePollPartial
@NotNull public StreamRequest<PollResponse> updatePollPartial(@NotNull String pollID) throws StreamException - Specified by:
updatePollPartialin interfaceChat- Throws:
StreamException
-
createPollOption
@NotNull public StreamRequest<PollOptionResponse> createPollOption(@NotNull String pollID, CreatePollOptionRequest request) throws StreamException - Specified by:
createPollOptionin interfaceChat- Throws:
StreamException
-
updatePollOption
@NotNull public StreamRequest<PollOptionResponse> updatePollOption(@NotNull String pollID, UpdatePollOptionRequest request) throws StreamException - Specified by:
updatePollOptionin interfaceChat- Throws:
StreamException
-
deletePollOption
@NotNull public StreamRequest<Response> deletePollOption(@NotNull String pollID, @NotNull String optionID, DeletePollOptionRequest request) throws StreamException - Specified by:
deletePollOptionin interfaceChat- Throws:
StreamException
-
deletePollOption
@NotNull public StreamRequest<Response> deletePollOption(@NotNull String pollID, @NotNull String optionID) throws StreamException - Specified by:
deletePollOptionin interfaceChat- Throws:
StreamException
-
getPollOption
@NotNull public StreamRequest<PollOptionResponse> getPollOption(@NotNull String pollID, @NotNull String optionID, GetPollOptionRequest request) throws StreamException - Specified by:
getPollOptionin interfaceChat- Throws:
StreamException
-
getPollOption
@NotNull public StreamRequest<PollOptionResponse> getPollOption(@NotNull String pollID, @NotNull String optionID) throws StreamException - Specified by:
getPollOptionin interfaceChat- Throws:
StreamException
-
queryPollVotes
@NotNull public StreamRequest<PollVotesResponse> queryPollVotes(@NotNull String pollID, QueryPollVotesRequest request) throws StreamException - Specified by:
queryPollVotesin interfaceChat- Throws:
StreamException
-
queryPollVotes
@NotNull public StreamRequest<PollVotesResponse> queryPollVotes(@NotNull String pollID) throws StreamException - Specified by:
queryPollVotesin interfaceChat- Throws:
StreamException
-
updatePushNotificationPreferences
@NotNull public StreamRequest<UpsertPushPreferencesResponse> updatePushNotificationPreferences(UpdatePushNotificationPreferencesRequest request) throws StreamException - Specified by:
updatePushNotificationPreferencesin interfaceChat- Throws:
StreamException
-
queryBannedUsers
@NotNull public StreamRequest<QueryBannedUsersResponse> queryBannedUsers(QueryBannedUsersRequest request) throws StreamException - Specified by:
queryBannedUsersin interfaceChat- Throws:
StreamException
-
queryBannedUsers
- Specified by:
queryBannedUsersin interfaceChat- Throws:
StreamException
-
search
- Specified by:
searchin interfaceChat- Throws:
StreamException
-
search
- Specified by:
searchin interfaceChat- Throws:
StreamException
-
querySegments
@NotNull public StreamRequest<QuerySegmentsResponse> querySegments(QuerySegmentsRequest request) throws StreamException - Specified by:
querySegmentsin interfaceChat- Throws:
StreamException
-
deleteSegment
@NotNull public StreamRequest<Response> deleteSegment(@NotNull String id, DeleteSegmentRequest request) throws StreamException - Specified by:
deleteSegmentin interfaceChat- Throws:
StreamException
-
deleteSegment
- Specified by:
deleteSegmentin interfaceChat- Throws:
StreamException
-
getSegment
@NotNull public StreamRequest<GetSegmentResponse> getSegment(@NotNull String id, GetSegmentRequest request) throws StreamException - Specified by:
getSegmentin interfaceChat- Throws:
StreamException
-
getSegment
@NotNull public StreamRequest<GetSegmentResponse> getSegment(@NotNull String id) throws StreamException - Specified by:
getSegmentin interfaceChat- Throws:
StreamException
-
deleteSegmentTargets
@NotNull public StreamRequest<Response> deleteSegmentTargets(@NotNull String id, DeleteSegmentTargetsRequest request) throws StreamException - Specified by:
deleteSegmentTargetsin interfaceChat- Throws:
StreamException
-
segmentTargetExists
@NotNull public StreamRequest<Response> segmentTargetExists(@NotNull String id, @NotNull String targetID, SegmentTargetExistsRequest request) throws StreamException - Specified by:
segmentTargetExistsin interfaceChat- Throws:
StreamException
-
segmentTargetExists
@NotNull public StreamRequest<Response> segmentTargetExists(@NotNull String id, @NotNull String targetID) throws StreamException - Specified by:
segmentTargetExistsin interfaceChat- Throws:
StreamException
-
querySegmentTargets
@NotNull public StreamRequest<QuerySegmentTargetsResponse> querySegmentTargets(@NotNull String id, QuerySegmentTargetsRequest request) throws StreamException - Specified by:
querySegmentTargetsin interfaceChat- Throws:
StreamException
-
querySegmentTargets
@NotNull public StreamRequest<QuerySegmentTargetsResponse> querySegmentTargets(@NotNull String id) throws StreamException - Specified by:
querySegmentTargetsin interfaceChat- Throws:
StreamException
-
queryThreads
@NotNull public StreamRequest<QueryThreadsResponse> queryThreads(QueryThreadsRequest request) throws StreamException - Specified by:
queryThreadsin interfaceChat- Throws:
StreamException
-
queryThreads
- Specified by:
queryThreadsin interfaceChat- Throws:
StreamException
-
getThread
@NotNull public StreamRequest<GetThreadResponse> getThread(@NotNull String messageID, GetThreadRequest request) throws StreamException - Specified by:
getThreadin interfaceChat- Throws:
StreamException
-
getThread
@NotNull public StreamRequest<GetThreadResponse> getThread(@NotNull String messageID) throws StreamException - Specified by:
getThreadin interfaceChat- Throws:
StreamException
-
updateThreadPartial
@NotNull public StreamRequest<UpdateThreadPartialResponse> updateThreadPartial(@NotNull String messageID, UpdateThreadPartialRequest request) throws StreamException - Specified by:
updateThreadPartialin interfaceChat- Throws:
StreamException
-
updateThreadPartial
@NotNull public StreamRequest<UpdateThreadPartialResponse> updateThreadPartial(@NotNull String messageID) throws StreamException - Specified by:
updateThreadPartialin interfaceChat- Throws:
StreamException
-
unreadCounts
@NotNull public StreamRequest<WrappedUnreadCountsResponse> unreadCounts(UnreadCountsRequest request) throws StreamException - Specified by:
unreadCountsin interfaceChat- Throws:
StreamException
-
unreadCounts
- Specified by:
unreadCountsin interfaceChat- Throws:
StreamException
-
unreadCountsBatch
@NotNull public StreamRequest<UnreadCountsBatchResponse> unreadCountsBatch(UnreadCountsBatchRequest request) throws StreamException - Specified by:
unreadCountsBatchin interfaceChat- Throws:
StreamException
-
sendUserCustomEvent
@NotNull public StreamRequest<Response> sendUserCustomEvent(@NotNull String userID, SendUserCustomEventRequest request) throws StreamException - Specified by:
sendUserCustomEventin interfaceChat- Throws:
StreamException
-
channel
-