MCPcopy Create free account

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

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

↓ 2 callersMethodcreate_chat_message
(self, inputs, query, user, response_mode="blocking", conversation_id=None, files=None)
lib/dify/dify_client.py:61
↓ 2 callersFunctioncreate_voice
create a voice instance :param voice_type: voice type code :return: voice instance
voice/factory.py:6
↓ 2 callersMethoddelete_media
(self, media_id)
channel/wechatmp/wechatmp_channel.py:74
↓ 2 callersMethoddelete_member_from_chatroom
deletes members from chatroom for deleting - you can't delete yourself - if so, no one will be deleted
lib/itchat/core.py:263
↓ 2 callersMethoddiscard_exceeding
(self, max_tokens=None, cur_tokens=None)
bot/session_manager.py:32
↓ 2 callersMethoddo_operate
(self, task_type: TaskType, user_id: str, img_id: str, e_context: EventContext, index: int
plugins/linkai/midjourney.py:235
↓ 2 callersMethoddo_vision_completion_if_need
(self, session_id: str, query: str)
bot/openai/open_ai_vision.py:11
↓ 2 callersFunctiondrag_sensitive
(config)
config.py:299
↓ 2 callersMethodfetch_access_token
(self)
channel/feishu/feishu_channel.py:100
↓ 2 callersMethodfind_chat_bot
(self, bot_type: str)
bridge/bridge.py:104
↓ 2 callersMethodforward_video_message
转发视频 Args: forward_image_list: 转发图片列表,格式: [ { "AesKey": "",
lib/wxpad/client.py:520
↓ 2 callersMethodgenerate
图片生成 :param prompt: 提示词 :param user_id: 用户id :param e_context: 对话上下文 :return: 任务ID
plugins/linkai/midjourney.py:189
↓ 2 callersMethodget_QRuuid
get uuid for qrcode uuid is the symbol of qrcode - for logging in, you need to get a uuid first - for dow
lib/itchat/core.py:57
↓ 2 callersFunctionget_avatar_image
()
web_ui.py:197
↓ 2 callersMethodget_chatrooms
fetch chatrooms list for options - update: if not set, local value will be returned - contactOnly: if set
lib/itchat/core.py:186
↓ 2 callersMethodget_contact_details_list
获取联系人详情 Args: room_wx_id_list: 群聊微信ID列表,格式:["string"] user_names: 用户名列表,格式:["string"] user_key: 普通用户密钥(可选
lib/wxpad/client.py:958
↓ 2 callersMethodget_conversation_id
(self)
bot/bytedance/coze_session.py:32
↓ 2 callersFunctionget_group_member_display_name
获取群成员的显示名称,优先显示名,无则昵称 1. 先查本地数据库缓存 2. 缓存未命中则调用wxpad API并缓存结果
channel/chat_channel.py:26
↓ 2 callersFunctionget_group_name_from_db
从现有表获取群名称
database/group_members_db.py:79
↓ 2 callersMethodget_head_img
place for docs for options - if you want to get chatroom header: only set chatroomUserName - if you want
lib/itchat/core.py:233
↓ 2 callersFunctionget_help_text
(isadmin, isgroup)
plugins/godcmd/godcmd.py:134
↓ 2 callersMethodget_help_text
(self, isadmin=False, isgroup=False, **kwargs)
plugins/godcmd/godcmd.py:520
↓ 2 callersMethodget_organization_id
(self)
bot/claude/claude_ai_bot.py:53
↓ 2 callersFunctionget_pcm_from_wav
从 wav 文件中读取 pcm :param wav_path: wav 文件路径 :returns: pcm 数据
voice/audio_convert.py:43
↓ 2 callersMethodget_room_id
(self)
bot/dify/dify_session.py:36
↓ 2 callersMethodget_room_name
(self)
bot/dify/dify_session.py:39
↓ 2 callersMethodget_session_id
(self)
bot/bytedance/coze_session.py:26
↓ 2 callersMethodget_user_id
(self)
bot/dify/dify_session.py:30
↓ 2 callersMethodget_user_name
(self)
bot/dify/dify_session.py:33
↓ 2 callersFunctionget_user_nickname_from_db
从群成员数据库获取用户昵称(任意一个群中的昵称)
database/group_members_db.py:93
↓ 2 callersMethodget_valid_token
获取有效的阿里云token。 :return: 返回有效的token字符串。
voice/ali/ali_voice.py:84
↓ 2 callersFunctionget_with_retry
(get_func, max_retries=5, delay=5)
channel/wework/wework_channel.py:166
↓ 2 callersMethodkeys
(self)
common/expired_dict.py:34
↓ 2 callersFunctionload_components
(core)
lib/itchat/components/__init__.py:7
↓ 2 callersMethodload_login_status
load login status from a specific file for option - fileDir: file for loading login status - loginCallbac
lib/itchat/core.py:385
↓ 2 callersMethodload_plugins
(self)
plugins/plugin_manager.py:179
↓ 2 callersMethodmain
(self)
channel/wechat/wechaty_channel.py:45
↓ 2 callersFunctionparse_markdown_text
解析包含图片和文件链接的混合内容文本。code by sonnet3.5 参数: text (str): Markdown格式文本,包含图片和文件链接 返回: list: 包含不同类型内容(文本、图片、文件)的字典列表,每个字典包含类型和内容键值对
common/utils.py:84
↓ 2 callersFunctionproduce_msg
for messages types * 40 msg, 43 videochat, 50 VOIPMSG, 52 voipnotifymsg * 53 webwxvoipnotifymsg, 9999 sysnotice
lib/itchat/components/messages.py:47
↓ 2 callersFunctionproduce_msg
for messages types * 40 msg, 43 videochat, 50 VOIPMSG, 52 voipnotifymsg * 53 webwxvoipnotifymsg, 9999 sysnotice
lib/itchat/async_components/messages.py:46
↓ 2 callersMethodputleft
(self, item, block=True, timeout=None)
common/dequeue.py:7
↓ 2 callersMethodrefresh_order
(self)
plugins/plugin_manager.py:136
↓ 2 callersMethodreply
bot auto-reply content :param req: received message :return: reply content
bot/bot.py:11
↓ 2 callersMethodreset_bot
重置bot路由
bridge/bridge.py:109
↓ 2 callersFunctionsave_config
()
config.py:360
↓ 2 callersMethodsave_robot_stat
保存机器人状态文件 Args: file_path: 状态文件路径 stat: 状态数据 Returns: bool: 保存是否成功
lib/wxpad/client.py:1706
↓ 2 callersMethodscan_plugins
(self)
plugins/plugin_manager.py:87
↓ 2 callersMethodsearch_mps
(self, name=None, userName=None)
lib/itchat/storage/__init__.py:106
↓ 2 callersMethodsend
send message to user :param msg: message content :param receiver: receiver channel account :return:
channel/channel.py:28
↓ 2 callersMethodsend_app_message
发送App消息 Args: app_list: App消息列表,格式: [ { "ContentType": 0,
lib/wxpad/client.py:737
↓ 2 callersMethodsend_image_message
(self, external_userid, open_kfid, msgid=None, media_id=None)
channel/wechatcs/wechatcomservice_channel.py:194
↓ 2 callersMethodset_api_key
(self)
bot/ali/ali_qwen_bot.py:160
↓ 2 callersMethodset_conversation_id
(self, conversation_id)
bot/dify/dify_session.py:26
↓ 2 callersMethodset_room_info
(self, room_id: str, room_name: str)
bot/dify/dify_session.py:46
↓ 2 callersMethodset_system_prompt
(self, system_prompt)
bot/session_manager.py:20
↓ 2 callersMethodshow_mobile_login
show web wechat login sign the sign is on the top of mobile phone wechat sign will be added after sometime even without calli
lib/itchat/core.py:105
↓ 2 callersFunctionsigterm_handler_wrap
(_signo)
app.py:15
↓ 2 callersMethodstartup
init channel
channel/channel.py:14
↓ 2 callersMethodstop
停止清理器
common/tmp_cleaner.py:57
↓ 2 callersFunctionsubscribe_msg
()
config.py:395
↓ 2 callersFunctiontest_connect
(retryTime=5)
lib/itchat/utils.py:131
↓ 2 callersMethodweb_init
get info necessary for initializing for processing: - own account info is set - inviteStartCount is set
lib/itchat/core.py:95
↓ 2 callersFunctionwrap_user_dict
(d)
lib/itchat/storage/templates.py:306
↓ 1 callersMethodHasKey
(self,c)
plugins/banwords/lib/WordsSearch.py:61
↓ 1 callersMethodSetKeywords
(self,keywords)
plugins/banwords/lib/WordsSearch.py:78
↓ 1 callersMethod__getitem__
(self, key)
bridge/context.py:44
↓ 1 callersMethod__init__
(self)
bridge/bridge.py:14
↓ 1 callersMethod__init__
(self)
channel/wechatcs/wechatcomservice_client.py:10
↓ 1 callersMethod__init__
wcf: 一个 wcfferry.client.Wcf 实例
channel/wechat/wcf_channel.py:146
↓ 1 callersMethod__init__
(self)
channel/dingtalk/dingtalk_channel.py:98
↓ 1 callersMethod__init__
( self, msg_id, content, ctype=ContextType.TEXT, from_user_id="User",
channel/web/web_channel.py:17
↓ 1 callersMethod__init__
(self)
bot/chatgpt/chat_gpt_bot.py:25
↓ 1 callersMethod__nonzero__
(self)
lib/itchat/returnvalues.py:46
↓ 1 callersMethod__setitem__
(self, key, value)
common/expired_dict.py:17
↓ 1 callersMethod__setstate__
(self, state)
lib/itchat/storage/templates.py:59
↓ 1 callersMethod__setstate__
(self, state)
lib/itchat/storage/templates.py:172
↓ 1 callersMethod__setstate__
(self, state)
lib/itchat/storage/templates.py:302
↓ 1 callersMethod__str__
(self)
lib/itchat/returnvalues.py:50
↓ 1 callersMethod__str__
(self)
lib/itchat/storage/templates.py:62
↓ 1 callersMethod__str__
(self)
lib/itchat/storage/templates.py:133
↓ 1 callersMethod__str__
(self)
lib/itchat/storage/messagequeue.py:27
↓ 1 callersMethod_append_message_file
(self, event: dict, merged_message: list)
bot/dify/dify_bot.py:487
↓ 1 callersMethod_build_cached_file_contents
构建包含缓存文件的内容列表(用于引用文件的多模态处理)
bot/gemini/google_gemini_bot.py:283
↓ 1 callersFunction_build_config
()
common/linkai_client.py:86
↓ 1 callersMethod_build_file_contents
构建包含文件的内容列表
bot/gemini/google_gemini_bot.py:263
↓ 1 callersMethod_build_friend_request_reply
(self, context)
channel/chat_channel.py:486
↓ 1 callersMethod_build_session
如果session_id不在sessions中,创建一个新的session并添加到sessions中
bot/bytedance/coze_session.py:42
↓ 1 callersMethod_build_session
如果session_id不在sessions中,创建一个新的session并添加到sessions中
bot/dify/dify_session.py:71
↓ 1 callersMethod_build_tool_kwargs
(self, kwargs: dict)
plugins/tool/tool.py:136
↓ 1 callersMethod_build_vision_msg
(self, query: str, path: str)
bot/linkai/link_ai_bot.py:217
↓ 1 callersMethod_calc_tokens
(self, messages, answer)
bot/bytedance/bytedance_coze_bot.py:159
↓ 1 callersMethod_chat
发起对话请求 :param query: 请求提示词 :param context: 对话上下文 :param retry_count: 当前递归重试次数 :return: 回复
bot/linkai/link_ai_bot.py:47
↓ 1 callersMethod_chat
发起对话请求 :param query: 请求提示词 :param context: 对话上下文 :param retry_count: 当前递归重试次数 :return: 回复
bot/claude/claude_ai_bot.py:121
↓ 1 callersMethod_check_rate_limit
midjourney任务限流控制 :param user_id: 用户id :param e_context: 对话上下文 :return: 任务是否能够生成, True:可以生成, False: 被限流
plugins/linkai/midjourney.py:341
↓ 1 callersMethod_check_url
(self, target_url: str)
plugins/jina_sum/jina_sum.py:733
↓ 1 callersMethod_clean_content
清洗内容,去除无用信息 Args: content: 原始内容 Returns: str: 清洗后的内容
plugins/jina_sum/jina_sum.py:640
↓ 1 callersMethod_clean_expired_msgs
清理过期的消息ID
channel/wechat/wcf_channel.py:99
↓ 1 callersMethod_cleanup_empty_dirs
清理空目录
common/tmp_cleaner.py:147
↓ 1 callersMethod_cleanup_file_cache
清理文件缓存
bot/gemini/google_gemini_bot.py:609
↓ 1 callersMethod_connect_websocket
建立WebSocket连接
channel/wxpad/wxpad_channel.py:449
← previousnext →201–300 of 1,232, ranked by callers