MCPcopy Create free account

hub / github.com/5201213/wechatpadpro-on-wechat / functions

Functions1,232 in github.com/5201213/wechatpadpro-on-wechat

Methodsend
发送消息到微信 Args: reply: 回复对象 context: 上下文对象
channel/wxpad/wxpad_channel.py:665
Methodsend
(self, reply: Reply, context: Context)
channel/terminal/terminal_channel.py:32
Methodsend
(self, reply: Reply, context: Context)
channel/feishu/feishu_channel.py:53
Methodsend
(self, reply: Reply, context: Context)
channel/dingtalk/dingtalk_channel.py:175
Methodsend
(self, reply: Reply, context: Context)
channel/wechatcom/wechatcomapp_channel.py:52
Methodsend
(self, reply: Reply, context: Context)
channel/web/web_channel.py:54
Methodsend
(self, reply: Reply, context: Context)
channel/wework/wework_channel.py:275
Methodsend
(self, reply: Reply, context: Context)
channel/wechatmp/wechatmp_channel.py:80
Methodsend_del_del_chat_room_member
删除群成员 Args: chat_room_name: 群聊名称 user_list: 用户列表,格式:["string"] user_key: 普通用户密钥(可选,优先使用传入值,否则从配置文件读取)
lib/wxpad/client.py:1563
Functionsend_file
(self, fileDir, toUserName=None, mediaId=None, file_=None)
lib/itchat/components/messages.py:369
Functionsend_file
(self, fileDir, toUserName=None, mediaId=None, file_=None)
lib/itchat/async_components/messages.py:368
Methodsend_file
(self, fileDir, mediaId=None)
lib/itchat/storage/templates.py:113
Functionsend_image
(self, fileDir=None, toUserName=None, mediaId=None, file_=None)
lib/itchat/components/messages.py:409
Functionsend_image
(self, fileDir=None, toUserName=None, mediaId=None, file_=None)
lib/itchat/async_components/messages.py:408
Methodsend_image
send image for options - fileDir: dir for file ready for upload - if it's a gif, name it like 'xx.gif
lib/itchat/core.py:335
Methodsend_image
(self, fileDir, mediaId=None)
lib/itchat/storage/templates.py:115
Methodsend_image_message
发送图片消息 Args: msg_item: 消息项列表,格式: [ { "AtWxIDList": ["string"],
lib/wxpad/client.py:800
Methodsend_images
()
bot/gemini/google_gemini_bot.py:465
Functionsend_msg
(self, msg='Test Message', toUserName=None)
lib/itchat/components/messages.py:281
Functionsend_msg
(self, msg='Test Message', toUserName=None)
lib/itchat/async_components/messages.py:280
Methodsend_msg
send plain text message for options - msg: should be unicode if there's non-ascii words in msg - toUserNa
lib/itchat/core.py:304
Methodsend_msg
(self, msg='Test Message')
lib/itchat/storage/templates.py:111
Methodsend_pat
群拍一拍功能 Args: chat_room_name: 群聊名称 scene: 场景 to_user_name: 目标用户名 user_key: 普通用户密钥(可选,优先使用传入值,否
lib/wxpad/client.py:1580
Functionsend_raw_msg
(self, msgType, content, toUserName)
lib/itchat/components/messages.py:263
Functionsend_raw_msg
(self, msgType, content, toUserName)
lib/itchat/async_components/messages.py:262
Methodsend_raw_msg
many messages are sent in a common way for demo .. code:: python @itchat.msg_register(itchat.content
lib/itchat/core.py:290
Methodsend_raw_msg
(self, msgType, content)
lib/itchat/storage/templates.py:109
Methodsend_text_message
发送文本消息 Args: msg_item: 消息项列表,格式: [ { "AtWxIDList": ["string"],
lib/wxpad/client.py:848
Methodsend_transfer_group_owner
转让群 Args: chat_room_name: 群聊名称 new_owner_user_name: 新群主用户名 user_key: 普通用户密钥(可选,优先使用传入值,否则从配置文件读取)
lib/wxpad/client.py:1599
Functionsend_video
(self, fileDir=None, toUserName=None, mediaId=None, file_=None)
lib/itchat/components/messages.py:451
Functionsend_video
(self, fileDir=None, toUserName=None, mediaId=None, file_=None)
lib/itchat/async_components/messages.py:450
Methodsend_video
(self, fileDir=None, mediaId=None)
lib/itchat/storage/templates.py:117
Functionset_alias
(self, userName, alias)
lib/itchat/components/contact.py:341
Functionset_alias
(self, userName, alias)
lib/itchat/async_components/contact.py:321
Methodset_alias
set alias for a friend for options - userName: 'UserName' key of info dict - alias: new alias
lib/itchat/core.py:205
Methodset_alias
(self, alias)
lib/itchat/storage/templates.py:82
Methodset_alias
(self, alias)
lib/itchat/storage/templates.py:153
Methodset_alias
(self, alias)
lib/itchat/storage/templates.py:205
Methodset_chatroom_access_verify
设置群聊邀请开关 Args: chat_room_name: 群聊名称 enable: 是否启用 user_key: 普通用户密钥(可选,优先使用传入值,否则从配置文件读取) Returns:
lib/wxpad/client.py:1616
Methodset_chatroom_announcement
设置群公告 Args: chat_room_name: 群聊名称 content: 公告内容 user_key: 普通用户密钥(可选,优先使用传入值,否则从配置文件读取) Returns:
lib/wxpad/client.py:1633
Functionset_chatroom_name
(self, chatroomUserName, name)
lib/itchat/components/contact.py:462
Functionset_chatroom_name
(self, chatroomUserName, name)
lib/itchat/async_components/contact.py:435
Methodset_chatroom_name
设置群昵称 Args: chat_room_name: 群聊名称 nickname: 昵称 user_key: 普通用户密钥(可选,优先使用传入值,否则从配置文件读取) Returns:
lib/wxpad/client.py:1650
Methodset_function_switch
设置添加我的方式 Args: function: 功能 value: 值 user_key: 普通用户密钥(可选,优先使用传入值,否则从配置文件读取) Returns:
lib/wxpad/client.py:1207
Methodset_get_chat_room_info_detail
获取群公告 Args: chat_room_name: 群聊名称 user_key: 普通用户密钥(可选,优先使用传入值,否则从配置文件读取) Returns: 群公告信息
lib/wxpad/client.py:1667
Methodset_logging
(self, showOnCmd=True, loggingFile=None, loggingLevel=logging.INFO)
lib/itchat/log.py:15
Methodset_nick_name
设置昵称 Args: scene: 场景 val: 值 user_key: 普通用户密钥(可选,优先使用传入值,否则从配置文件读取) Returns: 设置结果
lib/wxpad/client.py:1224
Functionset_pinned
(self, userName, isPinned=True)
lib/itchat/components/contact.py:363
Functionset_pinned
(self, userName, isPinned=True)
lib/itchat/async_components/contact.py:342
Methodset_pinned
set pinned for a friend or a chatroom for options - userName: 'UserName' key of info dict - isPinned: whe
lib/itchat/core.py:213
Methodset_pinned
(self, isPinned=True)
lib/itchat/storage/templates.py:87
Methodset_pinned
(self, isPinned=True)
lib/itchat/storage/templates.py:207
Methodset_proxy
修改Socks5代理 Args: check: 是否检查 proxy: 代理地址 user_key: 普通用户密钥(可选,优先使用传入值,否则从配置文件读取) Returns:
lib/wxpad/client.py:1241
Methodset_send_pat
设置拍一拍名称 Args: value: 拍一拍名称 user_key: 普通用户密钥(可选,优先使用传入值,否则从配置文件读取) Returns: 设置结果
lib/wxpad/client.py:1258
Methodset_sex_dq
修改性别 Args: city: 城市 country: 国家 province: 省份 sex: 性别 user_key: 普通用户密钥(可选,优先使用传入值,
lib/wxpad/client.py:1273
Methodset_signature
修改签名 Args: scene: 场景 val: 签名值 user_key: 普通用户密钥(可选,优先使用传入值,否则从配置文件读取) Returns: 修改结果
lib/wxpad/client.py:1294
Methodset_wechat
设置微信号 Args: alisa: 微信号别名 user_key: 普通用户密钥(可选,优先使用传入值,否则从配置文件读取) Returns: 设置结果
lib/wxpad/client.py:1311
Methodsetup
设置配置信息(保留此方法用于向后兼容)
voice/tencent/tencent_voice.py:37
Functionshow_logout_confirm
显示退出确认对话框
web_ui.py:350
Functionshow_mobile_login
(self)
lib/itchat/components/login.py:279
Functionshow_mobile_login
(self)
lib/itchat/async_components/login.py:287
Methodshow_qr_code
HTML展示登录二维码 Args: user_key: 普通用户密钥(从管理接口生成,必需) Returns: 二维码HTML
lib/wxpad/client.py:343
Functionshow_restart_confirm
显示重启确认对话框
web_ui.py:364
Functionsingleton
(cls)
common/singleton.py:1
Methodsms_login
短信登录 Args: user_key: 普通用户密钥(从管理接口生成,必需) data: 登录数据 Returns: 登录结果
lib/wxpad/client.py:354
Functionstart
(channel)
common/linkai_client.py:76
Methodstart_loop
(self, loop)
channel/wechatmp/wechatmp_channel.py:70
Functionstart_receiving
(self, exitCallback=None, getReceivingFnOnly=False)
lib/itchat/components/login.py:295
Functionstart_receiving
(self, exitCallback=None, getReceivingFnOnly=False)
lib/itchat/async_components/login.py:302
Functionstart_tmp_cleaner
启动临时文件清理器
common/tmp_cleaner.py:199
Methodstartup
(self)
channel/wechatcs/wechatcomservice_channel.py:58
Methodstartup
(self)
channel/wechat/wechaty_channel.py:39
Methodstartup
启动通道
channel/wechat/wcf_channel.py:39
Methodstartup
(self)
channel/wxpad/wxpad_channel.py:89
Methodstartup
(self)
channel/terminal/terminal_channel.py:63
Methodstartup
(self)
channel/feishu/feishu_channel.py:45
Methodstartup
(self)
channel/dingtalk/dingtalk_channel.py:111
Methodstartup
(self)
channel/wechatcom/wechatcomapp_channel.py:45
Methodstartup
(self)
channel/web/web_channel.py:178
Methodstartup
(self)
channel/wework/wework_channel.py:187
Methodstartup
(self)
channel/wechatmp/wechatmp_channel.py:61
Functionstop_tmp_cleaner
停止临时文件清理器
common/tmp_cleaner.py:205
Methodstr_simularity
(a, b)
plugins/role/role.py:86
Functionstruct_friend_info
(knownInfo)
lib/itchat/utils.py:109
Methodsync_message_http
HTTP方式同步消息 Args: count: 获取消息数量,默认50 Returns: dict: 消息同步结果
lib/wxpad/client.py:1729
Methodtest_emphasis_removal
测试强调符号移除
tests/test_utils.py:31
Methodtest_empty_text
测试空文本
tests/test_utils.py:5
Methodtest_heading_removal
测试标题符号移除
tests/test_utils.py:10
Methodtest_list_removal
测试列表符号移除
tests/test_utils.py:21
Methodtest_mixed_format_removal
测试混合格式移除
tests/test_utils.py:42
MethodtextToVoice
(self, text)
voice/pytts/pytts_voice.py:35
MethodtextToVoice
将文本转换为语音文件。 :param text: 要转换的文本。 :return: 返回一个Reply对象,其中包含转换得到的语音文件或错误信息。
voice/ali/ali_voice.py:45
MethodtextToVoice
(self, text)
voice/xunfei/xunfei_voice.py:76
MethodtextToVoice
(self, text)
voice/azure/azure_voice.py:72
MethodtextToVoice
(self, text)
voice/linkai/linkai_voice.py:55
MethodtextToVoice
(self, text)
voice/google/google_voice.py:36
MethodtextToVoice
(self, text)
voice/elevent/elevent_voice.py:23
MethodtextToVoice
(self, text)
voice/openai/openai_voice.py:48
MethodtextToVoice
将文本转换为语音
voice/tencent/tencent_voice.py:86
MethodtextToVoice
(self, text)
voice/dify/dify_voice.py:45
← previousnext →1,101–1,200 of 1,232, ranked by callers