X (Twitter) · Schema

DmEvent

DmEvent schema from X API v2

Social MediaMicrobloggingReal-Time DataStreamingAdvertisingContent

Properties

Name Type Description
attachments object Specifies the type of attachments (if any) present in this DM.
cashtags array
created_at string
dm_conversation_id string Unique identifier of a DM conversation. This can either be a numeric string, or a pair of numeric strings separated by a '-' character in the case of one-on-one DM Conversations.
event_type string
hashtags array
id string Unique identifier of a DM Event.
mentions array
participant_ids array A list of participants for a ParticipantsJoin or ParticipantsLeave event_type.
referenced_tweets array A list of Posts this DM refers to.
sender_id string Unique identifier of this User. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
text string
urls array
View JSON Schema on GitHub