feature(feature/pin-message): initial/final commit (#959)

This commit is contained in:
Rajeh Taher
2024-08-14 12:09:29 +03:00
committed by GitHub
parent 2dc1afa4ff
commit 020add8b9b
3 changed files with 37 additions and 7 deletions

View File

@@ -156,6 +156,14 @@ export type AnyRegularMessageContent = (
| {
listReply: Omit<proto.Message.IListResponseMessage, 'contextInfo'>
}
| {
pin: WAMessageKey
type: proto.PinInChat.Type
/**
* 24 hours, 7 days, 30 days
*/
time?: 86400 | 604800 | 2592000
}
| {
product: WASendableProduct
businessOwnerJid?: string