@Remoteable(path="https://api.twitter.com/1.1/direct_messages/welcome_messages")
public interface WelcomeMessages
| Modifier and Type | Method and Description |
|---|---|
void |
destroyWelcomeMessage(Long id)
Deletes a Welcome Message by the given id.
|
WelcomeMessagesListResponse |
listWelcomeMessages(WelcomeMessagesListRequest parameters)
Returns a list of Welcome Messages.
|
WelcomeMessageNewResponse |
newWelcomeMessage(WelcomeMessageNewRequest messageNewRequest)
Creates a new Welcome Message that will be stored and sent in the future from the authenticating user in defined circumstances.
|
WelcomeMessage |
showWelcomeMessage(Long id)
Returns a Welcome Message by the given id.
|
@RemoteMethod(httpMethod="GET",
path="/list.json")
WelcomeMessagesListResponse listWelcomeMessages(@QueryIfNE(value="*")
WelcomeMessagesListRequest parameters)
@RemoteMethod(httpMethod="GET",
path="/show.json")
WelcomeMessage showWelcomeMessage(@Query(value="id")
Long id)
@RemoteMethod(httpMethod="POST",
path="/new.json")
WelcomeMessageNewResponse newWelcomeMessage(@Body
WelcomeMessageNewRequest messageNewRequest)
@RemoteMethod(httpMethod="DELETE",
path="/destroy.json")
void destroyWelcomeMessage(@Query(value="id")
Long id)
Copyright © 2018 The Apache Software Foundation. All rights reserved.