yowsup icon indicating copy to clipboard operation
yowsup copied to clipboard

How can I be sure that the message sent

Open alaamac opened this issue 13 years ago • 8 comments

Hello ,

When I send a message i get "message sent" but i can't know whatsapp server has sent this message ,How do I know that "the message delivered" , I work in a language programming php ,please help

alaamac avatar Jan 12 '13 12:01 alaamac

good programmer can't know only one language and stop self-educating.

CODeRUS avatar Jan 12 '13 12:01 CODeRUS

yes ,but i work more than a programming language"php,asp.net,xcode,android,server administrator " so i do not know a lot about python ,I read this in the yowsup

def onMessageDelivered(jid, messageId): print "Message was delivered successfully to %s" %jid methodsInterface.call("delivered_ack", (jid, messageId))

How do I work with this function ?

alaamac avatar Jan 12 '13 12:01 alaamac

there is receipt_messageDelivered signal, not implemented in listener, but you can easy implement it by checking wazapp project.

CODeRUS avatar Jan 12 '13 13:01 CODeRUS

Did not understand you,Is there something for implementation to emphasize receive the message?

alaamac avatar Jan 12 '13 13:01 alaamac

when client receiving message it sends messageDelivered signal. you can catch it.

CODeRUS avatar Jan 12 '13 13:01 CODeRUS

i can't see it in usage : https://github.com/tgalal/yowsup/wiki/yowsup-cli

alaamac avatar Jan 12 '13 20:01 alaamac

no, its sending "delivered" on incoming messages. you need to catch "delivered" from contact you chatting.

CODeRUS avatar Jan 13 '13 06:01 CODeRUS

Deliverd = read symbol not a send symbol :) :)

styl3R avatar Jan 13 '13 19:01 styl3R