22 lines
499 B
Python
22 lines
499 B
Python
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
WECHAT_GATEWAY_RPC_METHODS = [
|
||
|
|
"wechat.pairing.list",
|
||
|
|
"wechat.pairing.approve",
|
||
|
|
"wechat.pairing.reject",
|
||
|
|
"wechat.account.list",
|
||
|
|
"wechat.account.status",
|
||
|
|
"wechat.login.qrStart",
|
||
|
|
"wechat.login.qrWait",
|
||
|
|
"wechat.login.status",
|
||
|
|
"wechat.logout",
|
||
|
|
"wechat.config.validate",
|
||
|
|
"wechat.config.reload",
|
||
|
|
"wechat.diagnose",
|
||
|
|
"wechat.repair",
|
||
|
|
]
|
||
|
|
|
||
|
|
|
||
|
|
def list_rpc_methods() -> list[str]:
|
||
|
|
return list(WECHAT_GATEWAY_RPC_METHODS)
|