InputMediaPhoto class

Implemented types
Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

InputMediaPhoto({String type = InputMedia.typePhoto, required String media, String? caption, String? parseMode, List<MessageEntity>? captionEntities, bool? hasSpoiler})
InputMediaPhoto.fromFile({required File media, String? caption, String? parseMode, List<MessageEntity>? captionEntities, bool? hasSpoiler})
factory
InputMediaPhoto.fromJson(Map<String, dynamic> json)
factory

Properties

caption String?
getter/setter pairoverride
captionEntities List<MessageEntity>?
getter/setter pairoverride
hashCode int
The hash code for this object.
no setterinherited
hasSpoiler bool?
getter/setter pair
media String
getter/setter pairoverride
mediaFile ↔ MultipartFile?
getter/setter pairoverride
parseMode String?
getter/setter pairoverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
getter/setter pairoverride

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