toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'voice_note': voiceNote.toJson(),
'caption': caption?.toJson(),
'self_destruct_type': selfDestructType?.toJson(),
'@type': constructor,
};