TwilioChatConversationPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- TwilioChatConversationPlatform
- Implementers
Constructors
- TwilioChatConversationPlatform()
- 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}) → Future< String?> -
getConversations(
) → Future< List?> -
getMessages(
{required String conversationId}) → Future< List?> -
getParticipants(
{required String conversationId}) → Future< List?> -
getPlatformVersion(
) → Future< String?> -
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?> -
sendMessage(
{required String conversationId, required String message}) → Future< String?> -
subscribeToMessageUpdate(
{required String conversationId}) → Future< String?> -
toString(
) → String -
A string representation of this object.
inherited
-
unSubscribeToMessageUpdate(
{required String conversationId}) → Future< String?> -
updateAccessToken(
{required String accessToken}) → Future< Map?>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ TwilioChatConversationPlatform
-
The default instance of TwilioChatConversationPlatform to use.
getter/setter pair