Telegram::sendVenue PHP Method

sendVenue() public method

Use this method to send information about a venue. On success, the sent Message is returned.
Values inside $content:
Parameters Type Required Description
chat_id Integer or String Yes Unique identifier for the target chat or username of the target channel (in the format @channelusername)
latitude Float number Yes Latitude of the venue
longitude Float number Yes Longitude of the venue
title String Yes Name of the venue
address String Yes Address of the venue
foursquare_id String Optional Foursquare identifier of the venue
disable_notification Boolean Optional Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.
reply_to_message_id Integer Optional If the message is a reply, ID of the original message
reply_markup InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardHide or ForceReply Optional Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.
\param $content the request parameters as array \return the JSON Telegram's reply
public sendVenue ( array $content )
$content array
    public function sendVenue(array $content)
    {
        return $this->endpoint("sendVenue", $content);
    }