feat: customize link preview image width

This commit is contained in:
Adhiraj Singh
2022-04-19 19:12:24 +05:30
parent ab65a4dad9
commit f421f5d387
4 changed files with 19 additions and 7 deletions

View File

@@ -37,6 +37,7 @@ const BASE_CONNECTION_CONFIG: CommonSocketConfig<any> = {
export const DEFAULT_CONNECTION_CONFIG: SocketConfig = {
...BASE_CONNECTION_CONFIG,
waWebSocketUrl: 'wss://web.whatsapp.com/ws/chat',
linkPreviewImageThumbnailWidth: 192,
getMessage: async() => undefined
}