ZaStoGram_desktop/Telegram/SourceFiles/boxes/peers/invite_to_bot_box.h
John Preston 9e462a6f44 Invite users to a private chat with your own bot
Task: 2026/11/13/invite-users-to-a-private-chat-with-your-own-bot
2026-11-22 23:45:28 +04:00

20 lines
483 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
class UserData;
namespace Main {
class SessionShow;
} // namespace Main
[[nodiscard]] bool CanInviteToBot(not_null<UserData*> bot);
void ShowInviteToBotBox(
std::shared_ptr<Main::SessionShow> show,
not_null<UserData*> bot);