Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.ts>Client#sendVenue

Cross-runtime JavaScript library for building Telegram clients
Latest
method Client.prototype.sendVenue
import { Client } from "https://deno.land/x/mtkruto@0.6.3/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.