TwilioConversationSdkPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • TwilioConversationSdkPlatform
Implementers

Constructors

TwilioConversationSdkPlatform()
Constructs a TwilioChatConversationPlatform.

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

addParticipant({required String conversationId, required String participantName}) Future<String?>
createConversation({required String conversationName, required String identity}) Future<String?>
generateToken({required String accountSid, required String apiKey, required String apiSecret, required String identity, required String serviceSid, required String pushSid}) Future<String?>
getConversations() Future<List?>
getLastMessages({required String conversationId}) Future<List?>
getMessages({required String conversationId, int? messageCount}) Future<List?>
getParticipants({required String conversationId}) Future<List?>
getPlatformVersion() Future<String?>
getUnReadMsgCount({required String conversationId}) Future<List?>
initializeConversationClient({required String accessToken}) Future<String?>
joinConversation({required String conversationId}) Future<String?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
receiveMessages({required String conversationId}) Future<String?>
registerFCMToken({required String fcmToken}) Future<String?>
removeParticipant({required dynamic conversationId, required dynamic participantName}) Future<String?>
sendMessage({required String conversationId, required String message, required dynamic attribute}) Future<String?>
sendMessageWithMedia({required String message, required String conversationId, required dynamic attribute, required String mediaFilePath, required String mimeType, required String fileName}) Future<String?>
subscribeToMessageUpdate({required String conversationId}) Future<String?>
toString() String
A string representation of this object.
inherited
unregisterFCMToken({required String fcmToken}) Future<String?>
unSubscribeToMessageUpdate({required String conversationId}) Future<String?>
updateAccessToken({required String accessToken}) Future<Map?>

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance TwilioConversationSdkPlatform
The default instance of TwilioChatConversationPlatform to use.
getter/setter pair