TelegramBot.sendVenue

Send information about a venue

  1. Message sendVenue(T chat_id, float latitude, float longitude, string title, string address)
    struct TelegramBot
    @trusted
    sendVenue
    (
    T
    )
    (,
    float latitude
    ,
    float longitude
    ,
    string title
    ,
    string address
    )
  2. Message sendVenue(SendVenueMethod m)

Parameters

chat_id T

Unique identifier for the target chat or username of the target channel (in the format @channelusername)

latitude float

Latitude of the venue

longitude float

Longitude of the venue

title string

Name of the venue

address string

Address of the venue

Return Value

Type: Message

Sent Message

Throws

TelegramBotException on errors

See Also

Meta