struct

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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_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)
Source
corner_radius_percentage
height_percentage
rotation_angle
width_percentage
x_percentage
y_percentage