Class TestWelcomeBotCustomMessageApiRequest
java.lang.Object
com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
com.github.jamesnetherton.zulip.client.api.server.request.TestWelcomeBotCustomMessageApiRequest
- All Implemented Interfaces:
ExecutableApiRequest<Integer>
public class TestWelcomeBotCustomMessageApiRequest
extends ZulipApiRequest
implements ExecutableApiRequest<Integer>
Zulip API request builder for testing the welcome bot custom message.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTestWelcomeBotCustomMessageApiRequest
(ZulipHttpClient client, String welcomeMessageCustomTest) Constructs aTestWelcomeBotCustomMessageApiRequest
. -
Method Summary
Methods inherited from class com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
client, getParam, getParam, getParams, putParam, putParamAsJsonString, putParamAsWrappedObject
-
Field Details
-
WELCOME_MESSAGE_CUSTOM_TEXT
- See Also:
-
-
Constructor Details
-
TestWelcomeBotCustomMessageApiRequest
public TestWelcomeBotCustomMessageApiRequest(ZulipHttpClient client, String welcomeMessageCustomTest) Constructs aTestWelcomeBotCustomMessageApiRequest
.- Parameters:
client
- The Zulip HTTP clientwelcomeMessageCustomTest
- The custom welcome message content
-
-
Method Details
-
execute
Executes the Zulip API request for testing the welcome bot custom message.- Specified by:
execute
in interfaceExecutableApiRequest<Integer>
- Returns:
- The response for type T
- Throws:
ZulipClientException
- if the request was not successful
-