agou的胡言乱语 头像

消息来源频道

agou的胡言乱语

@bakadog

频道845 位成员公开可见0 人在线
成员规模845 位成员
在线情况0 人在线
消息总数4,630 条消息
浏览量总数22,034 次浏览

在这个频道里搜索消息……

t.me/bakadog

机器人 API 6.2
自定义表情符号
• 机器人可以通过添加到 MessageEntity (https://core.telegram.org) 的新类型“custom_emoji”和字段 custom_emoji_id 识别 Telegram Premium 用户发送的自定义表情符号 (https://telegram.org/blog/custom-emoji) /bots/api#messageentity) 类。
• 添加方法getCustomEmojiStickers (https://core.telegram.org/bots/api#getcustomemojistickers) 以获取有关特定表情符号的信息。
• 向 Sticker (https://core.telegram.org/bots/api#sticker) 类添加字段类型和 custom_emoji_id。
• 添加了sticker_type 作为 StickerSet (https://core.telegram.org/bots/api#stickerset) 的新字段和 createNewStickerSet (https://core.telegram.org/bots/api#createnewstickerset) 的新参数.
网络应用
• 实现了对本机对话窗口 (https://core.telegram.org/bots/webapps#initializing-web-apps) 的支持,包括警报、带有自定义按钮的弹出窗口和确认消息。
• 当用户关闭网络应用程序时,现在可以显示一个确认对话框。该对话框可以通过 enableClosingConfirmation (https://core.telegram.org/bots/webapps#initializing-web-apps) 和 disableClosingConfirmation (https://core.telegram.org/bots/webapps#initializing-web-应用程序)功能。
• 将字段 is_premium 添加到 WebAppUser (https://core.telegram.org/bots/webapps#webappuser) 类 — 已包含标准用户 (https://core.telegram.org/bots/api#user) 类此字段,请参阅版本 6.1 (https://t.me/BotNews/73)。
• 向聊天 (https://core.telegram.org/bots/api#chat) 类添加了 has_restricted_voice_and_video_messages 以支持新的高级设置 (https://telegram.org/blog/custom-emoji#privacy-settings-for -语音消息)。
• 更多信息,请参阅完整的变更日志以了解详细信息:
https://core.telegram.org/bots/api-changelog#august-12-2022
注意:createNewStickerSet (https://core.telegram.org/bots/api#createnewstickerset) 和 StickerSet (https://core.telegram.org/bots/api#stickerset) 的文档不再提及 contains_masks 参数和字段分别。在这两种情况下, contains_masks 将继续为向后兼容而工作,但开发人员应改用sticker_type。
https://t.me/BotNews/74