WhiskeySockets / BaileysCSharp

Lightweight full-featured C# WhatsApp Web API
63 stars 21 forks source link

SendPresenceUpdate make public #14

Closed viniciusverasdossantos closed 5 months ago

viniciusverasdossantos commented 5 months ago

I need to update the status by typing. The SendPresenceUpdate method is private. Can you make it public?

private void SendPresenceUpdate(WAPresence type, string toJid = "")

GarethWright commented 5 months ago

This is open source...what's preventing you from making it public yourself?

viniciusverasdossantos commented 5 months ago

Nothing...I've already done it...These methods are used by the typescript community...they will definitely need it too. Ideally it should stay in the original branch