MediaAreaCoordinates

class pyrogram.raw.base.MediaAreaCoordinates

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

Constructors:

This base type has 1 constructor available.

MediaAreaCoordinates

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

TL Schema

mediaAreaCoordinates#cfc9e002
flags:#
x:double
y:double
w:double
h:double
rotation:double
radius:flags.0?double

= MediaAreaCoordinates

Parameter Tree

MediaAreaCoordinates
├── xdouble
├── ydouble
├── wdouble
├── hdouble
├── rotationdouble
└── radiusdouble (optional)

Example

MediaAreaCoordinates(
    x=0.0,
    y=0.0,
    w=0.0,
    h=0.0,
    rotation=0.0,
    radius=0.0,
)