How to login via sms code? #425
Replies: 4 comments 6 replies
-
It's not implemented in whatsmeow yet. But you can use the new pair code method with the pair-device branch. Just check the first few commits. |
Beta Was this translation helpful? Give feedback.
-
I found this code on this link "PairPhone" that receives a telephone number and shows a notification. My question is, could this be a new type of connection? func (cli *Client) PairPhone(phone string, showPushNotification bool) (string, error) { |
Beta Was this translation helpful? Give feedback.
-
i am not received any event when phone is connected with pair code. |
Beta Was this translation helpful? Give feedback.
-
How do I do this |
Beta Was this translation helpful? Give feedback.
-
I want to login whatsapp via sms code validation. is there any avialable function can be used?
such as following:
timeoutChan := client.sendLoginSmsRequest()
go func(){for code:=range timeoutChan{
client.validateSmsCode(code)
}}
timeoutChan<- "my sms code"
Beta Was this translation helpful? Give feedback.
All reactions