Direct Message
When Direct Message is selected as the publish type in the General tab, the input for the activity is as follows.
Note: When the specified user ID and the screen name do not match, the user ID is used. That is, when the screen name conflicts with the user ID, the plug-in publishes a direct message to the user that the user ID points to.
Input Item | Data Type | Description |
---|---|---|
screenName | string | The screen name, handle, or alias that users identify themselves with. Screen names are unique but subject to change. Use id_str as a user identifier whenever possible. Typically a maximum of 15 characters long, but some historical accounts may exist with longer names. |
text | string | The text of your direct message. Ensure that URL is encoded as necessary, and keep the message under 140 characters.
For example: Meet me at the cafe at noon. |
userId | long | The ID of the user who receives a direct message. Helpful for disambiguating when a valid user ID is also a valid screen name. |
Copyright © Cloud Software Group, Inc. All rights reserved.