Add channel to conversation
This commit is contained in:
@@ -3946,6 +3946,8 @@ export interface UpdateConversationSettingsRequest {
|
||||
export interface ConversationAccessDto {
|
||||
canUse: boolean;
|
||||
canCreateGroup: boolean;
|
||||
/** ساخت کانال — فعلاً همان مجوز ساخت گروه */
|
||||
canCreateChannel: boolean;
|
||||
}
|
||||
|
||||
export interface ConversationSessionDto {
|
||||
@@ -3966,7 +3968,7 @@ export interface ConversationPeerDto {
|
||||
export interface ConversationRoomDto {
|
||||
id: string;
|
||||
externalRoomId: string;
|
||||
kind: "dm" | "group";
|
||||
kind: "dm" | "group" | "channel";
|
||||
name: string;
|
||||
unreadCount: number;
|
||||
lastMessagePreview: string | null;
|
||||
@@ -3974,6 +3976,8 @@ export interface ConversationRoomDto {
|
||||
peerUserId: string | null;
|
||||
/** سنجاق در لیست گفتگو — فقط برای کاربر جاری */
|
||||
pinned?: boolean;
|
||||
/** در کانال: آیا کاربر جاری میتواند پیام بفرستد */
|
||||
canPost?: boolean;
|
||||
}
|
||||
|
||||
export interface ConversationPinnedMessageDto {
|
||||
|
||||
Reference in New Issue
Block a user