Demo send images but with message errors and have problem with italian mobile number
enricogaggero opened this issue · comments
Notice : the mobile italian number format is like +39 333 1234567 or +39 333 123456 (for old number).
I do some tests
-
If I put in "Numero Destino" a number like 393331234567 and I press Texto Simples New the message is send but I have an Access Violation.
-
If I put in "Numero Destino" a number like 393331234567 and I press Texto Simples I have a message of Numero Invalido.
-
If I put in "Numero Destino" a number like 393331234567 and I press Inviar Imagem I have a message of Numero Invalido.
-
If I put in "Numero Destino" a number like 393331234567@c.us and I press Inviar Imagem the message is not send and I have 4 time a message Unknow Protocol and after a Access Violation and the messagge with image is send.
Config Component
AjustNumber
AllowOneDigitMore = False
AutoAjust = True
DDIDefault = 55
LengthDDI = 2
LengthDDD = 3
LenhthPhone = 7
sending it this way skips a check for the valid number
393331234567@c.us
you can send through the options without needing to inform @c.us
SendFileMessageNew, SendTextMessageNew, SendListMessageNew, SendLocationMessageNew and SendVCardContactMessageNew
SendFileMessageNew, SendTextMessageNew, SendListMessageNew, SendLocationMessageNew and SendVCardContactMessageNew are the future way ? Is better rewrite my code updating old functions ?
Thanks