CoreTweet  2.0.0-beta.2
Yet another .NET Twitter Library
Public Member Functions | Public Attributes | List of all members
CoreTweet.Rest.DirectMessages Class Reference

Provides a set of methods for the wrapper of GET/POST direct_messages. More...

Public Member Functions

ListedResponse< DirectMessageReceived (params Expression< Func< string, object >>[] parameters)
 
ListedResponse< DirectMessageReceived (IDictionary< string, object > parameters)
 
ListedResponse< DirectMessageReceived (object parameters)
 
ListedResponse< DirectMessageReceived (long? since_id=null, long? max_id=null, int? count=null, int? page=null, bool? full_text=null, bool? include_entities=null)
 
Task< ListedResponse< DirectMessage > > ReceivedAsync (params Expression< Func< string, object >>[] parameters)
 
Task< ListedResponse< DirectMessage > > ReceivedAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< ListedResponse< DirectMessage > > ReceivedAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< ListedResponse< DirectMessage > > ReceivedAsync (long? since_id=null, long? max_id=null, int? count=null, int? page=null, bool? full_text=null, bool? include_entities=null, CancellationToken cancellationToken=default(CancellationToken))
 
ListedResponse< DirectMessageSent (params Expression< Func< string, object >>[] parameters)
 
ListedResponse< DirectMessageSent (IDictionary< string, object > parameters)
 
ListedResponse< DirectMessageSent (object parameters)
 
ListedResponse< DirectMessageSent (long? since_id=null, long? max_id=null, int? count=null, int? page=null, bool? full_text=null, bool? include_entities=null)
 
Task< ListedResponse< DirectMessage > > SentAsync (params Expression< Func< string, object >>[] parameters)
 
Task< ListedResponse< DirectMessage > > SentAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< ListedResponse< DirectMessage > > SentAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< ListedResponse< DirectMessage > > SentAsync (long? since_id=null, long? max_id=null, int? count=null, int? page=null, bool? full_text=null, bool? include_entities=null, CancellationToken cancellationToken=default(CancellationToken))
 
DirectMessageResponse Show (params Expression< Func< string, object >>[] parameters)
 
DirectMessageResponse Show (IDictionary< string, object > parameters)
 
DirectMessageResponse Show (object parameters)
 
DirectMessageResponse Show (long id, bool? full_text=null)
 
Task< DirectMessageResponseShowAsync (params Expression< Func< string, object >>[] parameters)
 
Task< DirectMessageResponseShowAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< DirectMessageResponseShowAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< DirectMessageResponseShowAsync (long id, bool? full_text=null, CancellationToken cancellationToken=default(CancellationToken))
 
DirectMessageResponse New (params Expression< Func< string, object >>[] parameters)
 
DirectMessageResponse New (IDictionary< string, object > parameters)
 
DirectMessageResponse New (object parameters)
 
DirectMessageResponse New (long user_id, string text)
 
DirectMessageResponse New (string screen_name, string text)
 
Task< DirectMessageResponseNewAsync (params Expression< Func< string, object >>[] parameters)
 
Task< DirectMessageResponseNewAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< DirectMessageResponseNewAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< DirectMessageResponseNewAsync (long user_id, string text, CancellationToken cancellationToken=default(CancellationToken))
 
Task< DirectMessageResponseNewAsync (string screen_name, string text, CancellationToken cancellationToken=default(CancellationToken))
 
DirectMessageResponse Destroy (params Expression< Func< string, object >>[] parameters)
 
DirectMessageResponse Destroy (IDictionary< string, object > parameters)
 
DirectMessageResponse Destroy (object parameters)
 
DirectMessageResponse Destroy (long id, bool? include_entities=null)
 
Task< DirectMessageResponseDestroyAsync (params Expression< Func< string, object >>[] parameters)
 
Task< DirectMessageResponseDestroyAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< DirectMessageResponseDestroyAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< DirectMessageResponseDestroyAsync (long id, bool? include_entities=null, CancellationToken cancellationToken=default(CancellationToken))
 
void MarkRead (params Expression< Func< string, object >>[] parameters)
 
void MarkRead (IDictionary< string, object > parameters)
 
void MarkRead (object parameters)
 
void MarkRead (long last_read_event_id, long recipient_id)
 
