MessagesSendMedia class

Messages Send Media.

Return Type: UpdatesBase. ID: 0330e77f.

Inheritance

Constructors

MessagesSendMedia({required bool silent, required bool background, required bool clearDraft, required bool noforwards, required bool updateStickersetsOrder, required bool invertMedia, required bool allowPaidFloodskip, required InputPeerBase peer, InputReplyToBase? replyTo, required InputMediaBase media, required String message, required int randomId, ReplyMarkupBase? replyMarkup, List<MessageEntityBase>? entities, DateTime? scheduleDate, int? scheduleRepeatPeriod, InputPeerBase? sendAs, InputQuickReplyShortcutBase? quickReplyShortcut, int? effect, int? allowPaidStars, SuggestedPostBase? suggestedPost})
Messages Send Media constructor.
const
MessagesSendMedia.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

allowPaidFloodskip bool
allow_paid_floodskip: bit 19 of flags.19?true
final
allowPaidStars int?
Allow Paid Stars.
final
background bool
background: bit 6 of flags.6?true
final
clearDraft bool
clear_draft: bit 7 of flags.7?true
final
effect int?
Effect.
final
entities List<MessageEntityBase>?
Entities.
final
flags int
Flags.
no setter
hashCode int
The hash code for this object.
no setterinherited
invertMedia bool
invert_media: bit 16 of flags.16?true
final
media InputMediaBase
Media.
final
message String
Message.
final
noforwards bool
noforwards: bit 14 of flags.14?true
final
peer InputPeerBase
Peer.
final
quickReplyShortcut InputQuickReplyShortcutBase?
Quick Reply Shortcut.
final
randomId int
Random Id.
final
replyMarkup ReplyMarkupBase?
Reply Markup.
final
replyTo InputReplyToBase?
Reply To.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheduleDate DateTime?
Schedule Date.
final
scheduleRepeatPeriod int?
Schedule Repeat Period.
final
sendAs InputPeerBase?
Send As.
final
silent bool
silent: bit 5 of flags.5?true
final
suggestedPost SuggestedPostBase?
Suggested Post.
final
updateStickersetsOrder bool
update_stickersets_order: bit 15 of flags.15?true
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(List<int> buffer) → void
Serialize.
override
toJson() Map<String, dynamic>
Converts an object to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

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