Telegram Bot API
🌐 Türkçe

stopMessageLiveLocation

Kategori: Düzenleme · Bot API 10.3 · Resmi dokümantasyon

Canlı konumu durdurur.

Dönüş değeri: Başarılı olduğunda Message or True döndürür.

Parametreler

ParametreTürZorunluAçıklama
business_connection_idStringİsteğe bağlıİşletme bağlantısı ID'si
chat_idInteger or Stringİsteğe bağlıSohbet ID'si
message_idIntegerİsteğe bağlıMesaj ID'si
inline_message_idStringİsteğe bağlıSatır içi mesaj ID'si
reply_markupInlineKeyboardMarkupİsteğe bağlıJSON: InlineKeyboardMarkup

Parametre açıklamaları kısa özetlerdir; tam metin için resmi dokümantasyona bakın.

Örnek istek

curl

curl -s "https://api.telegram.org/bot$TOKEN/stopMessageLiveLocation"

Python

import requests

TOKEN = "123456789:AAEexampleTokenReplaceWithYours"
resp = requests.get(f"https://api.telegram.org/bot{TOKEN}/stopMessageLiveLocation", timeout=30)
print(resp.json())

JavaScript

const TOKEN = "123456789:AAEexampleTokenReplaceWithYours";
const res = await fetch(`https://api.telegram.org/bot${TOKEN}/stopMessageLiveLocation`);
console.log(await res.json());

Adım adım rehber: Telegram bot nasıl yapılır? BotFather ile adım adım bot oluşturma