Skip to content

Commit 508b152

Browse files
committed
add missing options from dm_event.fields enum
1 parent 7acc1d1 commit 508b152

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/types/v2/dm.v2.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { TTweetv2MediaField, TTweetv2TweetField, TTweetv2UserField } from './twe
33
import { ApiV2Includes, ReferencedTweetV2 } from './tweet.definition.v2';
44
import { DataMetaAndIncludeV2, PaginableCountMetaV2 } from './shared.v2.types';
55

6-
export type TDMEventV2Field = 'created_at' | 'dm_conversation_id' | 'sender_id' | 'participant_ids' | 'referenced_tweets' | 'attachments';
6+
export type TDMEventV2Field = 'id' | 'text' | 'event_type' | 'created_at' | 'dm_conversation_id' | 'sender_id' | 'participant_ids' | 'referenced_tweets' | 'attachments';
77
export type TDMEventV2Expansion = 'attachments.media_keys' | 'referenced_tweets.id' | 'sender_id' | 'participant_ids';
88
export type TDMEventV2EventType = 'MessageCreate' | 'ParticipantsJoin' | 'ParticipantsLeave';
99

0 commit comments

Comments
 (0)