We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a7f732 commit 14244faCopy full SHA for 14244fa
src/types.ts
@@ -970,6 +970,7 @@ export type BanUserOptions<StreamChatGenerics extends ExtendableGenerics = Defau
970
ip_ban?: boolean;
971
reason?: string;
972
timeout?: number;
973
+ delete_messages?: DeleteMessagesOptions;
974
};
975
976
export type ChannelOptions = {
@@ -3508,11 +3509,14 @@ export type CustomCheckFlag = {
3508
3509
3510
3511
3512
+export type DeleteMessagesOptions = 'soft' | 'hard';
3513
+
3514
export type SubmitActionOptions = {
3515
ban?: {
3516
channel_ban_only?: boolean;
3517
3518
3519
3520
3521
delete_message?: {
3522
hard_delete?: boolean;
0 commit comments