Raw.BotInlineMessageMediaGeo
Send a geolocation
botInlineMessageMediaGeo#51846fd flags:# geo:GeoPoint heading:flags.0?int period:flags.1?int proximity_notification_radius:flags.3?int reply_markup:flags.2?ReplyMarkup = BotInlineMessage;
export namespace Raw {
export class BotInlineMessageMediaGeo {
constructor(params: {
geo: Raw.TypeGeoPoint;
heading?: number;
period?: number;
proximityNotificationRadius?: number;
replyMarkup?: Raw.TypeReplyMarkup;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x51846fd
Property
geo
: Raw.TypeGeoPointGeolocation
heading
: number or undefinedFor live locations, a direction in which the location moves, in degrees; 1-360.
period
: number or undefinedValidity period
proximityNotificationRadius
: number or undefinedFor live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000).
replyMarkup
: Raw.TypeReplyMarkup or undefinedInline keyboard