import{_ as i,o as a,c as e,a7 as n}from"./chunks/framework._avq4Ty7.js";const c=JSON.parse('{"title":"liteyuki.session","description":"","frontmatter":{"title":"liteyuki.session","collapsed":true},"headers":[],"relativePath":"en/dev/api/session/index.md","filePath":"en/dev/api/session/index.md","lastUpdated":null}'),t={name:"en/dev/api/session/index.md"};function l(h,s,k,r,p,d){return a(),e("div",null,s[0]||(s[0]=[n('
liteyuki.session
该模块参考并引用了nonebot-plugin-alconna的消息段定义
message_handler_thread(i_chans: Iterable[Chan[Any]])
Arguments:
- i_chans: 多路输入管道组
def message_handler_thread(i_chans: Iterable[Chan[Any]]):\n for msg in select(*i_chans):\n logger.debug(f'Recv from anybot {msg}')\n logger.info(f'Recv from anybot {msg}')