UserMessageCreateParams class
Represents a user message params.
- Inheritance
- 
    - Object
- BaseMessageCreateParams
- UserMessageCreateParams
 
Constructors
- 
          UserMessageCreateParams({required String message, List<String> ? translationTargetLanguages, int? pollId, Map<String, dynamic> ? extendedMessage, String? data, String? customType, MentionType? mentionType, List<String> ? mentionedUserIds, List<MessageMetaArray> ? metaArrays, int? parentMessageId, bool? replyToChannel, PushNotificationDeliveryOption pushNotificationDeliveryOption = PushNotificationDeliveryOption.normal, bool isPinnedMessage = false})
- UserMessageCreateParams.withMessage(UserMessage userMessage, {bool? deepCopy})
- withMessage
Properties
- customType ↔ String?
- 
  The custom type of the message. Defaults to null.
  read / writeinherited
- data ↔ String?
- 
  The data of the message. Defaults to null.
  read / writeinherited
- 
  extendedMessage
  ↔ Map<String, dynamic> ?
- 
  extendedMessage is used for Sendbird UiKit.
Only featured in GroupChannel
  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 / writeinherited
- 
  mentionedUserIds
  ↔ List<String> ?
- 
  The mentioned user ids of the message. If it hasn't set before, it returns null.
  read / writeinherited
- mentionType ↔ MentionType
- 
  The mention type of the message. Defaults to MentionType.users.
  read / writeinherited
- message ↔ String
- 
  The message text of the message. Defaults to an empty string.
  read / write
- 
  metaArrays
  ↔ List<MessageMetaArray> ?
- 
  The meta arrays of the message. Defaults to null.
  read / writeinherited
- parentMessageId ↔ int?
- 
  The parent message id of the message. Defaults to 0.
  read / writeinherited
- pollId ↔ int?
- 
  Unique ID for a poll
  read / write
- pushNotificationDeliveryOption ↔ PushNotificationDeliveryOption
- 
  The push notification delivery option user of the message.
  read / writeinherited
- replyToChannel ↔ bool
- 
  Whether the message should also be sent to the channel. Defaults to false.
Only works when the parentMessageId is set.
  read / writeinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  read-onlyinherited
- 
  translationTargetLanguages
  ↔ List<String> 
- 
  The translation target languages.
  read / write
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toJson() → Map< String, dynamic> 
- 
  
  override
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited