tgsnake
Version:
Telegram MTProto framework for nodejs.
34 lines (33 loc) • 1.12 kB
TypeScript
import { TLObject } from '../../TL.js';
import { Raw } from '../../../platform.node.js';
import type { Snake } from '../../../Client/index.js';
export declare class Location extends TLObject {
_accessHash: bigint;
longitude: number;
latitude: number;
horizontalAccuracy: number;
constructor({ accessHash, longitude, latitude, horizontalAccuracy, }: {
accessHash: bigint;
longitude: number;
latitude: number;
horizontalAccuracy: number;
}, client: Snake);
static parse(client: Snake, location: Raw.TypeGeoPoint): Location;
}
export declare class Venue extends TLObject {
location: Location;
title: string;
address: string;
foursquareId: string;
foursquareType: string;
provider: string;
constructor({ location, title, address, foursquareId, foursquareType, provider, }: {
location: Location;
title: string;
address: string;
foursquareId: string;
foursquareType: string;
provider: string;
}, client: Snake);
static parse(client: Snake, venue: Raw.MessageMediaVenue): Venue;
}