Task MarkReadAsync (params Expression< Func< string, object >>[] parameters)
 
Task MarkReadAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task MarkReadAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task MarkReadAsync (long last_read_event_id, long recipient_id, CancellationToken cancellationToken=default(CancellationToken))
 
void IndicateTyping (params Expression< Func< string, object >>[] parameters)
 
void IndicateTyping (IDictionary< string, object > parameters)
 
void IndicateTyping (object parameters)
 
void IndicateTyping (long recipient_id)
 
Task IndicateTypingAsync (params Expression< Func< string, object >>[] parameters)
 
Task IndicateTypingAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task IndicateTypingAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task IndicateTypingAsync (long recipient_id, CancellationToken cancellationToken=default(CancellationToken))
 

Public Attributes

DirectMessagesEvents Events => new DirectMessagesEvents(this.Tokens)
 Gets the wrapper of direct_messages/events. More...
 
WelcomeMessages WelcomeMessages => new WelcomeMessages(this.Tokens)
 Gets the wrapper of direct_messages/welcome_messages. More...
 

Detailed Description

Provides a set of methods for the wrapper of GET/POST direct_messages.

Member Function Documentation

◆ Destroy() [1/4]

DirectMessageResponse CoreTweet.Rest.DirectMessages.Destroy ( IDictionary< string, object >  parameters)
inline

Destroys the direct message specified in the required ID parameter.

Available parameters:

- long id (required)

- bool include_entities (optional)

Parameters
parametersThe parameters.
Returns
The direct message.

◆ Destroy() [2/4]

DirectMessageResponse CoreTweet.Rest.DirectMessages.Destroy ( long  id,
bool?  include_entities = null 
)
inline

Destroys the direct message specified in the required ID parameter.

Parameters
idrequired.
include_entities optional.
Returns
The direct message.

◆ Destroy() [3/4]

DirectMessageResponse CoreTweet.Rest.DirectMessages.Destroy ( object  parameters)
inline

Destroys the direct message specified in the required ID parameter.

Available parameters:

- long id (required)

- bool include_entities (optional)

Parameters
parametersThe parameters.
Returns
The direct message.

◆ Destroy() [4/4]

DirectMessageResponse CoreTweet.Rest.DirectMessages.Destroy ( params Expression< Func< string, object >>[]  parameters)
inline

Destroys the direct message specified in the required ID parameter.

Available parameters:

- long id (required)

- bool include_entities (optional)

Parameters
parametersThe parameters.
Returns
The direct message.

◆ DestroyAsync() [1/4]

Task<DirectMessageResponse> CoreTweet.Rest.DirectMessages.DestroyAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Destroys the direct message specified in the required ID parameter.

Available parameters:

- long id (required)

