Fetches Direct Message (DM) events for a one-on-one conversation with a specified participant ID, ordered chronologically newest to oldest; does not support group DMs.
expansionsarrayObjects to expand and include. E.g., `sender_id` includes the full User object for each DM sender.
event_typesarrayDM event types to include. If unspecified, all types are returned.
max_resultsintegerMaximum DM events per page (1-100).
user_fieldsarrayFields for User objects if `expansions` includes `sender_id` or `participant_ids`. Default: basic user fields.
media_fieldsarrayFields for Media objects if `expansions` includes `attachments.media_keys`. Default: basic media fields.
tweet_fieldsarrayFields for Tweet objects if `expansions` includes `referenced_tweets.id`. Default: basic tweet fields.
participant_idRequiredstringUser ID of the other participant in the one-to-one DM conversation.
dm_event_fieldsarrayFields for each DM event object. Default: 'id', 'event_type'.
pagination_tokenstringToken from `meta.next_token` or `meta.previous_token` of a prior response to fetch a specific results page.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.