AmityTextMessageCreator class

Implementation Layer for Amity Mesage Text Creator

Inheritance

Constructors

AmityTextMessageCreator({required MessageCreateUsecase useCase, required String channelId, String? parentId, required String text})
Init AmityTextMesageCreator

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
Text
getter/setter pair

Methods

getData() → CreateMessageData
Get Data
override
getDataType() AmityMessageDataType
Get Data Type
override
getUri() Uri?
Get File Uri
inherited
mentionChannel() AmityMessageCreator
Metion Channel
inherited
mentionUsers(List<String> userIds) AmityMessageCreator
Metion Users
inherited
metadata(Map<String, dynamic> metadata) AmityMessageCreator
Add metadata to Amity Mesage
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parentId(String? parentId) AmityMessageCreator
Add metadata to Amity Mesage
inherited
send() Future<AmityMessage>
Create Amity Mesage
inherited
tags(List<String> tags) AmityMessageCreator
inherited
toString() String
A string representation of this object.
inherited

Operators

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