Cablegram.Knowledge (Cablegram v0.2.0)

Provides knowledge to Cablegram.ResponseParser:

  • determines method result types
  • determines the concrete type of data which is of a polymorphic type.

The Telegram Bot API documentation does not talk about polymorphic types, neverless it uses this concept.

Link to this section Summary

Link to this section Functions

Link to this function

dynamic_api_type(type, data)

Link to this function

fallback_transform(data, api_type)

Link to this function

method_result_type(method_name)

Link to this function

model_for_api_type(arg1)