Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加IMesssage接口并实现 #335

Merged
merged 7 commits into from
Aug 1, 2023
Merged

添加IMesssage接口并实现 #335

merged 7 commits into from
Aug 1, 2023

Conversation

NoahAmethyst
Copy link
Contributor

-- 添加IMesssage接口并实现

  • 添加消息类型接口:IMessage,设定方法:获取消息元素列表,获取聊天id,获取消息文本;以privateMessage,groupMessage,TempMessage实现该接口
    -- 目的
  • 对群聊/私聊/临时消息做出回应有相同的处理逻辑时不用根据消息类型不同定义不同方法

 - 添加消息类型接口:IMessage,设定方法:获取消息元素列表,获取聊天id,获取消息文本;以privateMessage,groupMessage,TempMessage实现该接口
-- 目的:
 - 对群聊/私聊/临时消息做出回应有相同的处理逻辑时不用根据消息类型不同定义不同方法
@NoahAmethyst
Copy link
Contributor Author

NoahAmethyst commented Jun 10, 2023

@Mrs4s cc,and what does the [cc] mean?

@fumiama fumiama merged commit 65a3c56 into Mrs4s:master Aug 1, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants