struct

Telegram::MaskPosition

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: MaskPosition This object describes the position on faces where a mask should be placed by default.

Constructors

new(point : String, x_shift : Float64, y_shift : Float64, scale : Float64)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(point _point = @point, x_shift _x_shift = @x_shift, y_shift _y_shift = @y_shift, scale _scale = @scale)
Source
point
scale
x_shift
y_shift