ChannelMessageAck constructor
const
ChannelMessageAck({})
A receipt reply from a channel message send operation.
Implementation
const factory ChannelMessageAck({
/// The channel the message was sent to.
required String channelId,
/// The unique ID assigned to the message.
required String messageId,
/// The code representing a message type or category.
required int code,
/// Username of the message sender.
required String username,
/// The UNIX time when the message was created.
required DateTime created,
/// The UNIX time when the message was last updated.
required DateTime updated,
/// True if the message was persisted to the channel's history, false otherwise.
required bool persistent,
/// The name of the chat room, or an empty string if this message was not sent through a chat room.
required String roomName,
/// The ID of the group, or an empty string if this message was not sent through a group channel.
required String groupId,
/// The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
required String userIdOne,
/// The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
required String userIdTwo,
}) = _ChannelMessageAck;