跳到主要内容

可爱猫

been_friend_added

参数名称类型
raw_eventfrom typing import Dict
botfrom pepperbot.adapters.keaimao.api import KeaimaoPrivateBot
from typing import Dict
from pepperbot.adapters.keaimao.api import KeaimaoPrivateBot


class MyHandler:
async def been_friend_added(
self,
raw_event: Dict,
bot: KeaimaoPrivateBot,
):
pass

group_member_declined

参数名称类型
raw_eventfrom typing import Dict
botfrom pepperbot.adapters.keaimao.api import KeaimaoGroupBot
from typing import Dict
from pepperbot.adapters.keaimao.api import KeaimaoGroupBot


class MyHandler:
async def group_member_declined(
self,
raw_event: Dict,
bot: KeaimaoGroupBot,
):
pass

group_member_increased

参数名称类型
raw_eventfrom typing import Dict
botfrom pepperbot.adapters.keaimao.api import KeaimaoGroupBot
from typing import Dict
from pepperbot.adapters.keaimao.api import KeaimaoGroupBot


class MyHandler:
async def group_member_increased(
self,
raw_event: Dict,
bot: KeaimaoGroupBot,
):
pass

group_message

参数名称类型
raw_eventfrom typing import Dict
botfrom pepperbot.adapters.keaimao.api import KeaimaoGroupBot
chainfrom pepperbot.core.message.chain import MessageChain
from typing import Dict
from pepperbot.adapters.keaimao.api import KeaimaoGroupBot
from pepperbot.core.message.chain import MessageChain


class MyHandler:
async def group_message(
self,
raw_event: Dict,
bot: KeaimaoGroupBot,
chain: MessageChain,
):
pass

private_message

参数名称类型
raw_eventfrom typing import Dict
botfrom pepperbot.adapters.keaimao.api import KeaimaoPrivateBot
chainfrom pepperbot.core.message.chain import MessageChain
from typing import Dict
from pepperbot.adapters.keaimao.api import KeaimaoPrivateBot
from pepperbot.core.message.chain import MessageChain


class MyHandler:
async def private_message(
self,
raw_event: Dict,
bot: KeaimaoPrivateBot,
chain: MessageChain,
):
pass