struct

Telegram::BackgroundFillGradient

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: BackgroundFillGradient The background is a gradient fill.

Constructors

new(type : String, top_color : Int64, bottom_color : Int64, rotation_angle : Int64)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

bottom_color
clone
Source
copy_with(type _type = @type, top_color _top_color = @top_color, bottom_color _bottom_color = @bottom_color, rotation_angle _rotation_angle = @rotation_angle)
Source
rotation_angle
top_color
type