MessageInput class

Available extensions
Annotations
  • @freezed

Constructors

MessageInput.new({@Default(chatBskyConvoDefsMessageInput) @JsonKey(name: r'$type') String $type, required String text, @FacetConverter() List<Facet>? facets, @UMessageInputEmbedConverter() UMessageInputEmbed? embed, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
MessageInput.fromJson(Map<String, dynamic> json)
factory

Properties

$type String
The unique namespace for this lex object.
no setterinherited
$unknown Map<String, dynamic>?
Contains unknown objects not defined in Lexicon.
no setterinherited
copyWith → $MessageInputCopyWith<MessageInput>
no setterinherited
embed UMessageInputEmbed?
no setterinherited
facets List<Facet>?
Annotations of text (mentions, URLs, hashtags, etc)
no setterinherited
hasEmbed bool

Available on MessageInput, provided by the $MessageInputExtension extension

Returns true if embed is not null, otherwise false.
no setter
hasFacets bool

Available on MessageInput, provided by the $MessageInputExtension extension

Returns true if facets is not null, otherwise false.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasNotEmbed bool

Available on MessageInput, provided by the $MessageInputExtension extension

Returns true if embed is null, otherwise false.
no setter
hasNotFacets bool

Available on MessageInput, provided by the $MessageInputExtension extension

Returns true if facets is null, otherwise false.
no setter
hasNotUnknown bool

Available on MessageInput, provided by the $MessageInputExtension extension

Returns true if this object has not unknown objects, otherwise false.
no setter
hasUnknown bool

Available on MessageInput, provided by the $MessageInputExtension extension

Returns true if this object has unknown objects, otherwise false.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
no setterinherited

Methods

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

Operators

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