
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
pwrtelegram
Advanced tools
A Node.js Library for the PWRTelegram User API, which is the equivalent to Telegram's Client API
PWRTelegram User API
A Node.js Library for the PWRTelegram User API, which is the equivalent to Telegram's Client API
Powered by PWRTelegram API
$ npm install pwrtelegram --save
User
Kind: global class
Promise
Promise
Promise
Param | Type | Description |
---|---|---|
token | String | Bot Token |
baseUrl | String | (Optional) Custom pwetelegram API instance URL |
Promise
Send text message.
Kind: instance method of User
Returns: Promise
- Updates
See: https://core.telegram.org/method/messages.sendMessage
Param | Type | Description |
---|---|---|
chatId | Number | String | Unique identifier for the message recipient |
text | String | Text of the message to be sent |
Promise
Set typing.
Kind: instance method of User
Returns: Promise
- Boolean
See: https://core.telegram.org/method/messages.setTyping
Param | Type | Description |
---|---|---|
chatId | Number | String | Unique identifier for the message recipient |
action | String | Type of action to be sent |
Promise
Forward text message.
Kind: instance method of User
See: https://core.telegram.org/method/messages.forwardMessage
Param | Type | Description |
---|---|---|
chatId | Number | String | Unique identifier for the message recipient |
messageId | Number | String | Unique identifier of the message to be forwarded |
Fork the repository and submit a pull request for whatever change you want to be added to this project. If you have any questions, just open an issue.
FAQs
A Node.js Library for the PWRTelegram User API
The npm package pwrtelegram receives a total of 0 weekly downloads. As such, pwrtelegram popularity was classified as not popular.
We found that pwrtelegram demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.