feat(moderation): add chat bans list endpoint with admin access checks
Some checks are pending
CI / test (push) Has started running
Some checks are pending
CI / test (push) Has started running
This commit is contained in:
@@ -111,3 +111,10 @@ class ChatInviteLinkRead(BaseModel):
|
||||
|
||||
class ChatJoinByInviteRequest(BaseModel):
|
||||
token: str = Field(min_length=8, max_length=64)
|
||||
|
||||
|
||||
class ChatBanRead(BaseModel):
|
||||
chat_id: int
|
||||
user_id: int
|
||||
banned_by_user_id: int
|
||||
created_at: datetime
|
||||
|
||||
Reference in New Issue
Block a user