Sends a new direct message to the specified user from the authenticating user.
| C# | Visual Basic |
public static TwitterResponse<TwitterDirectMessage> Send( OAuthTokens tokens, decimal userId, string text )
Public Shared Function Send ( _ tokens As OAuthTokens, _ userId As Decimal, _ text As String _ ) As TwitterResponse(Of TwitterDirectMessage)
- tokens (OAuthTokens)
- The OAuth tokens.
- userId (Decimal)
- The user id.
- text (String)
- The text of your direct message.
A TwitterDirectMessage instance.