mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 18:21:42 -05:00
27 lines
763 B
C++
27 lines
763 B
C++
/*
|
|
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"
|
|
|
|
namespace Window {
|
|
class SessionNavigation;
|
|
} // namespace Window
|
|
|
|
object_ptr<BoxContent> EditLinkedChatBox(
|
|
not_null<Window::SessionNavigation*> navigation,
|
|
not_null<ChannelData*> channel,
|
|
not_null<ChannelData*> chat,
|
|
bool canEdit,
|
|
Fn<void(ChannelData*)> callback);
|
|
|
|
object_ptr<BoxContent> EditLinkedChatBox(
|
|
not_null<Window::SessionNavigation*> navigation,
|
|
not_null<ChannelData*> channel,
|
|
std::vector<not_null<PeerData*>> &&chats,
|
|
Fn<void(ChannelData*)> callback);
|