tulir / whatsmeow

Go library for the WhatsApp web multidevice API
https://go.mau.fi/whatsmeow
Mozilla Public License 2.0
2.24k stars 418 forks source link

undefined: store.CompanionProps #278

Closed joeengressia closed 1 year ago

joeengressia commented 1 year ago

error after update to go.mau.fi/whatsmeow v0.0.0-20221113135643-05e0c80bc669

store.CompanionProps.Os = goProto.String("foo")

aldinokemal commented 1 year ago

you can change to

store.DeviceProps.PlatformType = &config.AppPlatform
store.DeviceProps.Os = &osName

here is the example

joeengressia commented 1 year ago

thx @aldinokemal , it works