Type alias ChatModification
ChatModification: { archive: boolean; lastMessages: LastMessageList; } | { pushNameSetting: string; } | { pin: boolean; } | { mute: number | null; } | { clear: "all" | { messages: { fromMe?: boolean; id: string; timestamp: number; }[]; }; } | { star: { messages: { fromMe?: boolean; id: string; }[]; star: boolean; }; } | { lastMessages: LastMessageList; markRead: boolean; } | { delete: true; lastMessages: LastMessageList; } | { addChatLabel: ChatLabelAssociationActionBody; } | { removeChatLabel: ChatLabelAssociationActionBody; } | { addMessageLabel: MessageLabelAssociationActionBody; } | { removeMessageLabel: MessageLabelAssociationActionBody; } Type declaration
clear: "all" | {
messages: {
fromMe?: boolean;
id: string;
timestamp: number;
}[];
}
Type declaration
star: {
messages: {
fromMe?: boolean;
id: string;
}[];
star: boolean;
}
messages: {
fromMe?: boolean;
id: string;
}[]
star: boolean
Type declaration
addChatLabel: ChatLabelAssociationActionBody
Type declaration
removeChatLabel: ChatLabelAssociationActionBody
Type declaration
addMessageLabel: MessageLabelAssociationActionBody
Type declaration
removeMessageLabel: MessageLabelAssociationActionBody
mute for duration, or provide timestamp of mute to remove