BaseMessageCreateParams class

Represents a base message params.

Implementers

Constructors

BaseMessageCreateParams({String? data, String? customType, MentionType mentionType = MentionType.users, List<String>? mentionedUserIds, List<MessageMetaArray>? metaArrays, int? parentMessageId, bool replyToChannel = false, PushNotificationDeliveryOption pushNotificationDeliveryOption = PushNotificationDeliveryOption.normal, bool isPinnedMessage = false})
BaseMessageCreateParams.withMessage(BaseMessage message, {bool? deepCopy})
withMessage

Properties

customType String?
The custom type of the message. Defaults to null.
read / write
data String?
The data of the message. Defaults to null.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
isPinnedMessage bool
Whether the message should be pinned to the channel. Defaults to false.
read / write
mentionedUserIds List<String>?
The mentioned user ids of the message. If it hasn't set before, it returns null.
read / write
mentionType MentionType
The mention type of the message. Defaults to MentionType.users.
read / write
metaArrays List<MessageMetaArray>?
The meta arrays of the message. Defaults to null.
read / write
parentMessageId int?
The parent message id of the message. Defaults to 0.
read / write
pushNotificationDeliveryOption PushNotificationDeliveryOption
The push notification delivery option user of the message.
read / write
replyToChannel bool
Whether the message should also be sent to the channel. Defaults to false. Only works when the parentMessageId is set.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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

Operators

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