@@ -111,8 +111,7 @@ class CheckChannelUsernameQuery final : public Td::ResultHandler {
111111
112112 void on_result (BufferSlice packet) final {
113113 static_assert (std::is_same<telegram_api::bots_checkUsername::ReturnType,
114- telegram_api::channels_checkUsername::ReturnType>::value,
115- " " );
114+ telegram_api::channels_checkUsername::ReturnType>::value);
116115 auto result_ptr = fetch_result<telegram_api::channels_checkUsername>(packet);
117116 if (result_ptr.is_error ()) {
118117 return on_error (result_ptr.move_as_error ());
@@ -251,8 +250,7 @@ class EditDialogTitleQuery final : public Td::ResultHandler {
251250
252251 void on_result (BufferSlice packet) final {
253252 static_assert (std::is_same<telegram_api::messages_editChatTitle::ReturnType,
254- telegram_api::channels_editTitle::ReturnType>::value,
255- " " );
253+ telegram_api::channels_editTitle::ReturnType>::value);
256254 auto result_ptr = fetch_result<telegram_api::messages_editChatTitle>(packet);
257255 if (result_ptr.is_error ()) {
258256 return on_error (result_ptr.move_as_error ());
@@ -316,8 +314,7 @@ class EditDialogPhotoQuery final : public Td::ResultHandler {
316314
317315 void on_result (BufferSlice packet) final {
318316 static_assert (std::is_same<telegram_api::messages_editChatPhoto::ReturnType,
319- telegram_api::channels_editPhoto::ReturnType>::value,
320- " " );
317+ telegram_api::channels_editPhoto::ReturnType>::value);
321318 auto result_ptr = fetch_result<telegram_api::messages_editChatPhoto>(packet);
322319 if (result_ptr.is_error ()) {
323320 return on_error (result_ptr.move_as_error ());
@@ -665,8 +662,7 @@ class UpdatePeerSettingsQuery final : public Td::ResultHandler {
665662
666663 void on_result (BufferSlice packet) final {
667664 static_assert (std::is_same<telegram_api::messages_reportSpam::ReturnType,
668- telegram_api::messages_hidePeerSettingsBar::ReturnType>::value,
669- " " );
665+ telegram_api::messages_hidePeerSettingsBar::ReturnType>::value);
670666 auto result_ptr = fetch_result<telegram_api::messages_reportSpam>(packet);
671667 if (result_ptr.is_error ()) {
672668 return on_error (result_ptr.move_as_error ());
@@ -1068,7 +1064,7 @@ class ToggleDialogIsBlockedQuery final : public Td::ResultHandler {
10681064
10691065 void on_result (BufferSlice packet) final {
10701066 static_assert (
1071- std::is_same<telegram_api::contacts_block::ReturnType, telegram_api::contacts_unblock::ReturnType>::value, " " );
1067+ std::is_same<telegram_api::contacts_block::ReturnType, telegram_api::contacts_unblock::ReturnType>::value);
10721068 auto result_ptr = fetch_result<telegram_api::contacts_block>(packet);
10731069 if (result_ptr.is_error ()) {
10741070 return on_error (result_ptr.move_as_error ());
0 commit comments