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
↓ 1 callers
Function
load_login
(core)
lib/itchat/components/login.py:30
↓ 1 callers
Function
load_login
(core)
lib/itchat/async_components/login.py:25
↓ 1 callers
Function
load_messages
(core)
lib/itchat/components/messages.py:16
↓ 1 callers
Function
load_messages
(core)
lib/itchat/async_components/messages.py:15
↓ 1 callers
Function
load_register
(core)
lib/itchat/components/register.py:13
↓ 1 callers
Function
load_register
(core)
lib/itchat/async_components/register.py:13
↓ 1 callers
Method
load_robot_stat
加载机器人状态文件 Args: file_path: 状态文件路径 Returns: dict: 状态数据,如果文件不存在返回None
lib/wxpad/client.py:1685
↓ 1 callers
Function
load_sync_itchat
load sync-based itchat instance Returns: Core: the abstract interface of itchat
lib/itchat/__init__.py:27
↓ 1 callers
Method
load_user_datas
(self)
config.py:276
↓ 1 callers
Method
logout
退出登录 Args: user_key: 普通用户密钥(从管理接口生成,必需) Returns: 退出结果
lib/wxpad/client.py:308
↓ 1 callers
Method
make_md5
(self, s, encoding="utf-8")
translate/baidu/baidu_translate.py:48
↓ 1 callers
Method
model_mapping
(self, model)
plugins/godcmd/godcmd.py:530
↓ 1 callers
Method
node_id
(self)
bot/ali/ali_qwen_bot.py:44
↓ 1 callers
Function
num_tokens_by_character
Returns the number of tokens used by a list of messages.
bot/chatgpt/chat_gpt_session.py:99
↓ 1 callers
Function
num_tokens_from_messages
(messages)
bot/dashscope/dashscope_session.py:46
↓ 1 callers
Function
num_tokens_from_messages
(messages, model)
bot/modelscope/modelscope_session.py:47
↓ 1 callers
Function
num_tokens_from_messages
Returns the number of tokens used by a list of messages.
bot/ali/ali_qwen_session.py:54
↓ 1 callers
Function
num_tokens_from_messages
Returns the number of tokens used by a list of messages.
bot/chatgpt/chat_gpt_session.py:57
↓ 1 callers
Function
num_tokens_from_messages
(messages, model)
bot/moonshot/moonshot_session.py:47
↓ 1 callers
Function
num_tokens_from_messages
(messages, model)
bot/zhipuai/zhipu_ai_session.py:49
↓ 1 callers
Function
num_tokens_from_messages
Returns the number of tokens used by a list of messages.
bot/minimax/minimax_session.py:64
↓ 1 callers
Function
num_tokens_from_messages
Returns the number of tokens used by a list of messages.
bot/baidu/baidu_wenxin_session.py:46
↓ 1 callers
Function
num_tokens_from_string
Returns the number of tokens in a text string.
bot/openai/open_ai_session.py:67
↓ 1 callers
Method
post_message
Handle incoming messages from users via POST request.
channel/web/web_channel.py:135
↓ 1 callers
Function
process_login_info
when finish login (scanning qrcode) * syncUrl and fileUploadingUrl will be fetched * deviceid and msgid will be generated * skey, wxsi
lib/itchat/components/login.py:166
↓ 1 callers
Function
process_login_info
when finish login (scanning qrcode) * syncUrl and fileUploadingUrl will be fetched * deviceid and msgid will be generated * skey, wxsi
lib/itchat/async_components/login.py:190
↓ 1 callers
Method
process_mj_task
处理mj任务 :param mj_type: mj任务类型 :param e_context: 对话上下文
plugins/linkai/midjourney.py:106
↓ 1 callers
Function
produce_group_chat
(core, msg)
lib/itchat/components/messages.py:227
↓ 1 callers
Function
produce_group_chat
(core, msg)
lib/itchat/async_components/messages.py:226
↓ 1 callers
Function
push_login
(core)
lib/itchat/components/login.py:98
↓ 1 callers
Function
push_login
(core)
lib/itchat/async_components/login.py:126
↓ 1 callers
Function
read_file
(path)
config.py:378
↓ 1 callers
Method
reload_plugin
(self, name: str)
plugins/plugin_manager.py:165
↓ 1 callers
Function
remove_plugin_config
移除待重新加载的插件全局配置 :param name: 待重载的插件名
config.py:414
↓ 1 callers
Function
reply_fn
()
lib/itchat/components/register.py:91
↓ 1 callers
Function
reply_fn
()
lib/itchat/async_components/register.py:91
↓ 1 callers
Method
reply_text
call openai's ChatCompletion to get the answer :param session: a conversation session :param session_id: session id :
bot/dashscope/dashscope_bot.py:76
↓ 1 callers
Method
reply_text
call openai's ChatCompletion to get the answer :param session: a conversation session :param session_id: session id :
bot/modelscope/modelscope_bot.py:102
↓ 1 callers
Method
reply_text
(self, session: BaiduWenxinSession, retry_count=0)
bot/claudeapi/claude_api_bot.py:76
↓ 1 callers
Method
reply_text
使用Deepseek API生成回复
bot/deepseek/deepseek_bot.py:76
↓ 1 callers
Method
reply_text
call openai's ChatCompletion to get the answer :param session: a conversation session :param session_id: session id :
bot/chatgpt/chat_gpt_bot.py:120
↓ 1 callers
Method
reply_text
call openai's ChatCompletion to get the answer :param session: a conversation session :param session_id: session id :
bot/moonshot/moonshot_bot.py:85
↓ 1 callers
Method
reply_text
call openai's ChatCompletion to get the answer :param session: a conversation session :param session_id: session id :
bot/zhipuai/zhipuai_bot.py:93
↓ 1 callers
Method
reply_text
(self, session: OpenAISession, retry_count=0)
bot/openai/open_ai_bot.py:84
↓ 1 callers
Method
reply_text
call openai's ChatCompletion to get the answer :param session: a conversation session :param session_id: session id :
bot/minimax/minimax_bot.py:97
↓ 1 callers
Method
reply_text
(self, session: BaiduWenxinSession, retry_count=0)
bot/baidu/baidu_wenxin.py:77
↓ 1 callers
Method
reply_text_stream
call ModelScope's ChatCompletion to get the answer with stream response :param session: a conversation session :param session
bot/modelscope/modelscope_bot.py:170
↓ 1 callers
Method
reset
(self)
bot/session_manager.py:16
↓ 1 callers
Method
reset
(self)
plugins/dungeon/dungeon.py:23
↓ 1 callers
Method
reset
(self)
plugins/role/role.py:24
↓ 1 callers
Method
revoke_msg
撤销消息 Args: client_msg_id: 客户端消息ID create_time: 创建时间 new_msg_id: 新消息ID to_user_name: 接收者用户名
lib/wxpad/client.py:695
↓ 1 callers
Function
run
()
app.py:43
↓ 1 callers
Method
save_config
(self, config: dict)
plugins/plugin.py:31
↓ 1 callers
Function
save_group_info
保存群名称到现有表
database/group_members_db.py:66
↓ 1 callers
Function
save_group_members_to_db
(group_id, members)
database/group_members_db.py:31
↓ 1 callers
Method
save_user_datas
(self)
config.py:287
↓ 1 callers
Method
search_chatrooms
(self, name=None, userName=None)
lib/itchat/core.py:453
↓ 1 callers
Method
send_emoji_message
发送表情 Args: emoji_list: 表情列表,格式: [ { "EmojiMd5": "",
lib/wxpad/client.py:778
↓ 1 callers
Method
send_image_new_message
发送图片消息(New) Args: msg_item: 消息项列表,格式: [ { "AtWxIDList": ["string"],
lib/wxpad/client.py:824
↓ 1 callers
Method
send_link_message
(self, external_userid, open_kfid, link_data, msgid=None)
channel/wechatcs/wechatcomservice_channel.py:230
↓ 1 callers
Method
send_revised_prompt
(self, context, revised_prompt, query)
bot/openai/open_ai_image.py:52
↓ 1 callers
Method
send_voice_message
(self, external_userid, open_kfid, media_id, msgid=None)
channel/wechatcs/wechatcomservice_channel.py:212
↓ 1 callers
Method
session_msg_query
(self, query, session_id)
bot/linkai/link_ai_bot.py:444
↓ 1 callers
Method
session_query
(self, query, session_id)
bot/session_manager.py:64
↓ 1 callers
Method
session_reply
(self, reply, session_id, total_tokens=None)
bot/session_manager.py:75
↓ 1 callers
Method
session_reply
(self, reply, user_id, session_id, total_tokens=None)
bot/bytedance/coze_session.py:100
↓ 1 callers
Method
set
(self, key, value)
config.py:264
↓ 1 callers
Method
set_chatroom_name
set chatroom name for setting - it makes an updating of chatroom - which means detailed info will be retu
lib/itchat/core.py:252
↓ 1 callers
Method
set_conversation_id
(self, conversation_id)
bot/bytedance/coze_session.py:35
↓ 1 callers
Method
set_pinned
(self, isPinned=True)
lib/itchat/storage/templates.py:155
↓ 1 callers
Method
set_plugin_priority
(self, name: str, priority: int)
plugins/plugin_manager.py:203
↓ 1 callers
Method
set_reply_text
(content: str, e_context: EventContext, level: ReplyType = ReplyType.ERROR)
plugins/linkai/utils.py:27
↓ 1 callers
Method
setup_logger
(self)
channel/dingtalk/dingtalk_channel.py:89
↓ 1 callers
Method
share_card_message
分享名片消息 Args: card_alias: 名片别名 card_flag: 名片标志 card_nick_name: 名片昵称 card_wx_id: 名片微信ID
lib/wxpad/client.py:893
↓ 1 callers
Method
sign_request
为阿里云服务签名请求。 参数: - parameters (dict): 请求的参数字典。 返回值: - str: 请求的签名签章。
voice/ali/ali_api.py:142
↓ 1 callers
Function
sil_to_wav
silk 文件转 wav
voice/audio_convert.py:310
↓ 1 callers
Function
speech_to_text_aliyun
使用阿里云的语音识别服务识别音频文件中的语音。 参数: - url (str): 阿里云语音识别服务的端点URL。 - audioContent (byte): pcm音频数据。 - appkey (str): 您的阿里云appkey。 - tok
voice/ali/ali_api.py:65
↓ 1 callers
Method
sse_handler
Handle Server-Sent Events (SSE) for real-time communication.
channel/web/web_channel.py:102
↓ 1 callers
Function
start_channel
(channel_name: str)
web_ui.py:101
↓ 1 callers
Function
start_channel
(channel_name: str)
app.py:28
↓ 1 callers
Function
start_run
()
web_ui.py:135
↓ 1 callers
Method
startup
(self)
channel/wechat/wechat_channel.py:147
↓ 1 callers
Method
summary_chat
(self, summary_id: str)
plugins/linkai/summary.py:35
↓ 1 callers
Method
summary_file
(self, file_path: str, app_code: str)
plugins/linkai/summary.py:12
↓ 1 callers
Method
summary_url
(self, url: str, app_code: str)
plugins/linkai/summary.py:25
↓ 1 callers
Function
sync_check
(self)
lib/itchat/components/login.py:350
↓ 1 callers
Function
sync_check
(self)
lib/itchat/async_components/login.py:352
↓ 1 callers
Method
temperature
(self)
bot/ali/ali_qwen_bot.py:47
↓ 1 callers
Method
textToVoice
Send text to voice service and get voice
voice/voice.py:13
↓ 1 callers
Function
text_to_speech_aliyun
使用阿里云的文本转语音服务将文本转换为语音。 参数: - url (str): 阿里云文本转语音服务的端点URL。 - text (str): 要转换为语音的文本。 - appkey (str): 您的阿里云appkey。 - token (str
voice/ali/ali_api.py:26
↓ 1 callers
Method
top_p
(self)
bot/ali/ali_qwen_bot.py:50
↓ 1 callers
Method
translate
Translate text from one language to another
translate/translator.py:8
↓ 1 callers
Method
uninstall_plugin
(self, name: str)
plugins/plugin_manager.py:324
↓ 1 callers
Method
update
更新缓存:调用 get_contacts(), 再把 wcf.contacts 构建成 {wxid: {完整信息}} 的字典
channel/wechat/wcf_channel.py:153
↓ 1 callers
Method
update_api_key_if_expired
(self)
bot/ali/ali_qwen_bot.py:165
↓ 1 callers
Function
update_chatroom
(self, userName, detailedMember=False)
lib/itchat/components/contact.py:33
↓ 1 callers
Function
update_chatroom
(self, userName, detailedMember=False)
lib/itchat/async_components/contact.py:29
↓ 1 callers
Function
update_friend
(self, userName)
lib/itchat/components/contact.py:86
↓ 1 callers
Function
update_friend
(self, userName)
lib/itchat/async_components/contact.py:79
↓ 1 callers
Function
update_local_uin
content contains uins and StatusNotifyUserName contains username they are in same order, so what I do is to pair them together
lib/itchat/components/contact.py:206
← previous
next →
501–600 of 1,232, ranked by callers