Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add APIURL to telegram config #168

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mghahari
Copy link

This PR fix is part of fix for grafana/grafana#81534

@CLAassistant
Copy link

CLAassistant commented Mar 18, 2024

CLA assistant check
All committers have signed the CLA.

@@ -71,5 +72,8 @@ func NewConfig(jsonData json.RawMessage, decryptFn receivers.DecryptFunc) (Confi
if !found {
return settings, fmt.Errorf("unknown parse_mode, must be Markdown, MarkdownV2, HTML or None")
}
if settings.APIURL == "" {
settings.APIURL = APIURL

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

am i blind, but where is APIURL variable? Did you mean defaultAPIURL or something like that?

@mghahari mghahari marked this pull request as draft January 1, 2025 13:42
@mghahari
Copy link
Author

mghahari commented Jan 1, 2025

Sorry for the inconvenience. It is a work-in-progress pull request(I mark this now). I didn't find any time to complete this and related pr in the main project for this feature. (I was working on it in the yearly Nowruz vacations. So maybe I will complete this on the next vacation in March)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In review
Development

Successfully merging this pull request may close these issues.

3 participants