FeedChannel class

Represents a feed channel. @since 4.0.1

Inheritance
Available Extensions

Constructors

FeedChannel({required GroupChannel groupChannel})

Properties

channelType ChannelType
ChannelType
read-onlyinherited
channelUrl String
The unique channel URL. @since 4.0.1
read / writeoverride
chat ↔ Chat
read / writeinherited
coverUrl String
The cover image URL.
read / writeinherited
createdAt int?
The creation time of the channel. @since 4.0.1
read / writeoverride
customType String
The custom type of the channel.
read / writeinherited
data String
The channel data.
read-onlyinherited
dirty bool
read / writeinherited
fromCache bool
read / writeinherited
groupChannel GroupChannel
read / write
hashCode int
The hash code for this object.
read-onlyoverride
isEphemeral bool
Whether the channel is ephemeral.
read-onlyinherited
isFrozen bool
Whether the channel is frozen.
read / writeinherited
key String
read-onlyinherited
lastMessage BaseMessage?
The last message of the channel. @since 4.0.1
read-only
memberCount int
The total member count for this channel. @since 4.0.1
read-only
members List<Member>
Member list for this channel. @since 4.0.1
read-only
myLastRead int
Current user's last read receipt timestamp in channel. @since 4.0.1
read-only
myMemberState MemberState
My member state. @since 4.0.1
read-only
name String
The topic or name of the channel. @since 4.0.1
read / writeoverride
primaryKey String
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
unreadMessageCount int
The unread message count for this channel for the current User. @since 4.0.1
read-only

Methods

checkUnsupportedAction() → void
inherited
copyWith(dynamic other) → void
override
markAsRead() Future<void>
Sends mark as read to this channel. @since 4.0.1
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(Chat chat) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getChannel(String channelUrl, {Chat? chat}) Future<FeedChannel>
refresh(String channelUrl, {Chat? chat}) Future<FeedChannel>
Refreshes all the data of this channel. @since 4.0.1