sceyt-chat-react-uikit 1.8.9 → 1.9.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sceyt-chat-react-uikit",
3
- "version": "1.8.9",
3
+ "version": "1.9.0-beta.10",
4
4
  "description": "Interactive React UI Components for Sceyt Chat.",
5
5
  "author": "Sceyt",
6
6
  "license": "MIT",
package/types/index.d.ts CHANGED
@@ -142,6 +142,12 @@ export interface IPollDetails {
142
142
  closedAt: number;
143
143
  closed: boolean;
144
144
  }
145
+ export interface IPinDetails {
146
+ pinned: boolean;
147
+ pinnedTill?: Date;
148
+ /** `SHARED` (0) or `PERSONAL` (1), supplied by `Message.pin_details`. */
149
+ pinType?: number;
150
+ }
145
151
  export interface IMessage {
146
152
  id: string;
147
153
  tid?: string;
@@ -167,6 +173,7 @@ export interface IMessage {
167
173
  mentionedUsers: IUser[];
168
174
  requestedMentionUserIds: string[] | null;
169
175
  parentMessage: IMessage | null;
176
+ parentMessageId?: string;
170
177
  bodyAttributes: IBodyAttribute[] | [];
171
178
  parentId?: string;
172
179
  repliedInThread?: boolean;
@@ -180,6 +187,7 @@ export interface IMessage {
180
187
  user: IUser;
181
188
  };
182
189
  pollDetails?: IPollDetails;
190
+ pinDetails?: IPinDetails;
183
191
  viewOnce?: boolean;
184
192
  }
185
193
  export interface IMember extends IUser {