Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
akurilov committed Sep 20, 2023
1 parent 8b5e037 commit 66b4b4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/telegram/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
const msgStartGroup = "Select a subscription from the list"
const msgStartPrivate = `
* Just type a text to send a simple text message to Awakari.
* Send "/sub keyword1 keyword2 ..." command to create a basic text matching subscription.
* Send "/sub name keyword1 keyword2 ..." command to create a basic text matching subscription.
`

var ErrChatType = errors.New("unsupported chat type (supported options: \"group\", \"private\")")
Expand Down Expand Up @@ -67,6 +67,6 @@ func startGroup(ctx telebot.Context, chatId int64) (err error) {
func startPrivate(ctx telebot.Context, chatId int64) (err error) {
m := &telebot.ReplyMarkup{}
m.Reply(m.Row(btnSubNewCustom, btnMsgNewCustom))
err = ctx.Send(msgStartPrivate, m)
err = ctx.Send(msgStartPrivate, m, telebot.ModeMarkdown)
return
}

0 comments on commit 66b4b4c

Please sign in to comment.