class
TD::BackgroundFill::Gradient
- TD::BackgroundFill::Gradient
- TD::BackgroundFill
- TD::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/types/background_fill/gradient.crConstructors
- .new(top_color : Int32, bottom_color : Int32, rotation_angle : Int32)
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
Instance Method Summary
- #bottom_color : Int32
- #bottom_color=(bottom_color : Int32)
- #object_type : String
- #object_type=(object_type : String)
- #rotation_angle : Int32
- #rotation_angle=(rotation_angle : Int32)
- #top_color : Int32
- #top_color=(top_color : Int32)