AmityChatRepo class
- Implementers
Constructors
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
-
fetchChannelById(
{String? paginationToken, required String channelId, required dynamic callback(AmityMessage?, String?)}) → Future< void> -
initRepo(
String accessToken) → Future< void> -
listenToChannel(
dynamic callback(AmityMessage)) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reactMessage(
String messageId) → Future< void> -
sendImageMessage(
String channelId, String text, dynamic callback(AmityMessage?, String?)) → Future< void> -
sendTextMessage(
String channelId, String text, dynamic callback(AmityMessage?, String?)) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited