Skip to content

whatsgate/golang_sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go API client for swagger

Интерфейс для взаимодействия с клиентом Whatsapp

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen For more information, please visit https://whatsgate.ru/

Installation

Put the package under your project folder and add the following in import:

import "./swagger"

Documentation for API Endpoints

All URIs are relative to https://whatsgate.ru/v1

Class Method HTTP request Description
DefaultApi CheckPost Post /check Проверка зарегистрирован ли номер в WhatsApp
DefaultApi GetChatsPost Post /get-chats Возвращает список активных чатов
DefaultApi SeenPost Post /seen Отправляет команду в чат, что последние сообщения просмотрены
DefaultApi SendMessage Post /send Отправка сообщения
_Api GetMediaPost Post /get-media Возвращает объект медиафайла, прикрепленного к сообщению

Documentation For Models

Documentation For Authorization

ApiKeyAuth

  • Type: API key

Example

auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{
	Key: "APIKEY",
	Prefix: "Bearer", // Omit if not necessary.
})
r, err := client.Service.Operation(auth, args)

Author

About

Go API client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published