AmityChannelRepository class

Channel Repository

Constructors

AmityChannelRepository()

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

addMembers(String channelId, List<String> userIds) Future
Add Member to channel
createChannel() ChannelCreatorTypeSelection
Create the AmityChannel
getChannel(String channelId) Future<AmityChannel>
Get the AmityChannel by channel Id
getChannels() GetChannelQueryBuilder
Get the AmityChannel by channel Id
joinChannel(String channeld) Future
Join the channel
leaveChannel(String channelId) Future
Leave the channel
membership(String channelId) AmityChannelParticipation
Membership Repo
moderation(String channelId) ChannelModerationRepository
Channel Moderation Repo
muteChannel(String channelId, {int millis = 600000}) Future
Mute channel
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeMembers(String channelId, List<String> userIds) Future
Remove member to channel
toString() String
A string representation of this object.
inherited
unMuteChannel(String channelId) Future
Unmute channel
updateChannel(String channelId) ChannelUpdateBuilder
Update the AmityChannel

Operators

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