ConversationApi class
Constructors
ConversationApi.new ({BinaryMessenger ? binaryMessenger })
Constructor for ConversationApi . The binaryMessenger
named argument is
available for dependency injection. If it is left null, the default
BinaryMessenger will be used which routes to the host platform.
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
addParticipantByIdentity (String arg_conversationSid , String arg_identity )
→ Future <bool >
advanceLastReadMessageIndex (String arg_conversationSid , int arg_lastReadMessageIndex )
→ Future <MessageCount >
destroy (String arg_conversationSid )
→ Future <void >
getLastMessages (String arg_conversationSid , int arg_count )
→ Future <List <MessageData ? > >
getMessageByIndex (String arg_conversationSid , int arg_messageIndex )
→ Future <MessageData >
getMessagesAfter (String arg_conversationSid , int arg_index , int arg_count )
→ Future <List <MessageData ? > >
getMessagesBefore (String arg_conversationSid , int arg_index , int arg_count )
→ Future <List <MessageData ? > >
getMessagesCount (String arg_conversationSid )
→ Future <MessageCount >
getParticipantByIdentity (String arg_conversationSid , String arg_identity )
→ Future <ParticipantData >
getParticipantBySid (String arg_conversationSid , String arg_participantSid )
→ Future <ParticipantData >
getParticipantsCount (String arg_conversationSid )
→ Future <int >
getParticipantsList (String arg_conversationSid )
→ Future <List <ParticipantData ? > >
getUnreadMessagesCount (String arg_conversationSid )
→ Future <int >
join (String arg_conversationSid )
→ Future <void >
leave (String arg_conversationSid )
→ Future <void >
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeMessage (String arg_conversationSid , int arg_messageIndex )
→ Future <bool >
removeParticipant (String arg_conversationSid , String arg_participantSid )
→ Future <bool >
removeParticipantByIdentity (String arg_conversationSid , String arg_identity )
→ Future <bool >
sendMessage (String arg_conversationSid , MessageOptionsData arg_options )
→ Future <MessageData >
setAllMessagesRead (String arg_conversationSid )
→ Future <MessageCount >
setAllMessagesUnread (String arg_conversationSid )
→ Future <MessageCount >
setAttributes (String arg_conversationSid , AttributesData arg_attributes )
→ Future <void >
setFriendlyName (String arg_conversationSid , String arg_friendlyName )
→ Future <void >
setLastReadMessageIndex (String arg_conversationSid , int arg_lastReadMessageIndex )
→ Future <MessageCount >
setNotificationLevel (String arg_conversationSid , String arg_notificationLevel )
→ Future <void >
setUniqueName (String arg_conversationSid , String arg_uniqueName )
→ Future <void >
toString ()
→ String
A string representation of this object.
inherited
typing (String arg_conversationSid )
→ Future <void >