ChannelMessageAck class

Annotations
  • @freezed

Constructors

ChannelMessageAck({required String channelId, required String messageId, required int code, required String username, required DateTime created, required DateTime updated, required bool persistent, required String roomName, required String groupId, required String userIdOne, required String userIdTwo})
A receipt reply from a channel message send operation.
const
factory
ChannelMessageAck.fromDto(ChannelMessageAck dto)
factory

Properties

channelId String
The channel the message was sent to.
no setterinherited
code int
The code representing a message type or category.
no setterinherited
copyWith → $ChannelMessageAckCopyWith<ChannelMessageAck>
no setterinherited
created DateTime
The UNIX time when the message was created.
no setterinherited
groupId String
The ID of the group, or an empty string if this message was not sent through a group channel.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
messageId String
The unique ID assigned to the message.
no setterinherited
persistent bool
True if the message was persisted to the channel's history, false otherwise.
no setterinherited
roomName String
The name of the chat room, or an empty string if this message was not sent through a chat room.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updated DateTime
The UNIX time when the message was last updated.
no setterinherited
userIdOne String
The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
no setterinherited
userIdTwo String
The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
no setterinherited
username String
Username of the message sender.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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