getForumTopicIconStickers
返回论坛话题图标贴纸。
返回值: 调用成功时返回 Array of Sticker。
参数
此方法没有参数,直接用 Bot Token 调用即可。
请求示例
curl
curl -s "https://api.telegram.org/bot$TOKEN/getForumTopicIconStickers"
Python
import requests
TOKEN = "123456789:AAEexampleTokenReplaceWithYours"
resp = requests.get(f"https://api.telegram.org/bot{TOKEN}/getForumTopicIconStickers", timeout=30)
print(resp.json())
JavaScript
const TOKEN = "123456789:AAEexampleTokenReplaceWithYours";
const res = await fetch(`https://api.telegram.org/bot${TOKEN}/getForumTopicIconStickers`);
console.log(await res.json());
分步教程: Telegram 机器人教程:从零创建 Telegram 机器人并发送第一条消息
相关方法
createForumTopic创建论坛话题。editForumTopic编辑论坛话题。closeForumTopic关闭论坛话题。reopenForumTopic重新开启论坛话题。deleteForumTopic删除论坛话题。editGeneralForumTopic编辑 General 论坛话题。closeGeneralForumTopic关闭 General 论坛话题。reopenGeneralForumTopic重新开启 General 论坛话题。hideGeneralForumTopic隐藏 General 论坛话题。unhideGeneralForumTopic取消隐藏 General 论坛话题。unpinAllForumTopicMessages取消论坛话题中所有消息的置顶。unpinAllGeneralForumTopicMessages取消 General 话题中所有消息的置顶。