Skip to content

Commit

Permalink
✨ Feature: 添加 ButtonInteraction 类型 13 内容 (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
Decrabbityyy authored Sep 4, 2024
1 parent 298e0d2 commit 90dc41b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nonebot/adapters/qq/models/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ class ButtonInteractionContent(BaseModel):
feature_id: Optional[str] = None
button_id: Optional[str] = None
button_data: Optional[str] = None
checked: Optional[int] = None
feedback_opt: Optional[str] = None


class ButtonInteractionData(BaseModel):
Expand All @@ -148,7 +150,7 @@ class ButtonInteractionData(BaseModel):

class ButtonInteraction(BaseModel):
id: str
type: Literal[11, 12]
type: Literal[11, 12, 13]
version: int
timestamp: str
scene: str
Expand Down

0 comments on commit 90dc41b

Please sign in to comment.