Skip to main content
Module

x/mtkruto/mod.ts>Client#sendVenue

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
method Client.prototype.sendVenue
import { Client } from "https://deno.land/x/mtkruto@0.2.24/mod.ts";

Send a venue.

Parameters

chatId: ID

The chat to send the venue to.

latitude: number

The latitude of the venue.

longitude: number

The longitude of the venue.

title: string

The title of the venue.

address: string

The written address of the venue.

optional
params: SendVenueParams

Returns

Promise<MessageVenue>

The sent venue.