Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
node-telegram-bot-api
Advanced tools
NodeJS class for Telegram Bot API.
Support for WebHooks and long polling. Emits message
when message arrives.
Returns basic information about the bot in form of a User
object.
Returns: Promise
Specify a url to receive incoming updates via an outgoing webHook.
Parameters
url: String
, URL
Use this method to receive incoming updates using long polling
Parameters
timeout: Number | String
, Timeout in seconds for long polling.
limit: Number | String
, Limits the number of updates to be retrieved.
offset: Number | String
, Identifier of the first update to be returned.
Returns: Promise
, Updates
Send text message.
Parameters
chatId: Number | String
, Unique identifier for the message recipient
text: Sting
, Text of the message to be sent
options: Object
, Additional Telegram query options
Returns: Promise
Forward messages of any kind.
Parameters
chatId: Number | String
, Unique identifier for the message recipient
fromChatId: Number | String
, Unique identifier for the chat where the
original message was sent
messageId: Number | String
, Unique message identifier
Returns: Promise
Send photo
Parameters
chatId: Number | String
, Unique identifier for the message recipient
photo: String | stream.Stream
, A file path or a Stream. Can
also be a file_id
previously uploaded
options: Object
, Additional Telegram query options
Returns: Promise
Send audio
Parameters
chatId: Number | String
, Unique identifier for the message recipient
audio: String | stream.Stream
, A file path or a Stream. Can
also be a file_id
previously uploaded.
options: Object
, Additional Telegram query options
Returns: Promise
FAQs
Telegram Bot API
The npm package node-telegram-bot-api receives a total of 61,847 weekly downloads. As such, node-telegram-bot-api popularity was classified as popular.
We found that node-telegram-bot-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.