Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/5201213/wechatpadpro-on-wechat
/ functions
Functions
1,232 in github.com/5201213/wechatpadpro-on-wechat
⨍
Functions
1,232
◇
Types & classes
166
↓ 519 callers
Method
get
(self, key, default=None)
common/expired_dict.py:21
↓ 406 callers
Function
conf
()
config.py:383
↓ 391 callers
Method
get
(self, key, default=None)
bridge/context.py:52
↓ 329 callers
Method
get
(self, key, default=None)
config.py:256
↓ 128 callers
Method
append
(self, value)
lib/itchat/storage/templates.py:45
↓ 116 callers
Method
update
(self)
lib/itchat/storage/templates.py:148
↓ 100 callers
Method
get
(self, v, d=None)
lib/itchat/storage/templates.py:17
↓ 70 callers
Method
_post_with_user_key
使用普通用户密钥发送POST请求
lib/wxpad/client.py:85
↓ 65 callers
Method
dumps
(self)
lib/itchat/storage/__init__.py:31
↓ 39 callers
Method
loads
(self, j)
lib/itchat/storage/__init__.py:39
↓ 38 callers
Method
path
(self)
common/tmp_dir.py:17
↓ 31 callers
Method
items
(self)
common/sorted_dict.py:45
↓ 19 callers
Method
_compose_context
(self, ctype: ContextType, content, **kwargs)
channel/feishu/feishu_channel.py:228
↓ 19 callers
Method
close
(self)
common/token_bucket.py:35
↓ 17 callers
Function
_set_reply_text
(content: str, e_context: EventContext, level: ReplyType = ReplyType.ERROR)
plugins/linkai/linkai.py:317
↓ 17 callers
Method
produce
(self, context: Context)
channel/chat_channel.py:520
↓ 16 callers
Method
keys
(self)
common/sorted_dict.py:40
↓ 15 callers
Method
_get_with_user_key
使用普通用户密钥发送GET请求
lib/wxpad/client.py:101
↓ 15 callers
Method
clear_session
(self, session_id)
bot/dify/dify_session.py:87
↓ 15 callers
Function
pconf
根据插件名称获取配置 :param plugin_name: 插件名称 :return: 该插件的配置项
config.py:423
↓ 15 callers
Method
send
wrapped function for all the sending functions for options - msg: message starts with different string indicates differen
lib/itchat/core.py:357
↓ 15 callers
Method
session_query
(self, query, user_id, session_id)
bot/bytedance/coze_session.py:89
↓ 15 callers
Method
session_reply
(self, reply, session_id, total_tokens=None, query=None)
bot/linkai/link_ai_bot.py:449
↓ 14 callers
Function
fsize
(file)
common/utils.py:10
↓ 14 callers
Method
start
启动清理器
common/tmp_cleaner.py:35
↓ 12 callers
Method
TryGetValue
(self,c)
plugins/banwords/lib/WordsSearch.py:65
↓ 12 callers
Method
put
(self, message)
lib/itchat/storage/messagequeue.py:12
↓ 12 callers
Method
search_chatrooms
(self, name=None, userName=None)
lib/itchat/storage/__init__.py:94
↓ 11 callers
Function
load_config
()
config.py:323
↓ 10 callers
Method
_get_dify_conf
(self, context: Context, key, default=None)
bot/dify/dify_bot.py:94
↓ 10 callers
Method
download
(self, fileName)
lib/itchat/storage/messagequeue.py:16
↓ 10 callers
Method
get_contact
fetch part of contact for part - all the massive platforms and friends are fetched - if update, only star
lib/itchat/core.py:165
↓ 10 callers
Function
remove_markdown_symbol
移除markdown格式符号,包括: 1. 标题符号 (#) 2. 列表符号 (-) 3. 加粗和斜体符号 (*) Args: text (str): 包含markdown格式的文本 Returns:
common/utils.py:176
↓ 10 callers
Method
send_text_message
(self, external_userid, open_kfid, content, msgid=None)
channel/wechatcs/wechatcomservice_channel.py:180
↓ 9 callers
Method
clear_all_session
(self)
bot/dify/dify_session.py:91
↓ 9 callers
Method
load_config
加载当前插件配置 :return: 插件配置字典
plugins/plugin.py:11
↓ 9 callers
Method
send_image
发送图片,支持多种数据格式,直接转换为base64发送 Args: image_data: 图片数据,支持以下格式: - str: 本地文件路径、图片URL或base64数据 - by
channel/wxpad/wxpad_channel.py:1466
↓ 8 callers
Method
_send_request
(self, method, endpoint, json=None, params=None, stream=False)
lib/dify/dify_client.py:9
↓ 8 callers
Method
_set_reply_text
设置回复文本 :param content: 回复内容 :param e_context: 对话上下文 :param level: 回复等级
plugins/linkai/midjourney.py:381
↓ 8 callers
Method
get_bot
(self, typename)
bridge/bridge.py:76
↓ 8 callers
Method
reset
(self)
bot/deepseek/deepseek_session.py:11
↓ 8 callers
Method
start
AI卡片的创建接口 :param support_forward: :param recipients: :param card_template_id: :param card_data: :retu
channel/dingtalk/dingtalk_channel.py:34
↓ 8 callers
Function
update_info_dict
only normal values will be updated here because newInfoDict is normal dict, so it's not necessary to consider templates
lib/itchat/utils.py:155
↓ 7 callers
Method
update_chatroom
update chatroom for chatroom contact - a chatroom contact need updating to be detailed - detailed means m
lib/itchat/core.py:142
↓ 6 callers
Method
_extract_str
提取字符串值
channel/wxpad/wxpad_channel.py:554
↓ 6 callers
Method
_fill_file_base_url
(self, url: str)
bot/dify/dify_bot.py:393
↓ 6 callers
Function
_find_user_id
(context)
plugins/linkai/linkai.py:310
↓ 6 callers
Method
build_session
如果session_id不在sessions中,创建一个新的session并添加到sessions中 如果system_prompt不会空,会更新session的system_prompt并重置session
bot/session_manager.py:49
↓ 6 callers
Method
clear_session
(self, session_id)
bot/session_manager.py:86
↓ 6 callers
Function
compress_imgfile
(file, max_size)
common/utils.py:25
↓ 6 callers
Method
fetch_access_token
(self)
channel/wechatcs/wechatcomservice_client.py:56
↓ 6 callers
Method
get_user_data
(self, user)
config.py:271
↓ 6 callers
Method
prepare
(self)
channel/chat_message.py:65
↓ 6 callers
Method
prepare
(self)
channel/wxpad/wxpad_message.py:850
↓ 6 callers
Method
save_config
(self)
plugins/plugin_manager.py:45
↓ 6 callers
Method
search_friends
(self, name=None, userName=None, remarkName=None, nickName=None, wechatAccount=None)
lib/itchat/storage/__init__.py:62
↓ 6 callers
Method
upload_file
upload file to server and get mediaId for options - fileDir: dir for file ready for upload - isPicture: w
lib/itchat/core.py:312
↓ 5 callers
Method
__init__
(self, *args, **kwargs)
lib/itchat/storage/templates.py:145
↓ 5 callers
Function
check_prefix
(content, prefix_list)
channel/chat_channel.py:582
↓ 5 callers
Method
get_msg
fetch messages for fetching - method blocks for sometime until - new messages are to be received
lib/itchat/core.py:124
↓ 5 callers
Function
get_qrcode_image
()
web_ui.py:190
↓ 5 callers
Function
init_db
()
database/group_members_db.py:7
↓ 5 callers
Method
is_pass
(self)
plugins/event.py:51
↓ 5 callers
Method
logout
logout if core is now alive logout will tell wechat backstage to logout and core gets ready for another login
lib/itchat/core.py:134
↓ 5 callers
Method
run
start auto respond for option - debug: if set, debug info will be shown on screen it is defined in components
lib/itchat/core.py:442
↓ 5 callers
Method
send_file
(self, fileDir, mediaId=None)
lib/itchat/storage/templates.py:282
↓ 5 callers
Method
send_image
(self, fileDir, mediaId=None)
lib/itchat/storage/templates.py:287
↓ 5 callers
Method
send_msg
(self, msg='Test Message')
lib/itchat/storage/templates.py:277
↓ 5 callers
Method
send_video
send video for options - fileDir: dir for file ready for upload - if mediaId is set, it's unnecessary
lib/itchat/core.py:346
↓ 5 callers
Method
send_video
(self, fileDir=None, mediaId=None)
lib/itchat/storage/templates.py:292
↓ 5 callers
Function
split_audio
分割音频文件
voice/audio_convert.py:319
↓ 5 callers
Function
update_local_chatrooms
get a list of chatrooms for updating local chatrooms return a list of given chatrooms with updated info
lib/itchat/components/contact.py:110
↓ 5 callers
Function
update_local_chatrooms
get a list of chatrooms for updating local chatrooms return a list of given chatrooms with updated info
lib/itchat/async_components/contact.py:102
↓ 5 callers
Function
update_local_friends
get a list of friends or mps for updating local contact
lib/itchat/components/contact.py:181
↓ 5 callers
Function
update_local_friends
get a list of friends or mps for updating local contact
lib/itchat/async_components/contact.py:171
↓ 5 callers
Function
write_plugin_config
写入插件全局配置 :param pconf: 全量插件配置
config.py:405
↓ 4 callers
Method
SetResults
(self,index)
plugins/banwords/lib/WordsSearch.py:35
↓ 4 callers
Method
__setstate__
(self, state)
lib/itchat/storage/templates.py:163
↓ 4 callers
Method
_cleanup_image_cache
清理图片缓存
bot/gemini/google_gemini_bot.py:599
↓ 4 callers
Method
_fill_file_base_url
(self, url: str)
bot/bytedance/bytedance_coze_bot.py:185
↓ 4 callers
Method
_generate_content
生成内容回复
bot/gemini/google_gemini_bot.py:334
↓ 4 callers
Method
_handle_text_message
处理纯文本消息
bot/gemini/google_gemini_bot.py:107
↓ 4 callers
Method
activate_plugins
(self)
plugins/plugin_manager.py:140
↓ 4 callers
Method
dump_login_status
dump login status to a specific file for option - fileDir: dir for dumping login status it is defined in comp
lib/itchat/core.py:378
↓ 4 callers
Method
emit_event
(self, e_context: EventContext, *args, **kwargs)
plugins/plugin_manager.py:191
↓ 4 callers
Method
fetch_app_plugin
(app_code: str, plugin_name: str)
plugins/linkai/utils.py:33
↓ 4 callers
Function
func
(_signo, _stack_frame)
app.py:18
↓ 4 callers
Method
get_bot_type
(self, typename)
bridge/bridge.py:89
↓ 4 callers
Method
get_name_by_wxid
通过wxid,获取成员/群名称
channel/wechat/wcf_channel.py:172
↓ 4 callers
Function
get_wxpad_profile
获取wxpad用户信息并下载头像,仅在用户在线时返回信息
web_ui.py:41
↓ 4 callers
Method
is_admin
判断消息是否由管理员用户发送 :param e_context: 消息上下文 :return: True: 是, False: 否
plugins/linkai/utils.py:10
↓ 4 callers
Method
login
log in like web wechat does for log in - a QR code will be downloaded and opened - then scanning status i
lib/itchat/core.py:29
↓ 4 callers
Method
reload
(self)
plugins/plugin.py:51
↓ 4 callers
Method
reply_text
call bailian's ChatCompletion to get the answer :param session: a conversation session :param retry_count: retry count
bot/ali/ali_qwen_bot.py:105
↓ 4 callers
Method
send_cdn_download
下载请求 Args: aes_key: AES密钥 file_type: 文件类型 file_url: 文件URL user_key: 普通用户密钥(可选,优先使用传入值,否则从配置文件
lib/wxpad/client.py:759
↓ 4 callers
Method
set_default_value
(self, initFunction=None, contactClass=None)
lib/itchat/storage/templates.py:40
↓ 4 callers
Function
split_string_by_utf8_length
(string, max_length, max_split=0)
common/utils.py:40
↓ 4 callers
Method
start_receiving
open a thread for heart loop and receiving messages for options: - exitCallback: callback after logged out
lib/itchat/core.py:112
↓ 4 callers
Function
verify_server
(data)
channel/wechatmp/common.py:15
↓ 3 callers
Method
Add
(self,c)
plugins/banwords/lib/WordsSearch.py:26
next →
1–100 of 1,232, ranked by callers