Git Product home page Git Product logo

telegram-notification's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

telegram-notification's Issues

Custom variables in message

Hi. I want to add additional text from environment variables (link to download artifact or commit message for example) to message, is it supported?

Line breaks in message

Hi!
I want to add line breaks to message, but i can't insert new lines to Azure message text input field.
I'm trying to add line breaks characters(\n, %0A) to message. But Azure doesn't handle it.
How can i do it?

Can not handle send error

******************************************************************************
Starting: Send Telegram Notification
******************************************************************************
==============================================================================
Task         : Telegram Notification
Description  : Send custom message to telegram chat
Version      : 0.1.0
Author       : Evgeny Chernyi
Help         : https://github.com/JackB1ack/telegram-notification
==============================================================================
Message sent!
(node:1884) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): FetchError: request to https://api.telegram.org/**********************************/sendMessage failed, reason: connect ETIMEDOUT *****************:443
******************************************************************************
Finishing: Send Telegram Notification
******************************************************************************

Use it with Service Hooks

Hi, there is any way to use telegram notification with service hooks?
I would like to get notifications on work item creation.

Thanks.

Update to Node10

It seems Azure DevOps are deprecating "Node 6" and giving a warning for the tasks using the old way

##[warning]This task uses Node 6 execution handler, which will be removed March 31st 2022. If you are the developer of the task - please consider the migration guideline to Node 10 handler - https://aka.ms/migrateTaskNode10 (check this page also if you would like to disable Node 6 deprecation warnings). If you are the user - feel free to reach out to the owners of this task to proceed on migration.

Let me know if you need help to migrate this.

Thank you for this great project.

sendMessage failed

Hi, for some reasons sendMessage method start to crash. Could you help me to understand why?

image

Add ability to use proxy server

It's know that telegram have been block in some area and the way to access Telegram Bot API is use a http(s) or sock5 proxy server.
I think it is necessary to add a option to config to use a proxy to access Telegram Bot API.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.