feat: Added HTML parse_mode
This commit is contained in:
@ -23,8 +23,9 @@ func GetMe() error {
|
||||
func SendMessage(chatId, message string) error {
|
||||
_, err := client.R().
|
||||
SetQueryParams(map[string]string{
|
||||
"chat_id": chatId,
|
||||
"text": message,
|
||||
"chat_id": chatId,
|
||||
"text": message,
|
||||
"parse_mode": "HTML",
|
||||
}).
|
||||
Get(fmt.Sprintf("/bot%s/sendMessage", config.AppConfig.Telegram.Token))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user