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
160
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.1.14 to 1.1.15

4

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

@@ -19,4 +19,4 @@ "main": "src/index.js",

"@azteam/error": "1.0.15",
"@azteam/http-client": "1.0.75"
"@azteam/http-client": "1.0.77"
}
}

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

async sendFile(id, file, option = {}) {
async sendFile(id, fileBuffer, option = {}) {
if (Array.isArray(message)) {

@@ -24,3 +24,3 @@ message = message.join('\n');

return this.client.post(this.endpoint + '/sendDocument', {
return this.client.upload(this.endpoint + '/sendDocument', {
chat_id: id,

@@ -27,0 +27,0 @@ document: file,

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