Telegram Bot API

getChatShareThemeBackdrops

Kategori: Sohbet · Bot API 10.5 · Resmi dokümantasyon

Sürüm geçmişi: Bot API 10.4 sürümünde eklendi

Bağlantı paylaşım ekranı temasının arka planlarını döndürür (Bot API 10.4).

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

Parametreler

Bu metodun parametresi yok — bot token'ınızla doğrudan çağırmanız yeterli.

Örnek istek

curl

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

Python

import requests

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

JavaScript

const TOKEN = "123456789:AAEexampleTokenReplaceWithYours";
const res = await fetch(`https://api.telegram.org/bot${TOKEN}/getChatShareThemeBackdrops`);
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