toJson method
Converts a InputPaidMediaPhoto object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
return {
'type': type.value,
'media': media.getValue('media'),
};
}
Converts a InputPaidMediaPhoto object to JSON.
@override
Map<String, dynamic> toJson() {
return {
'type': type.value,
'media': media.getValue('media'),
};
}