feat: now client part supports multiple channels for the same type (#50)
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ type telegramMessageResponse struct {
|
||||
func SendTelegramMessage(message *model.Message, user *model.User, channel_ *model.Channel) error {
|
||||
// https://core.telegram.org/bots/api#sendmessage
|
||||
messageRequest := telegramMessageRequest{
|
||||
ChatId: channel_.AppId,
|
||||
ChatId: channel_.AccountId,
|
||||
Text: message.Content,
|
||||
ParseMode: "markdown",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user