Code Monkey home page Code Monkey logo

chatapi's Introduction

Hi there πŸ‘‹

I'm Roman, a software engineer mainly interested in programming languages tooling creation.

Actively contributing to different developer tools in my spare time.


My Skill Set

Software

Frontend

Backend

DevOps

GitHub Stats
Connect with me

chatapi's People

Contributors

zodt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chatapi's Issues

Cannot Compile Examples

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!

[Question] Caption Info

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 :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.