MadelineProtoDocs/docs/API_docs/constructors/mediaAreaGeoPoint.md
2024-07-02 15:45:44 +02:00

1.1 KiB

title description nav_exclude image
mediaAreaGeoPoint Represents a geolocation tag attached to a story. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: mediaAreaGeoPoint

Back to constructors index

Represents a geolocation tag attached to a story.

Attributes:

Name Type Required Description
coordinates MediaAreaCoordinates Yes The size and position of the media area corresponding to the location sticker on top of the story media.
geo GeoPoint Optional Coordinates of the geolocation tag.
address GeoPointAddress Optional

Type: MediaArea

Example:

$mediaAreaGeoPoint = ['_' => 'mediaAreaGeoPoint', 'coordinates' => MediaAreaCoordinates, 'geo' => GeoPoint, 'address' => GeoPointAddress];