feat(invites): add group/channel invite links and join by token
This commit is contained in:
@@ -87,3 +87,13 @@ class ChatNotificationSettingsRead(BaseModel):
|
||||
|
||||
class ChatNotificationSettingsUpdate(BaseModel):
|
||||
muted: bool
|
||||
|
||||
|
||||
class ChatInviteLinkRead(BaseModel):
|
||||
chat_id: int
|
||||
token: str
|
||||
invite_url: str
|
||||
|
||||
|
||||
class ChatJoinByInviteRequest(BaseModel):
|
||||
token: str = Field(min_length=8, max_length=64)
|
||||
|
||||
Reference in New Issue
Block a user