toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'chat_id': chatId,
'topic_id': topicId?.toJson(),
'sender_id': senderId.toJson(),
'action': action.toJson(),
'@type': constructor,
};