struct Telegram::Generator::Method
- Telegram::Generator::Method
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/generator/generator.crConstructors
- .new(name : String, href : String, returns : Array(String), description : Array(String), fields : Array(Field) = [] of Field)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #chunked_description(max_len = 90)
- #clone
- #copy_with(name _name = @name, href _href = @href, returns _returns = @returns, description _description = @description, fields _fields = @fields)
- #crystal_type
- #description : Array(String)
- #fields : Array(Field)
- #href : String
- #name : String
- #returns : Array(String)
- #sorted_fields
Constructor Detail
def self.new(name : String, href : String, returns : Array(String), description : Array(String), fields : Array(Field) = [] of Field)
#
Instance Method Detail
def copy_with(name _name = @name, href _href = @href, returns _returns = @returns, description _description = @description, fields _fields = @fields)
#