PostMetadata class abstract

Additional information used to display a post.

Properties:

  • embeds - Information about content embedded in the post including OpenGraph previews, image link previews, and message attachments. This field will be null if the post does not contain embedded content.
  • emojis - The custom emojis that appear in this point or have been used in reactions to this post. This field will be null if the post does not contain custom emojis.
  • files - The FileInfo objects for any files attached to the post. This field will be null if the post does not have any file attachments.
  • images - An object mapping the URL of an external image to an object containing the dimensions of that image. This field will be null if the post or its embedded content does not reference any external images.
  • reactions - Any reactions made to this point. This field will be null if no reactions have been made to this post.

Constructors

PostMetadata([void updates(PostMetadataBuilder b)])
factory

Properties

embeds → BuiltList<PostMetadataEmbeds>?
Information about content embedded in the post including OpenGraph previews, image link previews, and message attachments. This field will be null if the post does not contain embedded content.
no setter
emojis → BuiltList<Emoji>?
The custom emojis that appear in this point or have been used in reactions to this post. This field will be null if the post does not contain custom emojis.
no setter
files → BuiltList<FileInfo>?
The FileInfo objects for any files attached to the post. This field will be null if the post does not have any file attachments.
no setter
hashCode int
The hash code for this object.
no setterinherited
images → BuiltList<PostMetadataImages>?
An object mapping the URL of an external image to an object containing the dimensions of that image. This field will be null if the post or its embedded content does not reference any external images.
no setter
reactions → BuiltList<Reaction>?
Any reactions made to this point. This field will be null if no reactions have been made to this post.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(PostMetadataBuilder)) PostMetadata
Rebuilds the instance.
inherited
toBuilder() PostMetadataBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<PostMetadata>
no setter