getChatShareThemeBackdrops
Returns backdrops for the theme of the link sharing screen (Bot API 10.4).
Returns: On success, returns ChatShareThemeBackdrops.
Parameters
This method has no parameters — just call it with your bot token.
Example request
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());
Step-by-step guide: How to Create a Telegram Bot: Step by Step with BotFather and Python
Related methods
getChatGets chat information.getChatMemberGets chat member information.getChatMemberCountReturns the number of chat members.getChatAdministratorsReturns a list of chat administrators.setChatTitleSets chat title.setChatDescriptionSets chat description.setChatPhotoSets chat photo.deleteChatPhotoDeletes chat photo.setChatPermissionsSets chat permissions.leaveChatLeaves a chat.exportChatInviteLinkExports the main chat invite link.createChatInviteLinkCreates an invite link.