Class SetTypingStatusApiRequest
java.lang.Object
com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
com.github.jamesnetherton.zulip.client.api.user.request.SetTypingStatusApiRequest
- All Implemented Interfaces:
VoidExecutableApiRequest
Zulip API request builder for setting user 'typing' status.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSetTypingStatusApiRequest(ZulipHttpClient client, TypingOperation operation, long... userIds) Constructs aSetTypingStatusApiRequest.SetTypingStatusApiRequest(ZulipHttpClient client, TypingOperation operation, long streamId, String topic) Constructs aSetTypingStatusApiRequest. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Executes the Zulip API request for setting user 'typing' status.Methods inherited from class com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
client, getParam, getParam, getParams, putParam, putParamAsJsonString, putParamAsWrappedObject
-
Field Details
-
OPERATION
- See Also:
-
STREAM_ID
- See Also:
-
TO
- See Also:
-
TOPIC
- See Also:
-
TYPE
- See Also:
-
-
Constructor Details
-
SetTypingStatusApiRequest
public SetTypingStatusApiRequest(ZulipHttpClient client, TypingOperation operation, long... userIds) Constructs aSetTypingStatusApiRequest.- Parameters:
client- The Zulip HTTP clientoperation- The typing operation to applyuserIds- Array of user ids to add to set the typing status for
-
SetTypingStatusApiRequest
public SetTypingStatusApiRequest(ZulipHttpClient client, TypingOperation operation, long streamId, String topic) Constructs aSetTypingStatusApiRequest.- Parameters:
client- The Zulip HTTP clientoperation- The typing operation to applystreamId- The id of the stream in which the message is being typedtopic- The name of the topic in which the message is being typed
-
-
Method Details
-
execute
Executes the Zulip API request for setting user 'typing' status.- Specified by:
executein interfaceVoidExecutableApiRequest- Throws:
ZulipClientException- if the request was not successful
-