From 1d4b1570ad0607d836731219329805f366e340b7 Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 2 Apr 2019 01:47:02 +0300 Subject: [PATCH] Allow to send games to broadcast channels (still doesn't allowed by server). GitOrigin-RevId: cf9850b27ef5860b38f97934aebf655b5ed013f6 --- td/telegram/MessagesManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index 878a0c600..3ff61075b 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -15310,7 +15310,7 @@ Status MessagesManager::can_send_message_content(DialogId dialog_id, const Messa case DialogType::Channel: { auto channel_type = td_->contacts_manager_->get_channel_type(dialog_id.get_channel_id()); if (channel_type == ChannelType::Broadcast) { - return Status::Error(400, "Games can't be sent to channel chats"); + // return Status::Error(400, "Games can't be sent to channel chats"); } break; }