I'm Roman, a software engineer mainly interested in programming languages tooling creation.
Actively contributing to different developer tools in my spare time.
ChatApi is an unofficial cross-platform libraries for interacting with the chat-api.com
Home Page: https://chat-api.com/en/
License: GNU General Public License v3.0
I installed the the libraries you provided and those compile without any error.
But when I tried an example took from your documentation , for instance : https://github.com/Zodt/ChatApi/blob/Release/Documentation/en-EN/WhatsApp/ChatApi.WA.Messages/Operations/SendTextMessage.md, I couldn't compile.
I used VS 2019 and I added all the reference but the last one(ChataApiClients) because I couldn't find in your libraries
The code is below and the when compiler throw an error was marked with // ---->
using System;
using ChatApi.Core.Connect;
using ChatApi.Core.Connect.Interfaces;
using ChatApi.WA.Messages;
using ChatApi.WA.Messages.Collections;
using ChatApi.WA.Messages.Requests;
using ChatApi.WA.Messages.Requests.Interfaces;
using ChatApiClient.Properties; //----> I couldn't add this one (I don't know where it is)
namespace ChatApiClient
{
internal class Program
{
internal static IWhatsAppConnect Connect { get; set; }
internal static void Main()
{
// put your chat-api's data
Connect = new WhatsAppConnect(WhatsApp_Server, WhatsApp_Instance, WhatsApp_Token); // ----> compiler couldn't
find these varaibles
IMessagesOperation messageOperation = new MessagesOperation(Connect);
ITextMessageRequest textMessage = new TextMessageRequest
{
Phone = "79001111111",
Message = "Test TextMessage" // ----> compiler couldn't find Message
};
var chatApiResponse = messageOperation.SendTextMessage(request); //----> compiler couldn't find request
if (!chatApiResponse.IsSuccess) throw chatApiResponse.Exception!; //----> compiler couldn't find chatApiResponse.Exception
var response = chatApiResponse.GetResult();
Console.WriteLine(response?.PrintMembers()); // ----> compiler couldn't findPrintMembers
}
}
}
Could you tell me where is the library ChatApiClient?.
Thanks a lot!
Dear Sir,
Your Work is amazing . i need your help .
I have required Last Seen or Online Status all of my WhatsApp contacts.
Please help me
Hi, first of all congratulations for this project, it has helped me a lot and it is very well structured and clean. Amazing job!
I have a question here, I am not able to get the Caption information from the received image when I use, for example, GetMessagesHistory, the IMessage interface does not have this property, Caption.
How can I get this information or it will be in a future release?
Thanks :)
how to save png fileοΌ
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.