Telegram::StoryAreaPosition
Inherits JSON::Serializable < Struct < Value < Object
Telegram API type: StoryAreaPosition Describes the position of a clickable area within a story.
Constructors
new(x_percentage : Float64, y_percentage : Float64, width_percentage : Float64, height_percentage : Float64, rotation_angle : Float64, corner_radius_percentage : Float64)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
clone
Sourcecopy_with(x_percentage _x_percentage = @x_percentage, y_percentage _y_percentage = @y_percentage, width_percentage _width_percentage = @width_percentage, height_percentage _height_percentage = @height_percentage, rotation_angle _rotation_angle = @rotation_angle, corner_radius_percentage _corner_radius_percentage = @corner_radius_percentage)
Sourcecorner_radius_percentage
height_percentage
rotation_angle
width_percentage
x_percentage
y_percentage