- bool include_entities (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The direct message.

◆ DestroyAsync() [2/4]

Task<DirectMessageResponse> CoreTweet.Rest.DirectMessages.DestroyAsync ( long  id,
bool?  include_entities = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Destroys the direct message specified in the required ID parameter.

Parameters
idrequired.
include_entities optional.
cancellationTokenThe cancellation token.
Returns
The direct message.

◆ DestroyAsync() [3/4]

Task<DirectMessageResponse> CoreTweet.Rest.DirectMessages.DestroyAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Destroys the direct message specified in the required ID parameter.

Available parameters:

- long id (required)

- bool include_entities (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The direct message.

◆ DestroyAsync() [4/4]

Task<DirectMessageResponse> CoreTweet.Rest.DirectMessages.DestroyAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Destroys the direct message specified in the required ID parameter.

Available parameters:

- long id (required)

- bool include_entities (optional)

Parameters
parametersThe parameters.
Returns
The direct message.

◆ IndicateTyping() [1/4]

void CoreTweet.Rest.DirectMessages.IndicateTyping ( IDictionary< string, object >  parameters)
inline

Displays a visual typing indicator in the recipient’s Direct Message conversation view with the sender.

Available parameters:

- long recipient_id (required)

Parameters
parametersThe parameters.
Returns

◆ IndicateTyping() [2/4]

void CoreTweet.Rest.DirectMessages.IndicateTyping ( long  recipient_id)
inline

Displays a visual typing indicator in the recipient’s Direct Message conversation view with the sender.

Parameters
recipient_idrequired.
Returns

◆ IndicateTyping() [3/4]

void CoreTweet.Rest.DirectMessages.IndicateTyping ( object  parameters)
inline

Displays a visual typing indicator in the recipient’s Direct Message conversation view with the sender.

Available parameters:

- long recipient_id (required)

Parameters
parametersThe parameters.
Returns

◆ IndicateTyping() [4/4]

void CoreTweet.Rest.DirectMessages.IndicateTyping ( params Expression< Func< string, object >>[]  parameters)
inline

Displays a visual typing indicator in the recipient’s Direct Message conversation view with the sender.

Available parameters:

- long recipient_id (required)

Parameters
parametersThe parameters.
Returns

◆ IndicateTypingAsync() [1/4]

Task CoreTweet.Rest.DirectMessages.IndicateTypingAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Displays a visual typing indicator in the recipient’s Direct Message conversation view with the sender.

Available parameters:

- long recipient_id (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns

◆ IndicateTypingAsync() [2/4]

Task CoreTweet.Rest.DirectMessages.IndicateTypingAsync ( long  recipient_id,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Displays a visual typing indicator in the recipient’s Direct Message conversation view with the sender.

Parameters
recipient_idrequired.
cancellationTokenThe cancellation token.
Returns

◆ IndicateTypingAsync() [3/4]

Task CoreTweet.Rest.DirectMessages.IndicateTypingAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Displays a visual typing indicator in the recipient’s Direct Message conversation view with the sender.

Available parameters:

- long recipient_id (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns

◆ IndicateTypingAsync() [4/4]

Task CoreTweet.Rest.DirectMessages.IndicateTypingAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Displays a visual typing indicator in the recipient’s Direct Message conversation view with the sender.

Available parameters:

- long recipient_id (required)

Parameters
parametersThe parameters.
Returns

◆ MarkRead() [1/4]

void CoreTweet.Rest.DirectMessages.MarkRead ( IDictionary< string, object >  parameters)
inline

Marks a message as read in the recipient’s Direct Message conversation view with the sender.

Available parameters:

- long last_read_event_id (required)

- long recipient_id (required)

Parameters
parametersThe parameters.
Returns

◆ MarkRead() [2/4]

void CoreTweet.Rest.DirectMessages.MarkRead ( long  last_read_event_id,
long  recipient_id 
)
inline

Marks a message as read in the recipient’s Direct Message conversation view with the sender.

Parameters
last_read_event_idrequired.
recipient_idrequired.
Returns

◆ MarkRead() [3/4]

void CoreTweet.Rest.DirectMessages.MarkRead ( object  parameters)
inline

Marks a message as read in the recipient’s Direct Message conversation view with the sender.

Available parameters:

- long last_read_event_id (required)

- long recipient_id (required)

Parameters
parametersThe parameters.
Returns

◆ MarkRead() [4/4]

void CoreTweet.Rest.DirectMessages.MarkRead ( params Expression< Func< string, object >>[]  parameters)
inline

Marks a message as read in the recipient’s Direct Message conversation view with the sender.

Available parameters:

- long last_read_event_id (required)

- long recipient_id (required)

Parameters
parametersThe parameters.
Returns

◆ MarkReadAsync() [1/4]

Task CoreTweet.Rest.DirectMessages.MarkReadAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Marks a message as read in the recipient’s Direct Message conversation view with the sender.

Available parameters:

- long last_read_event_id (required)

- long recipient_id (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns

◆ MarkReadAsync() [2/4]

Task CoreTweet.Rest.DirectMessages.MarkReadAsync ( long  last_read_event_id,
long  recipient_id,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Marks a message as read in the recipient’s Direct Message conversation view with the sender.

Parameters
last_read_event_idrequired.
recipient_idrequired.
cancellationTokenThe cancellation token.
Returns

◆ MarkReadAsync() [3/4]

Task CoreTweet.Rest.DirectMessages.MarkReadAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Marks a message as read in the recipient’s Direct Message conversation view with the sender.

Available parameters:

- long last_read_event_id (required)

- long recipient_id (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns

◆ MarkReadAsync() [4/4]

Task CoreTweet.Rest.DirectMessages.MarkReadAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Marks a message as read in the recipient’s Direct Message conversation view with the sender.

Available parameters:

- long last_read_event_id (required)

- long recipient_id (required)

Parameters
parametersThe parameters.
Returns

◆ New() [1/5]

DirectMessageResponse CoreTweet.Rest.DirectMessages.New ( IDictionary< string, object >  parameters)
inline

Sends a new direct message to the specified user from the authenticating user.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- string text (required)

Parameters
parametersThe parameters.
Returns
The direct message.

◆ New() [2/5]

DirectMessageResponse CoreTweet.Rest.DirectMessages.New ( long  user_id,
string  text 
)
inline

Sends a new direct message to the specified user from the authenticating user.

Parameters
user_idany one is required.
text required.
Returns
The direct message.

◆ New() [3/5]

DirectMessageResponse CoreTweet.Rest.DirectMessages.New ( object  parameters)
inline

Sends a new direct message to the specified user from the authenticating user.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- string text (required)

Parameters
parametersThe parameters.
Returns
The direct message.

◆ New() [4/5]

DirectMessageResponse CoreTweet.Rest.DirectMessages.New ( params Expression< Func< string, object >>[]  parameters)
inline

Sends a new direct message to the specified user from the authenticating user.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- string text (required)

Parameters
parametersThe parameters.
Returns
The direct message.

◆ New() [5/5]

DirectMessageResponse CoreTweet.Rest.DirectMessages.New ( string  screen_name,
string  text 
)
inline

Sends a new direct message to the specified user from the authenticating user.

Parameters
screen_nameany one is required.
text required.
Returns
The direct message.

◆ NewAsync() [1/5]

Task<DirectMessageResponse> CoreTweet.Rest.DirectMessages.NewAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Sends a new direct message to the specified user from the authenticating user.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- string text (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The direct message.

◆ NewAsync() [2/5]

Task<DirectMessageResponse> CoreTweet.Rest.DirectMessages.NewAsync ( long  user_id,
string  text,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Sends a new direct message to the specified user from the authenticating user.

Parameters
user_idany one is required.
text required.
cancellationTokenThe cancellation token.
Returns
The direct message.

◆ NewAsync() [3/5]

Task<DirectMessageResponse> CoreTweet.Rest.DirectMessages.NewAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Sends a new direct message to the specified user from the authenticating user.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- string text (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The direct message.

◆ NewAsync() [4/5]

Task<DirectMessageResponse> CoreTweet.Rest.DirectMessages.NewAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Sends a new direct message to the specified user from the authenticating user.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- string text (required)

Parameters
parametersThe parameters.
Returns
The direct message.

◆ NewAsync() [5/5]

Task<DirectMessageResponse> CoreTweet.Rest.DirectMessages.NewAsync ( string  screen_name,
string  text,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Sends a new direct message to the specified user from the authenticating user.

Parameters
screen_nameany one is required.
text required.
cancellationTokenThe cancellation token.
Returns
The direct message.

◆ Received() [1/4]

ListedResponse<DirectMessage> CoreTweet.Rest.DirectMessages.Received ( IDictionary< string, object >  parameters)
inline

Returns the most recent direct messages sent to the authenticating user.

Available parameters:

- long since_id (optional)

- long max_id (optional)

- int count (optional)

- int page (optional)

- bool full_text (optional)

- bool include_entities (optional)

Parameters
parametersThe parameters.
Returns
The direct messages.

◆ Received() [2/4]

ListedResponse<DirectMessage> CoreTweet.Rest.DirectMessages.Received ( long?  since_id = null,
long?  max_id = null,
int?  count = null,
int?  page = null,
bool?  full_text = null,
bool?  include_entities = null 
)
inline

Returns the most recent direct messages sent to the authenticating user.

Parameters
since_idoptional.
max_idoptional.
countoptional.
pageoptional.
full_textoptional.
include_entitiesoptional.
Returns
The direct messages.

◆ Received() [3/4]

ListedResponse<DirectMessage> CoreTweet.Rest.DirectMessages.Received ( object  parameters)
inline

Returns the most recent direct messages sent to the authenticating user.

Available parameters:

- long since_id (optional)

- long max_id (optional)

- int count (optional)

- int page (optional)

- bool full_text (optional)

- bool include_entities (optional)

Parameters
parametersThe parameters.
Returns
The direct messages.

◆ Received() [4/4]

ListedResponse<DirectMessage> CoreTweet.Rest.DirectMessages.Received ( params Expression< Func< string, object >>[]  parameters)
inline

Returns the most recent direct messages sent to the authenticating user.

Available parameters:

- long since_id (optional)

- long max_id (optional)

- int count (optional)

- int page (optional)

- bool full_text (optional)

- bool include_entities (optional)

Parameters
parametersThe parameters.
Returns
The direct messages.

◆ ReceivedAsync() [1/4]

Task<ListedResponse<DirectMessage> > CoreTweet.Rest.DirectMessages.ReceivedAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns the most recent direct messages sent to the authenticating user.

Available parameters:

- long since_id (optional)

- long max_id (optional)

- int count (optional)

- int page (optional)

- bool full_text (optional)

- bool include_entities (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The direct messages.

◆ ReceivedAsync() [2/4]

Task<ListedResponse<DirectMessage> > CoreTweet.Rest.DirectMessages.ReceivedAsync ( long?  since_id = null,
long?  max_id = null,
int?  count = null,
int?  page = null,
bool?  full_text = null,
bool?  include_entities = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns the most recent direct messages sent to the authenticating user.

Parameters
since_idoptional.
max_idoptional.
countoptional.
pageoptional.
full_textoptional.
include_entitiesoptional.
cancellationTokenThe cancellation token.
Returns
The direct messages.

◆ ReceivedAsync() [3/4]

Task<ListedResponse<DirectMessage> > CoreTweet.Rest.DirectMessages.ReceivedAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns the most recent direct messages sent to the authenticating user.

Available parameters:

- long since_id (optional)

- long max_id (optional)

- int count (optional)

- int page (optional)

- bool full_text (optional)

- bool include_entities (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The direct messages.

◆ ReceivedAsync() [4/4]

Task<ListedResponse<DirectMessage> > CoreTweet.Rest.DirectMessages.ReceivedAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Returns the most recent direct messages sent to the authenticating user.

Available parameters:

- long since_id (optional)

- long max_id (optional)

- int count (optional)

- int page (optional)

- bool full_text (optional)

- bool include_entities (optional)

Parameters
parametersThe parameters.
Returns
The direct messages.

◆ Sent() [1/4]

ListedResponse<DirectMessage> CoreTweet.Rest.DirectMessages.Sent ( IDictionary< string, object >  parameters)
inline

Returns the most recent direct messages sent by the authenticating user.

Available parameters:

- long since_id (optional)

- long max_id (optional)

- int count (optional)

- int page (optional)

- bool full_text (optional)

- bool include_entities (optional)

Parameters
parametersThe parameters.
Returns
The direct messages.

◆ Sent() [2/4]

ListedResponse<DirectMessage> CoreTweet.Rest.DirectMessages.Sent ( long?  since_id = null,
long?  max_id = null,
int?  count = null,
int?  page = null,
bool?  full_text = null,
bool?  include_entities = null 
)
inline

Returns the most recent direct messages sent by the authenticating user.

Parameters
since_idoptional.
max_idoptional.
countoptional.
pageoptional.
full_textoptional.
include_entitiesoptional.
Returns
The direct messages.

◆ Sent() [3/4]

ListedResponse<DirectMessage> CoreTweet.Rest.DirectMessages.Sent ( object  parameters)
inline

Returns the most recent direct messages sent by the authenticating user.

Available parameters:

- long since_id (optional)

- long max_id (optional)

- int count (optional)

- int page (optional)

- bool full_text (optional)

- bool include_entities (optional)

Parameters
parametersThe parameters.
Returns
The direct messages.

◆ Sent() [4/4]

ListedResponse<DirectMessage> CoreTweet.Rest.DirectMessages.Sent ( params Expression< Func< string, object >>[]  parameters)
inline

Returns the most recent direct messages sent by the authenticating user.

Available parameters:

- long since_id (optional)

- long max_id (optional)

- int count (optional)

- int page (optional)

- bool full_text (optional)

- bool include_entities (optional)

Parameters
parametersThe parameters.
Returns
The direct messages.

◆ SentAsync() [1/4]

Task<ListedResponse<DirectMessage> > CoreTweet.Rest.DirectMessages.SentAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns the most recent direct messages sent by the authenticating user.

Available parameters:

- long since_id (optional)

- long max_id (optional)

- int count (optional)

- int page (optional)

- bool full_text (optional)

- bool include_entities (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The direct messages.

◆ SentAsync() [2/4]

Task<ListedResponse<DirectMessage> > CoreTweet.Rest.DirectMessages.SentAsync ( long?  since_id = null,
long?  max_id = null,
int?  count = null,
int?  page = null,
bool?  full_text = null,
bool?  include_entities = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns the most recent direct messages sent by the authenticating user.

Parameters
since_idoptional.
max_idoptional.
countoptional.
pageoptional.
full_textoptional.
include_entitiesoptional.
cancellationTokenThe cancellation token.
Returns
The direct messages.

◆ SentAsync() [3/4]

Task<ListedResponse<DirectMessage> > CoreTweet.Rest.DirectMessages.SentAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns the most recent direct messages sent by the authenticating user.

Available parameters:

- long since_id (optional)

- long max_id (optional)

- int count (optional)

- int page (optional)

- bool full_text (optional)

- bool include_entities (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The direct messages.

◆ SentAsync() [4/4]

Task<ListedResponse<DirectMessage> > CoreTweet.Rest.DirectMessages.SentAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Returns the most recent direct messages sent by the authenticating user.

Available parameters:

- long since_id (optional)

- long max_id (optional)

- int count (optional)

- int page (optional)

- bool full_text (optional)

- bool include_entities (optional)

Parameters
parametersThe parameters.
Returns
The direct messages.

◆ Show() [1/4]

DirectMessageResponse CoreTweet.Rest.DirectMessages.Show ( IDictionary< string, object >  parameters)
inline

Returns a single direct message, specified by an id parameter.

Available parameters:

- long id (required)

- bool full_text (optional)

Parameters
parametersThe parameters.
Returns
The direct message.

◆ Show() [2/4]

DirectMessageResponse CoreTweet.Rest.DirectMessages.Show ( long  id,
bool?  full_text = null 
)
inline

Returns a single direct message, specified by an id parameter.

Parameters
id required.
full_textoptional.
Returns
The direct message.

◆ Show() [3/4]

DirectMessageResponse CoreTweet.Rest.DirectMessages.Show ( object  parameters)
inline

Returns a single direct message, specified by an id parameter.

Available parameters:

- long id (required)

- bool full_text (optional)

Parameters
parametersThe parameters.
Returns
The direct message.

◆ Show() [4/4]

DirectMessageResponse CoreTweet.Rest.DirectMessages.Show ( params Expression< Func< string, object >>[]  parameters)
inline

Returns a single direct message, specified by an id parameter.

Available parameters:

- long id (required)

- bool full_text (optional)

Parameters
parametersThe parameters.
Returns
The direct message.

◆ ShowAsync() [1/4]

Task<DirectMessageResponse> CoreTweet.Rest.DirectMessages.ShowAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a single direct message, specified by an id parameter.

Available parameters:

- long id (required)

- bool full_text (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The direct message.

◆ ShowAsync() [2/4]

Task<DirectMessageResponse> CoreTweet.Rest.DirectMessages.ShowAsync ( long  id,
bool?  full_text = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a single direct message, specified by an id parameter.

Parameters
id required.
full_textoptional.
cancellationTokenThe cancellation token.
Returns
The direct message.

◆ ShowAsync() [3/4]

Task<DirectMessageResponse> CoreTweet.Rest.DirectMessages.ShowAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a single direct message, specified by an id parameter.

Available parameters:

- long id (required)

- bool full_text (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The direct message.

◆ ShowAsync() [4/4]

Task<DirectMessageResponse> CoreTweet.Rest.DirectMessages.ShowAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Returns a single direct message, specified by an id parameter.

Available parameters:

- long id (required)

- bool full_text (optional)

Parameters
parametersThe parameters.
Returns
The direct message.

Member Data Documentation

◆ Events

DirectMessagesEvents CoreTweet.Rest.DirectMessages.Events => new DirectMessagesEvents(this.Tokens)

Gets the wrapper of direct_messages/events.

◆ WelcomeMessages

WelcomeMessages CoreTweet.Rest.DirectMessages.WelcomeMessages => new WelcomeMessages(this.Tokens)

Gets the wrapper of direct_messages/welcome_messages.


The documentation for this class was generated from the following files: