class TelegramBot::StoryAreaPosition

Included Modules

Defined in:

telegram_bot/types/story.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x_percentage : Float64, y_percentage : Float64, width_percentage : Float64, height_percentage : Float64, rotation_angle : Float64, corner_radius_percentage : Float64) #

def self.new(pull : JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def corner_radius_percentage : Float64 #

def corner_radius_percentage=(corner_radius_percentage : Float64) #

def height_percentage : Float64 #

def height_percentage=(height_percentage : Float64) #

def rotation_angle : Float64 #

def rotation_angle=(rotation_angle : Float64) #

def width_percentage : Float64 #

def width_percentage=(width_percentage : Float64) #

def x_percentage : Float64 #

def x_percentage=(x_percentage : Float64) #

def y_percentage : Float64 #

def y_percentage=(y_percentage : Float64) #