tdesktop/Telegram/SourceFiles/boxes/peers/edit_linked_chat_box.h

22 lines
596 B
C
Raw Normal View History

/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "boxes/abstract_box.h"
object_ptr<BoxContent> EditLinkedChatBox(
not_null<ChannelData*> channel,
not_null<ChannelData*> chat,
2019-06-01 08:27:05 +00:00
bool canEdit,
Fn<void(ChannelData*)> callback);
object_ptr<BoxContent> EditLinkedChatBox(
not_null<ChannelData*> channel,
std::vector<not_null<PeerData*>> &&chats,
Fn<void(ChannelData*)> callback);