@Remoteable(path="https://api.twitter.com/1.1/direct_messages/welcome_messages/rules")
public interface WelcomeMessageRules
Modifier and Type | Method and Description |
---|---|
void |
destroyWelcomeMessageRule(Long id)
Deletes a Welcome Message Rule by the given id.
|
WelcomeMessageRulesListResponse |
listWelcomeMessageRules(WelcomeMessageRulesListRequest parameters)
Returns a list of Welcome Message Rules.
|
WelcomeMessageRule |
newWelcomeMessageRule(WelcomeMessageNewRuleRequest body)
Creates a new Welcome Message Rule that determines which Welcome Message will be shown in a given conversation.
|
WelcomeMessageRule |
showWelcomeMessageRule(Long id)
Returns a Welcome Message Rule by the given id.
|
@RemoteMethod(httpMethod="GET", path="/list.json") WelcomeMessageRulesListResponse listWelcomeMessageRules(@QueryIfNE WelcomeMessageRulesListRequest parameters)
@RemoteMethod(httpMethod="GET", path="/show.json") WelcomeMessageRule showWelcomeMessageRule(@Query(value="id") Long id)
@RemoteMethod(httpMethod="POST", path="/new.json") WelcomeMessageRule newWelcomeMessageRule(@Body WelcomeMessageNewRuleRequest body)
@RemoteMethod(httpMethod="DELETE", path="/destroy.json") void destroyWelcomeMessageRule(@Query(value="id") Long id)
Copyright © 2018 The Apache Software Foundation. All rights reserved.