| Total Complexity | 2 |
| Total Lines | 68 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class InputVenueMessageContent extends InputMessageContentType |
||
| 16 | { |
||
| 17 | use FillFromArrayTrait; |
||
| 18 | use GooglePlaceFieldsTrait; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Latitude of the venue in degrees. |
||
| 22 | * |
||
| 23 | * @var float |
||
| 24 | */ |
||
| 25 | public $latitude; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Longitude of the venue in degrees. |
||
| 29 | * |
||
| 30 | * @var float |
||
| 31 | */ |
||
| 32 | public $longitude; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Name of the venue. |
||
| 36 | * |
||
| 37 | * @var string |
||
| 38 | */ |
||
| 39 | public $title; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Address of the venue. |
||
| 43 | * |
||
| 44 | * @var string |
||
| 45 | */ |
||
| 46 | public $address; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Optional. Foursquare identifier of the venue, if known. |
||
| 50 | * |
||
| 51 | * @var string|null |
||
| 52 | */ |
||
| 53 | public $foursquareId; |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Optional. Foursquare type of the venue, if known. |
||
| 57 | * (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.). |
||
| 58 | * |
||
| 59 | * @var string|null |
||
| 60 | */ |
||
| 61 | public $foursquareType; |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @throws \TgBotApi\BotApiBase\Exception\BadArgumentException |
||
| 65 | */ |
||
| 66 | public static function create( |
||
| 85 |