Archived
1

Broadcaster send markup fix

This commit is contained in:
Vladimir Hodakov 2017-12-23 17:33:38 +04:00
parent 5afe064b54
commit 9a10a6884b

View File

@ -43,7 +43,7 @@ func (b *Broadcaster) AdminBroadcastMessageSend(update *tgbotapi.Update, playerR
for i := range privateChats { for i := range privateChats {
chat := privateChats[i] chat := privateChats[i]
broadcastingMessage := "*Привет, " + chat.Name + "!*\n\n" broadcastingMessage := "*Привет, " + chat.Name + "!*\n\n"
broadcastingMessage += "*Важное сообщение от администратора " + c.Users.GetPrettyName(update.Message.From) + "\n\n" broadcastingMessage += "*Важное сообщение от администратора *" + c.Users.GetPrettyName(update.Message.From) + "\n\n"
broadcastingMessage += broadcastingMessageBody broadcastingMessage += broadcastingMessageBody
msg := tgbotapi.NewMessage(int64(chat.TelegramID), broadcastingMessage) msg := tgbotapi.NewMessage(int64(chat.TelegramID), broadcastingMessage)