InlineQueryResultVenue
class InlineQueryResultVenue implements InlineQueryResultInterface
Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the venue.
Methods
No description
Type of the result, must be venue.
Unique identifier for this result, 1-64 Bytes.
Latitude of the venue location in degrees.
Longitude of the venue location in degrees.
Title of the venue.
Address of the venue.
Optional. Foursquare identifier of the venue if known.
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.).
Optional. Google Places identifier of the venue.
Optional. Google Places type of the venue. (See supported types.).
Optional. Inline keyboard attached to the message.
Optional. Content of the message to be sent instead of the venue.
Optional. Url of the thumbnail for the result.
Optional. Thumbnail width.
Optional. Thumbnail height.
Details
at line 27
__construct(string $type, string $id, float $latitude, float $longitude, string $title, string $address, string|null $foursquare_id = null, string|null $foursquare_type = null, string|null $google_place_id = null, string|null $google_place_type = null, InlineKeyboardMarkup|null $reply_markup = null, InputMessageContentInterface|null $input_message_content = null, string|null $thumb_url = null, int|null $thumb_width = null, int|null $thumb_height = null)
No description
at line 49
string
getType()
Type of the result, must be venue.
at line 57
string
getId()
Unique identifier for this result, 1-64 Bytes.
at line 65
float
getLatitude()
Latitude of the venue location in degrees.
at line 73
float
getLongitude()
Longitude of the venue location in degrees.
at line 81
string
getTitle()
Title of the venue.
at line 89
string
getAddress()
Address of the venue.
at line 97
string|null
getFoursquareId()
Optional. Foursquare identifier of the venue if known.
at line 105
string|null
getFoursquareType()
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.).
at line 113
string|null
getGooglePlaceId()
Optional. Google Places identifier of the venue.
at line 121
string|null
getGooglePlaceType()
Optional. Google Places type of the venue. (See supported types.).
at line 129
InlineKeyboardMarkup|null
getReplyMarkup()
Optional. Inline keyboard attached to the message.
at line 137
InputMessageContentInterface|null
getInputMessageContent()
Optional. Content of the message to be sent instead of the venue.
at line 145
string|null
getThumbUrl()
Optional. Url of the thumbnail for the result.
at line 153
int|null
getThumbWidth()
Optional. Thumbnail width.
at line 161
int|null
getThumbHeight()
Optional. Thumbnail height.