I think its possible to add "whatsapp-group" namespace WhatsAppApi.Response { public class WaGroupInfo { public readonly string id; public readonly string owner; public readonly long creation; public readonly string subject; public readonly long subjectChangedTime; public readonly string subjectChangedBy; internal WaGroupInfo(string id) { this.id = id; } internal WaGroupInfo( string id, string owner, string creation, string subject, string subjectChanged, string subjectChangedBy) { this.id = id; this.owner = owner; long.TryParse(creation, out this.creation); this.subject = subject; long.TryParse(subjectChanged, out this.subjectChangedTime); this.subjectChangedBy = subjectChangedBy; } } }
I think its possible with API , some API providers are providing that option as well but we are not using any API , it is based on Web Scrapping through Selenium Library using Chrome Driver...
i didn't found any reference or methods to Send messages to group better to contact you API service provider they will give you the required methods and interfaces to implement this
dear member how to use this api method in following code. [#Form: Sales Color] On : Form Accept : Yes : CALL : SendWhatsapp [Function: SendWhatsapp] Variable: PrintFileName :String Variable: defaultfilepath :String:$$String:$Vouchertypename+"_"+$$String:$vouchernumber +$$String:".pdf" Variable: ReceiverContact :String Variable: Exportedfilepath :String Variable:urlid:String;:$$String:"https://meo.co.in/MessagingAPI/sendFileText.php" Variable: LOGINID :String Variable: password :String Variable: file :String 01 :Query Box:"Do you want to Whatsapp the invoice?":Yes:No 02 :If:$$LastResult 03 : SET : PrintFileName : $$String:$Vouchertypename+"_"+$$String:$vouchernumber ; Export Location path 04 : SET : ReceiverContact :$LedgerMobile:Ledger:$PartyLedgerName 20 : SET : SVExportFormat : $$SysNameDF 40 : SET : SVPrintFileName : $$MakeExportName:##PrintFileName:##SVExportFormat 50 : SET : SVOpenFileAfterExport : No 60 :EXPORT REPORT :.: TRUE 65 :SET :Exportedfilepath:$$GetFileFullPath:##defaultfilepath 70 :Set:urlid:"https://meo.co.in/MessagingAPI/sendFileText.php" 80 :Set:LOGINID :$$String:9414107864 90 :Setassword:unique-1983 100 :Set:FILE:$$GetFileFullPath:##defaultfilepath 101 :Log:$$LastResult 102 : End If 103 : Return my api like this POST METHOD API - SEND MESSAGE URL: https://meo.co.in/MessagingAPI/sendFileText.php PARAMETER : loginId : login id of meo password : password of meo mobile_number : designation number with country code message : your text file : your file
Hi, Will the TDL only work in Licensed Version and not in educational mode? Secondly, I am getting below mentioned error in Tally Educational Mode when imported the Tdl file: Can you please suggest how to proceed further?
please give space between filename and /codebase for you it should be - C:\Tally.ERP96.6\Release\TallyWhatsappsender.dll /codebase
the problem is in TDL Code I think you are not passing enough parameters for COM Interface Check the Sample code I attached in GitHub repo else post your Tdl code for further debugging
sir please chek the code i download new file & copy tally folder but invoice pdf genrated not attach whtasup code is [#Form: Sales Color] On : Form Accept : Yes : CALL : SendWhatsapp [Function: SendWhatsapp] Variable: PrintFileName :String Variable: defaultfilepath :String:$$String:$Vouchertypename+"_"+$$String:$vouchernumber +$$String:".pdf" Variable: ReceiverContact :String Variable: Exportedfilepath :String 01 :Query Box:"Do you want to Whatsapp the invoice?":Yes:No 02 :If:$$LastResult 03 : SET : PrintFileName : $$String:$Vouchertypename+"_"+$$String:$vouchernumber ; Export Location path 04 : SET : ReceiverContact :$LedgerMobile:Ledger:$PartyLedgerName 20 : SET : SVExportFormat : $$SysNameDF 40 : SET : SVPrintFileName : $$MakeExportName:##PrintFileName:##SVExportFormat 50 : SET : SVOpenFileAfterExport : No 60 : EXPORT REPORT :.: TRUE 65 : SET :Exportedfilepath:$$GetFileFullPath:##defaultfilepath 70 : Exec COM Interface:WhatsappEngine:##ReceiverContact:##Exportedfilepath@Msgtitle@waitseconds 80 : Log:$$LastResult 100 : End If 101 : Return [COM Interface:WhatsappEngine] Project:TallyWhatsappsender Class:Class1 Interface:InitProcess Parameter1:String:In Parameter2:String:In Parameter3:String:In Parameter4:String:In Return: String [System:Formulae] Msgtitle:"your title" waitseconds :60 ;; time in seconds to wait before closing the window
Make sure the file name doesn't contain any special characters Make sure weather file is exported or not before sending Whatsapp you can test by hardcoding the file path
The code is not attaching the invoice to the chat in chrome. Is it because of any recent whatsapp UI changes? Eventually Error shows "Timeout after 60 seconds"
yes WhatsApp changed the class names of the input tags that's why it's not working I will update the changes soon