Skip to content

Telegram 节点聊天操作(Telegram node Chat operations)#

使用这些操作可以获取聊天、成员、管理员的信息,退出聊天,以及设置聊天标题和描述。有关 Telegram 节点本身的更多信息,请参考 Telegram

🌐 Use these operations to get information about chats, members, administrators, leave chat, and set chat titles and descriptions. Refer to Telegram for more information on the Telegram node itself.

This node can be used as an AI tool

This node can be used to enhance the capabilities of an AI agent. When used in this way, many parameters can be set automatically, or with information directed by AI - find out more in the AI tool parameters documentation.

获取聊天(Get Chat)#

使用此操作可以通过 Bot API 的 getChat 方法获取关于聊天的最新信息。

🌐 Use this operation to get up to date information about a chat using the Bot API getChat method.

请输入以下参数:

🌐 Enter these parameters:

  • 用于连接的凭证:创建或选择一个现有的 Telegram 凭证
  • 资源:选择聊天
  • 操作:选择 获取
  • 聊天 ID:以 @channelusername 格式输入目标通道的聊天 ID 或用户名。

有关更多信息,请参阅 Telegram 机器人 API getChat 文档。

🌐 Refer to the Telegram Bot API getChat documentation for more information.

获取管理员(Get Administrators)#

使用此操作通过 Bot API 的 getChatAdministrators 方法获取聊天中所有管理员的列表。

🌐 Use this operation to get a list of all administrators in a chat using the Bot API getChatAdministrators method.

请输入以下参数:

🌐 Enter these parameters:

  • 用于连接的凭证:创建或选择一个现有的 Telegram 凭证
  • 资源:选择聊天
  • 操作:选择获取管理员
  • 聊天 ID:以 @channelusername 格式输入目标通道的聊天 ID 或用户名。

有关更多信息,请参阅 Telegram Bot API getChatAdministrators 文档。

🌐 Refer to the Telegram Bot API getChatAdministrators documentation for more information.

获取聊天成员(Get Chat Member)#

使用此操作可以通过 Bot API 的 getChatMember 方法获取聊天成员的详细信息。

🌐 Use this operation to get the details of a chat member using the Bot API getChatMember method.

请输入以下参数:

🌐 Enter these parameters:

  • 用于连接的凭证:创建或选择一个现有的 Telegram 凭证
  • 资源:选择聊天
  • 操作:选择 获取成员
  • 聊天 ID:以 @channelusername 格式输入目标通道的聊天 ID 或用户名。
  • 用户ID:输入你想要获取信息的用户的唯一标识符。

有关更多信息,请参阅 Telegram 机器人 API getChatMember 文档。

🌐 Refer to the Telegram Bot API getChatMember documentation for more information.

离开聊天(Leave Chat)#

使用此操作通过 Bot API 的 leaveChat 方法退出聊天。

🌐 Use this operation to leave a chat using the Bot API leaveChat method.

请输入以下参数:

🌐 Enter these parameters:

  • 用于连接的凭证:创建或选择一个现有的 Telegram 凭证
  • 资源:选择聊天
  • 操作:选择请假
  • 聊天ID:请输入你希望离开的通道的聊天ID或用户名,格式为 @channelusername

有关更多信息,请参阅 Telegram 机器人 API leaveChat 文档。

🌐 Refer to the Telegram Bot API leaveChat documentation for more information.

设置描述(Set Description)#

使用此操作通过 Bot API 的 setChatDescription 方法设置聊天的描述。

🌐 Use this operation to set the description of a chat using the Bot API setChatDescription method.

请输入以下参数:

🌐 Enter these parameters:

  • 用于连接的凭证:创建或选择一个现有的 Telegram 凭证
  • 资源:选择聊天
  • 操作:选择 设置描述
  • 聊天ID:请输入你希望离开的通道的聊天ID或用户名,格式为 @channelusername
  • 描述:输入你希望设置为聊天使用的新描述,最多255个字符。

有关更多信息,请参阅 Telegram 机器人 API setChatDescription 文档。

🌐 Refer to the Telegram Bot API setChatDescription documentation for more information.

设置标题(Set Title)#

使用此操作通过 Bot API 的 setChatTitle 方法设置聊天标题。

🌐 Use this operation to set the title of a chat using the Bot API setChatTitle method.

请输入以下参数:

🌐 Enter these parameters:

  • 用于连接的凭证:创建或选择一个现有的 Telegram 凭证
  • 资源:选择聊天
  • 操作:选择 设置标题
  • 聊天ID:请输入你希望离开的通道的聊天ID或用户名,格式为 @channelusername
  • 标题:输入你希望聊天使用的新标题,最多255个字符。

有关更多信息,请参阅 Telegram 机器人 API setChatTitle 文档。

🌐 Refer to the Telegram Bot API setChatTitle documentation for more information.