feat: allow passing of url info in text message

This commit is contained in:
Adhiraj Singh
2022-04-20 20:30:11 +05:30
parent ac17225cf3
commit 5655961d12
2 changed files with 15 additions and 9 deletions

View File

@@ -103,6 +103,7 @@ export type AnyMediaMessageContent = (
export type AnyRegularMessageContent = (
({
text: string
linkPreview?: WAUrlInfo
}
& Mentionable & Buttonable & Templatable & Listable) |
AnyMediaMessageContent |