InputMessagePhoto constructor
const
InputMessagePhoto({
- required InputPhoto photo,
- FormattedText? caption,
- required bool showCaptionAboveMedia,
- MessageSelfDestructType? selfDestructType,
- required bool hasSpoiler,
Implementation
const InputMessagePhoto({
required this.photo,
this.caption,
required this.showCaptionAboveMedia,
this.selfDestructType,
required this.hasSpoiler,
});