diff --git a/src/TgBotLib/Objects/Telegram/InputMessageContent/InputVenueMessageContent.php b/src/TgBotLib/Objects/Telegram/InputMessageContent/InputVenueMessageContent.php index b2c1122..25b5194 100644 --- a/src/TgBotLib/Objects/Telegram/InputMessageContent/InputVenueMessageContent.php +++ b/src/TgBotLib/Objects/Telegram/InputMessageContent/InputVenueMessageContent.php @@ -60,6 +60,19 @@ return $this->latitude; } + /** + * Sets the value of 'latitude' property + * Latitude of the venue in degrees + * + * @param float $latitude + * @return $this + */ + public function setLatitude(float $latitude): self + { + $this->latitude = $latitude; + return $this; + } + /** * Longitude of the venue in degrees * @@ -70,6 +83,19 @@ return $this->longitude; } + /** + * Sets the value of 'longitude' property + * Longitude of the venue in degrees + * + * @param float $longitude + * @return $this + */ + public function setLongitude(float $longitude): self + { + $this->longitude = $longitude; + return $this; + } + /** * Name of the venue * @@ -80,6 +106,19 @@ return $this->title; } + /** + * Sets the value of 'title' property + * Name of the venue + * + * @param string $title + * @return $this + */ + public function setTitle(string $title): self + { + $this->title = $title; + return $this; + } + /** * Address of the venue * @@ -90,6 +129,19 @@ return $this->address; } + /** + * Sets the value of 'address' property + * Address of the venue + * + * @param string $address + * @return $this + */ + public function setAddress(string $address): self + { + $this->address = $address; + return $this; + } + /** * Optional. Foursquare identifier of the venue, if known * @@ -100,6 +152,19 @@ return $this->foursquare_id; } + /** + * Sets the value of 'foursquare_id' property + * Optional. Foursquare identifier of the venue, if known + * + * @param string|null $foursquare_id + * @return $this + */ + public function setFoursquareId(?string $foursquare_id): self + { + $this->foursquare_id = $foursquare_id; + return $this; + } + /** * Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, * “arts_entertainment/aquarium” or “food/icecream”.) @@ -111,6 +176,20 @@ return $this->foursquare_type; } + /** + * Sets the value of 'foursquare_type' property + * Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, + * “arts_entertainment/aquarium” or “food/icecream”.) + * + * @param string|null $foursquare_type + * @return $this + */ + public function setFoursquareType(?string $foursquare_type): self + { + $this->foursquare_type = $foursquare_type; + return $this; + } + /** * Optional. Google Places identifier of the venue * @@ -121,6 +200,19 @@ return $this->google_place_id; } + /** + * Sets the value of 'google_place_id' property + * Optional. Google Places identifier of the venue + * + * @param string|null $google_place_id + * @return $this + */ + public function setGooglePlaceId(?string $google_place_id): self + { + $this->google_place_id = $google_place_id; + return $this; + } + /** * Optional. Google Places type of the venue. * @@ -132,6 +224,19 @@ return $this->google_place_type; } + /** + * Sets the value of 'google_place_type' property + * Optional. Google Places type of the venue. + * + * @param string|null $google_place_type + * @return $this + */ + public function setGooglePlaceType(?string $google_place_type): self + { + $this->google_place_type = $google_place_type; + return $this; + } + /** * Returns an array representation of the object *