MessageRepository class

Constructors

MessageRepository()

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

createMessage(String channelId) AmityMessageCreateDataTypeSelector
Create Message
deleteMessage(String messageId) Future
Delete message
flag(String messageId) Future<AmityMessage>
flag message
getMessage(String messageId) Future<AmityMessage>
Get Messages
getMessages(String channelId) MessageGetQueryBuilder
Get Messages
getReaction({required String messageId}) GetReactionQueryBuilder
Get AmityReaction for the message Id
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
unflag(String messageId) Future<AmityMessage>
unflag message
updateMessage(String channelId, String messageId) AmityMessageUpdateQueryBuilder
Create Message

Operators

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