Sends a new direct message to the specified user from the authenticating user.
| C# | Visual Basic |
public static TwitterResponse<TwitterDirectMessage> Send( OAuthTokens tokens, string screenName, string text, OptionalProperties options )
Public Shared Function Send ( _ tokens As OAuthTokens, _ screenName As String, _ text As String, _ options As OptionalProperties _ ) As TwitterResponse(Of TwitterDirectMessage)
- tokens (OAuthTokens)
- The OAuth tokens.
- screenName (String)
- The user's screen name.
- text (String)
- The message text.
- options (OptionalProperties)
- The options.
A TwitterDirectMessage object of the created direct message.