TelegramBot.sendLocation

Send point on the map

  1. Message sendLocation(T chat_id, float latitude, float longitude)
    struct TelegramBot
    @trusted
    sendLocation
    (
    T
    )
    (,
    float latitude
    ,
    float longitude
    )
  2. Message sendLocation(SendLocationMethod 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 location

longitude float

Longitude of the location

Return Value

Type: Message

Sent Message

Throws

TelegramBotException on errors

See Also

Meta