Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@azteam/telegram-api

Package Overview
Dependencies
Maintainers
1
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azteam/telegram-api - npm Package Compare versions

Comparing version 1.0.14 to 1.0.15

2

package.json
{
"name": "@azteam/telegram-api",
"version": "1.0.14",
"version": "1.0.15",
"description": "",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -10,3 +10,3 @@ import HttpClient from '@azteam/http-client';

async initHook(callbackURL) {
return await this.client.get(this.endpoint + '/setWebhook', {
return await this.client.post(this.endpoint + '/setWebhook', {
url: callbackURL,

@@ -21,3 +21,3 @@ });

this.client.get(this.endpoint + '/sendMessage', {
this.client.post(this.endpoint + '/sendMessage', {
chat_id: telegram_id,

@@ -24,0 +24,0 @@ text: message,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc