toJson method
Converts this request to TDLib JSON, tagged with extra if given.
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) => {
'@type': CONSTRUCTOR,
'title': title,
'is_forum': isForum,
'is_channel': isChannel,
'description': description,
'location': location?.toJson(),
'message_auto_delete_time': messageAutoDeleteTime,
'for_import': forImport,
if (extra != null) '@extra': extra,
};