Skip to content

GramIO API Reference / gramio/dist / TelegramStoryAreaPosition

Interface: TelegramStoryAreaPosition

Defined in: @gramio/types/out/objects.d.ts:4103

Describes the position of a clickable area within a story.

Documentation

Properties

PropertyTypeDescriptionDefined in
corner_radius_percentagenumberThe radius of the rectangle corner rounding, as a percentage of the media width@gramio/types/out/objects.d.ts:4127
height_percentagenumberThe height of the area's rectangle, as a percentage of the media height@gramio/types/out/objects.d.ts:4119
rotation_anglenumberThe clockwise rotation angle of the rectangle, in degrees; 0-360@gramio/types/out/objects.d.ts:4123
width_percentagenumberThe width of the area's rectangle, as a percentage of the media width@gramio/types/out/objects.d.ts:4115
x_percentagenumberThe abscissa of the area's center, as a percentage of the media width@gramio/types/out/objects.d.ts:4107
y_percentagenumberThe ordinate of the area's center, as a percentage of the media height@gramio/types/out/objects.d.ts:4111