MediaAreaCoordinates
- class pyrogram.raw.types.MediaAreaCoordinates
Coordinates and size of a clicable rectangular area on top of a story.
Constructor of
MediaAreaCoordinates.- Details:
Layer:
196ID:
CFC9E002
- Parameters:
x (
float64-bit) – The abscissa of the rectangle’s center, as a percentage of the media width (0-100).y (
float64-bit) – The ordinate of the rectangle’s center, as a percentage of the media height (0-100).w (
float64-bit) – The width of the rectangle, as a percentage of the media width (0-100).h (
float64-bit) – The height of the rectangle, as a percentage of the media height (0-100).rotation (
float64-bit) – Clockwise rotation angle of the rectangle, in degrees (0-360).radius (
float64-bit, optional) – N/A