MediaAreaCoordinates

class pyrogram.raw.types.MediaAreaCoordinates

Coordinates and size of a clicable rectangular area on top of a story.

Constructor of MediaAreaCoordinates.

Details:
  • Layer: 194

  • ID: CFC9E002

Parameters:
  • x (float 64-bit) – The abscissa of the rectangle’s center, as a percentage of the media width (0-100).

  • y (float 64-bit) – The ordinate of the rectangle’s center, as a percentage of the media height (0-100).

  • w (float 64-bit) – The width of the rectangle, as a percentage of the media width (0-100).

  • h (float 64-bit) – The height of the rectangle, as a percentage of the media height (0-100).

  • rotation (float 64-bit) – Clockwise rotation angle of the rectangle, in degrees (0-360).

  • radius (float 64-bit, optional) – N/A