Matrix 节点#
¥Matrix node
使用 Matrix 节点自动化 Matrix 中的工作,并将 Matrix 与其他应用集成。n8n 内置支持 Matrix 的多种功能,包括获取当前用户的账户信息、向聊天室发送媒体和消息,以及获取聊天室成员和消息。
¥Use the Matrix node to automate work in Matrix, and integrate Matrix with other applications. n8n has built-in support for a wide range of Matrix features, including getting current user's account information, sending media and messages to a room, and getting room members and messages.
本页列出了 Matrix 节点支持的操作列表以及更多资源的链接。
¥On this page, you'll find a list of operations the Matrix node supports and links to more resources.
Credentials
请参阅 Matrix 凭证 以了解有关设置身份验证的指导。
¥Refer to Matrix credentials for guidance on setting up authentication.
操作#
¥Operations
- 账户
¥Account
-
获取当前用户账户信息
¥Get current user's account information
-
事件
¥Event
-
按 ID 获取单个事件
¥Get single event by ID
-
媒体
¥Media
-
将媒体发送到聊天室。
¥Send media to a chat room
-
消息
¥Message
-
向聊天室发送消息
¥Send a message to a room
-
获取房间中的所有消息。
¥Gets all messages from a room
-
房间
¥Room
-
已定义设置的新聊天室
¥New chat room with defined settings
-
邀请用户加入房间
¥Invite a user to a room
-
加入新房间
¥Join a new room
-
将用户踢出房间
¥Kick a user from a room
-
离开房间
¥Leave a room
-
房间成员
¥Room Member
-
获取所有成员
¥Get all members
模板和示例#
¥Templates and examples