ExternalReplyInfo class
Contains information about a message that is being replied to, which may come from another chat or forum topic.
Constructors
-
ExternalReplyInfo({required MessageOrigin origin, Chat? chat, int? messageId, LinkPreviewOptions? linkPreviewOptions, Animation? animation, Audio? audio, Document? document, List<
PhotoSize> ? photo, Sticker? sticker, Story? story, Video? video, VideoNote? videoNote, Voice? voice, bool? hasMediaSpoiler, Contact? contact, Dice? dice, Game? game, Giveaway? giveaway, GiveawayWinners? giveawayWinners, Invoice? invoice, Location? location, Poll? poll, Venue? venue, PaidMediaInfo? paidMedia}) -
Constructs the ExternalReplyInfo
const
-
ExternalReplyInfo.fromJson(Map<
String, dynamic> json) -
Creates instance of ExternalReplyInfo from JSON data.
factory
Properties
- animation → Animation?
-
Optional. Message is an animation, information about the animation
final
- audio → Audio?
-
Optional. Message is an audio file, information about the file
final
- chat → Chat?
-
Optional. Chat the original message belongs to. Available only if the chat is a supergroup or a channel.
final
- contact → Contact?
-
Optional. Message is a shared contact, information about the contact
final
- dice → Dice?
-
Optional. Message is a dice with random value
final
- document → Document?
-
Optional. Message is a general file, information about the file
final
- game → Game?
-
Optional. Message is a game, information about the game. More about games »
final
- giveaway → Giveaway?
-
Optional. Message is a scheduled giveaway, information about the giveaway
final
- giveawayWinners → GiveawayWinners?
-
Optional. A giveaway with public winners was completed
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasMediaSpoiler → bool?
-
Optional. True, if the message media is covered by a spoiler animation
final
- invoice → Invoice?
-
Optional. Message is an invoice for a payment, information about the invoice. More about payments »
final
- linkPreviewOptions → LinkPreviewOptions?
-
Optional. Options used for link preview generation for the original message, if it is a text message
final
- location → Location?
-
Optional. Message is a shared location, information about the location
final
- messageId → int?
-
Optional. Unique message identifier inside the original chat. Available only if the original chat is a supergroup or a channel.
final
- origin → MessageOrigin
-
Origin of the message replied to by the given message
final
- paidMedia → PaidMediaInfo?
-
Optional. Message contains paid media; information about the paid media
final
-
photo
→ List<
PhotoSize> ? -
Optional. Message is a photo, available sizes of the photo
final
- poll → Poll?
-
Optional. Message is a native poll, information about the poll
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sticker → Sticker?
-
Optional. Message is a sticker, information about the sticker
final
- story → Story?
-
Optional. Message is a forwarded story
final
- venue → Venue?
-
Optional. Message is a venue, information about the venue
final
- video → Video?
-
Optional. Message is a video, information about the video
final
- videoNote → VideoNote?
-
Optional. Message is a video note, information about the video message
final
- voice → Voice?
-
Optional. Message is a voice message, information about the file
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts instance of ExternalReplyInfo into JSON encodable Map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited