2021-06-11 12:08:29 +00:00
<!DOCTYPE html>
2021-06-11 15:56:01 +00:00
< html class = "writer-html5" lang = "zh-CN" >
2021-06-11 12:08:29 +00:00
< head >
2021-06-11 15:56:01 +00:00
< meta charset = "utf-8" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" / >
2021-06-11 12:08:29 +00:00
< title > 常见短语 — Xtaothon Documentation< / title >
2021-06-11 15:56:01 +00:00
< link rel = "stylesheet" href = "_static/css/theme.css" type = "text/css" / >
< link rel = "stylesheet" href = "_static/pygments.css" type = "text/css" / >
< link rel = "stylesheet" href = "_static/copybutton.css" type = "text/css" / >
< link rel = "stylesheet" href = "_static/tabs.css" type = "text/css" / >
2021-06-11 12:08:29 +00:00
< link rel = "shortcut icon" href = "_static/favicon.ico" / >
< link rel = "canonical" href = "https://docs.xtaolabs.com/glossary.html" / >
2021-06-11 15:56:01 +00:00
<!-- [if lt IE 9]>
< script src = "_static/js/html5shiv.min.js" > < / script >
<![endif]-->
< script id = "documentation_options" data-url_root = "./" src = "_static/documentation_options.js" > < / script >
2021-06-11 12:08:29 +00:00
< script src = "_static/jquery.js" > < / script >
< script src = "_static/underscore.js" > < / script >
< script src = "_static/doctools.js" > < / script >
< script src = "_static/clipboard.min.js" > < / script >
< script src = "_static/copybutton.js" > < / script >
< script src = "_static/translations.js" > < / script >
2021-06-11 15:56:01 +00:00
< script src = "_static/js/theme.js" > < / script >
2021-06-11 12:08:29 +00:00
< link rel = "index" title = "索引" href = "genindex.html" / >
< link rel = "search" title = "搜索" href = "search.html" / >
< link rel = "next" title = "支持 Xtaothon" href = "support.html" / >
< link rel = "prev" title = "FAQ" href = "faq.html" / >
< / head >
2021-06-11 15:56:01 +00:00
< body class = "wy-body-for-nav" >
2021-06-11 12:08:29 +00:00
< div class = "wy-grid-for-nav" >
< nav data-toggle = "wy-nav-shift" class = "wy-nav-side" >
< div class = "wy-side-scroll" >
< div class = "wy-side-nav-search" >
< a href = "index.html" >
< img src = "_static/xtaothon.png" class = "logo" alt = "Logo" / >
< / a >
< div role = "search" >
< form id = "rtd-search-form" class = "wy-form" action = "search.html" method = "get" >
< input type = "text" name = "q" placeholder = "Search docs" / >
< input type = "hidden" name = "check_keywords" value = "yes" / >
< input type = "hidden" name = "area" value = "default" / >
< / form >
< / div >
< / div >
2021-06-11 15:56:01 +00:00
< div class = "wy-menu wy-menu-vertical" data-spy = "affix" role = "navigation" aria-label = "Main" >
2021-06-11 12:08:29 +00:00
< p class = "caption" > < span class = "caption-text" > 简介< / span > < / p >
< ul >
< li class = "toctree-l1" > < a class = "reference internal" href = "intro/quickstart.html" > 快速开始< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "intro/install.html" > 安装指南< / a > < / li >
< / ul >
< p class = "caption" > < span class = "caption-text" > 开始< / span > < / p >
< ul >
< li class = "toctree-l1" > < a class = "reference internal" href = "start/auth.html" > 授权< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "start/invoking.html" > 调用方法< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "start/updates.html" > 处理消息< / a > < / li >
< / ul >
< p class = "caption" > < span class = "caption-text" > API< / span > < / p >
< ul >
< li class = "toctree-l1" > < a class = "reference internal" href = "api/client.html" > 客户端< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "api/methods/index.html" > 可用方法< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "api/types/index.html" > 可用类型< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "api/bound-methods/index.html" > 绑定方法< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "api/handlers.html" > 消息更新处理器< / a > < / li >
< / ul >
< p class = "caption" > < span class = "caption-text" > 主题指南< / span > < / p >
< ul >
< li class = "toctree-l1" > < a class = "reference internal" href = "topics/proxy.html" > SOCKS5 Proxy< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "topics/text-formatting.html" > 文本格式< / a > < / li >
< / ul >
< p class = "caption" > < span class = "caption-text" > 更多< / span > < / p >
< ul class = "current" >
< li class = "toctree-l1" > < a class = "reference internal" href = "faq.html" > FAQ< / a > < / li >
< li class = "toctree-l1 current" > < a class = "current reference internal" href = "#" > 常见短语< / a > < ul >
< li class = "toctree-l2" > < a class = "reference internal" href = "#id3" > 列表< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "support.html" > 支持 Xtaothon< / a > < / li >
< / ul >
< / div >
< / div >
< / nav >
< section data-toggle = "wy-nav-shift" class = "wy-nav-content-wrap" >
2021-06-11 15:56:01 +00:00
< nav class = "wy-nav-top" aria-label = "Top" >
2021-06-11 12:08:29 +00:00
< i data-toggle = "wy-nav-top" class = "fa fa-bars" > < / i >
< a href = "index.html" > xtaothon< / a >
< / nav >
< div class = "wy-nav-content" >
< div class = "rst-content style-external-links" >
2021-06-11 15:56:01 +00:00
< div role = "navigation" aria-label = "Breadcrumbs" >
2021-06-11 12:08:29 +00:00
< ul class = "wy-breadcrumbs" >
2021-06-11 15:56:01 +00:00
< li > < a href = "index.html" class = "icon icon-home" > < / a > » < / li >
2021-06-11 12:08:29 +00:00
< li > 常见短语< / li >
< li class = "wy-breadcrumbs-aside" >
<!-- User defined GitHub URL -->
< a href = "https://github.com/Xtao-Labs/docs-all" class = "fa fa-github" > Edit on GitHub< / a >
< / li >
< / ul >
< hr / >
< / div >
< div role = "main" class = "document" itemscope = "itemscope" itemtype = "http://schema.org/Article" >
< div itemprop = "articleBody" >
2021-06-11 15:56:01 +00:00
2021-06-11 12:08:29 +00:00
< div class = "section" id = "id1" >
< h1 > 常见短语< a class = "headerlink" href = "#id1" title = "永久链接至标题" > ¶< / a > < / h1 >
< p > 此页面包含常见短语列表。< / p >
< div class = "contents local topic" id = "id2" >
< p class = "topic-title" > 目录< / p >
< ul class = "simple" >
< li > < p > < a class = "reference internal" href = "#id3" id = "id4" > 列表< / a > < / p > < / li >
< / ul >
< / div >
< hr class = "docutils" / >
< div class = "section" id = "id3" >
< h2 > 列表< a class = "headerlink" href = "#id3" title = "永久链接至标题" > ¶< / a > < / h2 >
< dl class = "glossary simple" >
< dt id = "term-API" > API< a class = "headerlink" href = "#term-API" title = "Permalink to this term" > ¶< / a > < / dt > < dd > < p > 应用程序编程接口:一组方法、协议和工具,通过为开发人员提供实用的组件,使程序开发变得更容易。< / p >
< / dd >
< dt id = "term-API-key" > API key< a class = "headerlink" href = "#term-API-key" title = "Permalink to this term" > ¶< / a > < / dt > < dd > < p > 用于向 Telegram < code class = "docutils literal notranslate" > < span class = "pre" > 验证< / span > < / code > 和/或 < code class = "docutils literal notranslate" > < span class = "pre" > 授权< / span > < / code > 特定应用程序的密码,以便其控制 API 的使用方式,例如,防止滥用 API。
< a class = "reference internal" href = "intro/quickstart.html" > < span class = "doc" > API keys< / span > < / a > 。< / p >
< / dd >
< dt id = "term-Bot-API" > Bot API< a class = "headerlink" href = "#term-Bot-API" title = "Permalink to this term" > ¶< / a > < / dt > < dd > < p > Telegram Bot API 只能使用 HTTP 作为应用层协议将普通机器人连接到 Telegram, 并允许执行 Telegram API 。< / p >
< / dd >
< dt id = "term-Callback" > Callback< a class = "headerlink" href = "#term-Callback" title = "Permalink to this term" > ¶< / a > < / dt > < dd > < p > 也称为 < em > 回调函数< / em > ,是一个用户定义的通用函数, < em > 可以< / em > 注册到框架,然后在发生特定事件时由框架回调。< / p >
< / dd >
< dt id = "term-DC" > DC< a class = "headerlink" href = "#term-DC" title = "Permalink to this term" > ¶< / a > < / dt > < dd > < p > 也称为 < em > 数据中心< / em > ,是一个放置大量计算机系统并一起使用以实现服务的高质量和可用性的地方。< / p >
< / dd >
< dt id = "term-Handler" > Handler< a class = "headerlink" href = "#term-Handler" title = "Permalink to this term" > ¶< / a > < / dt > < dd > < p > 一个环绕回调函数的对象,该函数 < em > 实际上意味着< / em > 要注册到框架中,然后将能够处理特定类型的事件,例如新传入的消息。
< a class = "reference internal" href = "start/updates.html" > < span class = "doc" > 消息更新处理器< / span > < / a > .< / p >
< / dd >
< dt id = "term-RPC" > RPC< a class = "headerlink" href = "#term-RPC" title = "Permalink to this term" > ¶< / a > < / dt > < dd > < p > 远程过程调用的首字母缩写词,即在某个远程位置(即 Telegram 服务器)而不是在您的本地机器上执行的函数。< / p >
< / dd >
< dt id = "term-RPCError" > RPCError< a class = "headerlink" href = "#term-RPCError" title = "Permalink to this term" > ¶< / a > < / dt > < dd > < p > 由 RPC 引起的错误,必须返回以代替成功的结果,以便让调用者知道出现问题。< / p >
< / dd >
< dt id = "term-Session" > Session< a class = "headerlink" href = "#term-Session" title = "Permalink to this term" > ¶< / a > < / dt > < dd > < p > 也称为 < em > 登录会话< / em > ,是由双方(客户端和服务器)创建和持有的严格个人数据,用于向单个帐户授予权限,而无需从头开始新的授权过程。< / p >
< / dd >
< dt id = "term-Userbot" > Userbot< a class = "headerlink" href = "#term-Userbot" title = "Permalink to this term" > ¶< / a > < / dt > < dd > < p > 也称为 < em > user bot< / em > 或简称 < em > ubot< / em > ,是通过第三方 Telegram 库登录的用户 — 例如
Telethon — 自动执行某些行为,例如发送消息或对文本命令作出反应或任何其他事件。不要与 < em > bot< / em > 混淆,即由
< a class = "reference external" href = "https://t.me/botfather" > @ BotFather< / a > 创建的普通 Telegram bot 。< / p >
< / dd >
< / dl >
< / div >
< / div >
< / div >
< / div >
< footer >
2021-06-11 15:56:01 +00:00
< div class = "rst-footer-buttons" role = "navigation" aria-label = "Footer" >
< a href = "faq.html" class = "btn btn-neutral float-left" title = "FAQ" accesskey = "p" rel = "prev" > < span class = "fa fa-arrow-circle-left" aria-hidden = "true" > < / span > Previous< / a >
< a href = "support.html" class = "btn btn-neutral float-right" title = "支持 Xtaothon" accesskey = "n" rel = "next" > Next < span class = "fa fa-arrow-circle-right" aria-hidden = "true" > < / span > < / a >
2021-06-11 12:08:29 +00:00
< / div >
< hr / >
< div role = "contentinfo" >
2021-06-11 15:56:01 +00:00
< p > < / p >
2021-06-11 12:08:29 +00:00
< / div >
2021-06-11 15:56:01 +00:00
Built with < a href = "https://www.sphinx-doc.org/" > Sphinx< / a > using a
< a href = "https://github.com/readthedocs/sphinx_rtd_theme" > theme< / a > provided by < a href = "https://readthedocs.org" > Read the Docs< / a > .
2021-06-11 12:08:29 +00:00
2021-06-11 15:56:01 +00:00
< / footer >
2021-06-11 12:08:29 +00:00
< / div >
< / div >
< / section >
< / div >
2021-06-11 15:56:01 +00:00
< script >
2021-06-11 12:08:29 +00:00
jQuery(function () {
SphinxRtdTheme.Navigation.enable(false);
});
2021-06-11 15:56:01 +00:00
< / script >
2021-06-11 12:08:29 +00:00
< / body >
< / html >