Skip to content

Commit 21dcaa0

Browse files
committed
(types) add select message
1 parent 8f8c7ca commit 21dcaa0

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

types/index.d.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,14 @@ export interface CustomAction {
8787

8888
export type CustomActions = CustomAction[]
8989

90+
export interface MessageAction {
91+
name: string
92+
title: string
93+
onlyMe?: boolean
94+
}
95+
96+
export type MessageActions = MessageAction[]
97+
9098
export interface TextFormatting {
9199
disabled?: boolean
92100
italic?: string
@@ -167,7 +175,8 @@ export interface Props {
167175
'messages-loaded'?: boolean
168176
'room-actions'?: CustomActions
169177
'menu-actions'?: CustomActions
170-
'message-actions'?: CustomActions
178+
'message-actions'?: MessageActions
179+
'message-selection-actions'?: CustomActions
171180
'templates-text'?: TemplatesText
172181
'auto-scroll'?: AutoScroll
173182
'show-search'?: boolean

0 commit comments

Comments
 (0)