Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createConversation({required String participantId, required MessageParam message})
→ Future<TwitterResponse<MessageData, void>>
-
Creates a one-to-one Direct Message and adds it to the one-to-one
conversation.
-
createGroupConversation({required List<String> participantIds, required MessageParam message})
→ Future<TwitterResponse<MessageData, void>>
-
Creates a new group conversation and adds a Direct Message to it on
behalf of an authenticated user.
-
createMessage({required String conversationId, required MessageParam message})
→ Future<TwitterResponse<MessageData, void>>
-
Creates a Direct Message on behalf of an authenticated user, and
adds it to the specified conversation.
-
lookupEvents({List<DMEventType>? eventTypes, int? maxResults, List<DMEventExpansion>? expansions, List<UserField>? userFields, List<MediaField>? mediaFields, List<DMEventField>? dmEventFields, Paging<List<DMEventData>, DMEventMeta>? paging})
→ Future<TwitterResponse<List<DMEventData>, DMEventMeta>>
-
Returns a list of Direct Messages for the authenticated user,
both sent and received.
-
lookupEventsIn({required String conversationId, List<DMEventType>? eventTypes, int? maxResults, List<DMEventExpansion>? expansions, List<UserField>? userFields, List<MediaField>? mediaFields, List<DMEventField>? dmEventFields, Paging<List<DMEventData>, DMEventMeta>? paging})
→ Future<TwitterResponse<List<DMEventData>, DMEventMeta>>
-
Returns a list of Direct Messages within a conversation specified in the
conversationId
path parameter.
-
lookupEventsWith({required String participantId, List<DMEventType>? eventTypes, int? maxResults, List<DMEventExpansion>? expansions, List<UserField>? userFields, List<MediaField>? mediaFields, List<DMEventField>? dmEventFields, Paging<List<DMEventData>, DMEventMeta>? paging})
→ Future<TwitterResponse<List<DMEventData>, DMEventMeta>>
-
Returns a list of Direct Messages (DM) events within a 1-1 conversation
with the user specified in the
participantId
path parameter.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited