!whatsmeow-v9:maunium.net

WhatsMeow

829 Members
Discussion about whatsmeow | https://github.com/tulir/whatsmeow48 Servers

Load older messages


SenderMessageTime
3 Dec 2022
@tamilvip007:matrix.orgTAMILVIP007it responds to message deletion too22:07:28
@tulir:maunium.nettuliryou always get all events22:08:00
@tamilvip007:matrix.orgTAMILVIP007
func eventHandler(evt interface{}) {
	switch v := evt.(type) {
	case *events.Message:
		SendResponse(v)
	}
}

i am using this code anyway to know that the event if triggered for deleting message?

22:10:52
@tamilvip007:matrix.orgTAMILVIP007 *
func eventHandler(evt interface{}) {
	switch v := evt.(type) {
	case *events.Message:
		SendResponse(v)
	}
}

i am using this code to capture event. Anyway to know that the event if triggered for deleting message?

22:11:05
@tamilvip007:matrix.orgTAMILVIP007 *
func eventHandler(evt interface{}) {
	switch v := evt.(type) {
	case *events.Message:
		SendResponse(v)
	}
}

i am using this code to capture event. Anyway to know that the event is triggered for deleting message?

22:11:27
@tulir:maunium.nettulir v.Message.ProtocolMessage != nil && v.Message.ProtocolMessage.GetType() == waProto.ProtocolMessage_REVOKE 22:12:20
@tamilvip007:matrix.orgTAMILVIP007
In reply to @tulir:maunium.net
v.Message.ProtocolMessage != nil && v.Message.ProtocolMessage.GetType() == waProto.ProtocolMessage_REVOKE
thanks it worked
22:14:30
4 Dec 2022
@github:maunium.netGitHub [tulir/whatsmeow] iamatulsingh opened issue #292: How to save chat message in sqlite db?

I couldn't find anyway to save chat data to database.

00:33:27
@github:maunium.netGitHub [tulir/whatsmeow] Ased2235 commented on issue #292: How to save chat message in sqlite db?:

I'm pretty sure you have to use your own logic for that, i'm using mongodb

04:11:13
@github:maunium.netGitHub [tulir/whatsmeow] ezesculli opened issue #293: Is it production ready? Is this ready for a SaaS product?

Hi, I would like to know:

  • Are there SaaS companies using this? Have they faced any issues?
  • Any big company using it on a big scale? (>1000 instances)
  • Any notice or information about WhatsApp limiting this in the future? Or banning WhatsApp numbers using this API?
  • Any limitations or known issues that come when you're using this at scale?

Thanks in advance!

04:46:03
@tamilvip007:matrix.orgTAMILVIP007how can i send message to a broadcast group06:20:26
@tamilvip007:matrix.orgTAMILVIP007also receive event from broadcast chat06:20:40
@github:maunium.netGitHub [tulir/whatsmeow] tulir closed issue #292: How to save chat message in sqlite db? 09:47:50
@github:maunium.netGitHub [tulir/whatsmeow] Paguiar735 commented on issue #293: Is it production ready? Is this ready for a SaaS product?:

Hi, I would like to know:

  • Are there SaaS companies using this? Have they faced any issues?
  • Any big company using it on a big scale? (>1000 instances)
  • Any notice or information about WhatsApp limiting this in the future? Or banning WhatsApp numbers using this API?
  • Any limitations or known issues that come when you're using this at scale?

Thanks in advance!

Given the project's MPL-licensed, ie. it in short allows you to keep your source code private, alongside the fact that WhatsApp's averse to any type of automation that it considers to be "Harm[ful] to WhatsApp or Our Users" in its platform, unless it's coming from an official WhatsApp Businesses API partner [1], we can't stress enough that the project's not intended to be used as a SaaS or at scale since that would be against WhatsApp's ToS [2], so expect retaliation from Meta if you don't abide by the ToS you agreed to upon joining WhatsApp: having your WhatsApp account banned, your public IP blacklisted and more.

If you're the spokesperson for a business that plans to integrate WhatsApp into their workflow, you should reach out to an official WhatsApp Business API partner [1] and they'll walk you through a strict Meta application process so you can obtain a WhatsApp Business API key. Once you have it, they'll build a tailored solution – or provide you with low-end tool to do it yourself – you agreed to upon closing a deal with them.

None of this should be a problem for businesses, because if they plan to use it at scale then they surely have the time and money to undergo this process and can definitely afford the costs associated with holding a WhatsApp Businesses API key.

By the way, be wary of whoever claims to be partners with Meta or its platforms: unless they're listed in any of the official Meta Businesses Partners Repository [2], they're lying.

[1] https://www.facebook.com/business/partner-directory [2] https://www.whatsapp.com/legal/terms-of-service/?lang=en

09:50:05
@github:maunium.netGitHub [tulir/whatsmeow] Paguiar735 commented on issue #28: Logout after scan QRcode:

Gelpiu-developers' advice [1] applies for whatsmeow as well:

Hi guys! Here's what works for me. Instead of scanning [th]e QR code right away, I have to open the WhatsApp App in a real or virtual device and wait until all messages are synced in that device. Once it has received all messages, then I scan the QR code again, and it works. Hope it helps.

WhatsApp itself says why that's so:

We logged you out of your linked devices due to an unexpected issue with syncing data from your phone. Protecting the privacy of your messages is important to us. When we can’t verify your data is syncing properly between devices, we automatically log you out as an extra precaution.

[1] https://github.com/adiwajshing/Baileys/issues/1206#issuecomment-1224069759 [2] https://faq.whatsapp.com/819116645902042

09:59:51
@paguiar735:matrix.orgpaguiar735I noticed there are some "Issues" open in the whatsmeow repo, even though some of the problems raised have already been solved. Is there such a thing as "voting to close" on the whatsmeow repo or on GitHub in general?10:04:06
@tulir:maunium.nettulirnot really, just commenting10:12:38
@tulir:maunium.nettulir
In reply to @tamilvip007:matrix.org
how can i send message to a broadcast group
whatsapp web doesn't support broadcast lists
10:13:24
@tulir:maunium.nettulirbut if you send a broadcast list message from the phone, you'll be able to tell it was from a broadcast list based on the Chat jid10:13:48
@tamilvip007:matrix.orgTAMILVIP007
In reply to @tulir:maunium.net
but if you send a broadcast list message from the phone, you'll be able to tell it was from a broadcast list based on the Chat jid
oh okie
10:58:42
@tamilvip007:matrix.orgTAMILVIP00710:54:22.586 [Client INFO] Successfully authenticated panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff78facd48f] goroutine 135 [running]: main.HandleResponse(0xc00035b040) D:/bot/forwarder.go:109 +0x4f main.SendResponse(0xc00035b040) D:/bot/forwarder.go:59 +0x24b created by main.eventHandler D:/bot/main.go:33 +0xc5 exit status 210:58:44
@tamilvip007:matrix.orgTAMILVIP007i am getting this error while trying to resend text message coming from new event10:59:07
@tamilvip007:matrix.orgTAMILVIP007if the text message contains a mention10:59:18
@tamilvip007:matrix.orgTAMILVIP007 *
10:54:22.586 \[Client INFO\] Successfully authenticated
panic: runtime error: invalid memory address or nil pointer dereference
\[signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff78facd48f\]

goroutine 135 \[running\]:
main.HandleResponse(0xc00035b040)
        D:/bot/forwarder.go:109 +0x4f
main.SendResponse(0xc00035b040)
        D:/bot/forwarder.go:59 +0x24b
created by main.eventHandler
        D:/bot/main.go:33 +0xc5
exit status 2
10:59:25
@tamilvip007:matrix.orgTAMILVIP007hmm but y isnt it just handled in text message anyway to handle mentions10:59:45
@github:maunium.netGitHub [tulir/whatsmeow] Paguiar735 commented on issue #195: Message unavailable:

I've never seen anything like this. However, unlike plain text messages, some message types only seem to stay on WhatsApp servers for a few days after being downloaded on the client of both the sender and the receiver.

If one of them doesn't download it in a timely manner, the media appears to stay there longer, but it'll won't be there forever: soon the one who hasn't download it will face a "Download Failed – Please ask the person to resend it" error upon trying to do so.

12:49:12
@github:maunium.netGitHub [tulir/whatsmeow] Paguiar735 commented on issue #291: How to get Conversations when I login in:

I'm afraid that without having you explain what you mean by "conversations" exactly, and tell us what files you got those pictures from, it's a dead end.

13:01:49
@github:maunium.netGitHub [tulir/whatsmeow] Paguiar735 commented on issue #287: panic when the client logout and store historical message secrets:

We'll need a minimal working example to look into this.

13:03:27
@github:maunium.netGitHub [tulir/whatsmeow] Paguiar735 commented on issue #287: panic when the client logout and store historical message secrets:

We need a minimal working example to be able to look into this.

13:03:41
@github:maunium.netGitHub [tulir/whatsmeow] Paguiar735 deleted their comment on issue #287: panic when the client logout and store historical message secrets 13:03:47

Show newer messages


Back to Room ListRoom Version: 9