feat: telegram transcript
This commit is contained in:
parent
635e6a30a2
commit
f332509443
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ func (c *TelegramChannel) handleMessage(ctx context.Context, message *telego.Mes
|
||||||
"text": result.Text,
|
"text": result.Text,
|
||||||
})
|
})
|
||||||
|
|
||||||
replyText := fmt.Sprintf("🎤 <b>Transcription: </b><i>%s</i>", escapeHTML(result.Text))
|
replyText := fmt.Sprintf("<b>Transcript: </b><i>%s</i>", escapeHTML(result.Text))
|
||||||
replyMsg := tu.Message(tu.ID(chatID), replyText)
|
replyMsg := tu.Message(tu.ID(chatID), replyText)
|
||||||
replyMsg.ReplyParameters = &telego.ReplyParameters{
|
replyMsg.ReplyParameters = &telego.ReplyParameters{
|
||||||
MessageID: message.MessageID,
|
MessageID: message.MessageID,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue