toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    "@type": CONSTRUCTOR,
    "voice_note": this.voiceNote == null ? null : this.voiceNote.toJson(),
    "caption": this.caption == null ? null : this.caption.toJson(),
    "is_listened": this.isListened,
  };
}