Added set methods to \TgBotLib\Objects\Telegram\InputMessageContent\InputVenueMessageContent
https://git.n64.cc/nosial/libs/tgbot/-/issues/3
This commit is contained in:
parent
40d25a15f1
commit
176ea791bf
1 changed files with 105 additions and 0 deletions
|
@ -60,6 +60,19 @@
|
||||||
return $this->latitude;
|
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
|
* Longitude of the venue in degrees
|
||||||
*
|
*
|
||||||
|
@ -70,6 +83,19 @@
|
||||||
return $this->longitude;
|
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
|
* Name of the venue
|
||||||
*
|
*
|
||||||
|
@ -80,6 +106,19 @@
|
||||||
return $this->title;
|
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
|
* Address of the venue
|
||||||
*
|
*
|
||||||
|
@ -90,6 +129,19 @@
|
||||||
return $this->address;
|
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
|
* Optional. Foursquare identifier of the venue, if known
|
||||||
*
|
*
|
||||||
|
@ -100,6 +152,19 @@
|
||||||
return $this->foursquare_id;
|
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”,
|
* Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”,
|
||||||
* “arts_entertainment/aquarium” or “food/icecream”.)
|
* “arts_entertainment/aquarium” or “food/icecream”.)
|
||||||
|
@ -111,6 +176,20 @@
|
||||||
return $this->foursquare_type;
|
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
|
* Optional. Google Places identifier of the venue
|
||||||
*
|
*
|
||||||
|
@ -121,6 +200,19 @@
|
||||||
return $this->google_place_id;
|
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.
|
* Optional. Google Places type of the venue.
|
||||||
*
|
*
|
||||||
|
@ -132,6 +224,19 @@
|
||||||
return $this->google_place_type;
|
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
|
* Returns an array representation of the object
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue