Builds a TDLib object from its decoded JSON map.
typedef TdObjectFactory = TdObject Function(Map<String, dynamic> json);