diable web page to true
This commit is contained in:
@@ -83,7 +83,7 @@ func (t *Telegram) Send(ctx context.Context, req request) error {
|
||||
link := fmt.Sprintf("[comment](%s)", req.comment.Locator.URL+uiNav+req.comment.ID)
|
||||
msg := fmt.Sprintf("%s\n\n%s\n\n%s", from, req.comment.Orig, link)
|
||||
|
||||
u := fmt.Sprintf("%s%s/sendMessage?chat_id=@%s&text=%s&parse_mode=Markdown&disable_web_page_preview=false",
|
||||
u := fmt.Sprintf("%s%s/sendMessage?chat_id=@%s&text=%s&parse_mode=Markdown&disable_web_page_preview=true",
|
||||
t.apiPrefix, t.token, t.channelName, url.QueryEscape(msg))
|
||||
r, err := http.NewRequest("GET", u, nil)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user