mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-18 14:00:09 +00:00
Implement forwarding to topics.
This commit is contained in:
22
Telegram/SourceFiles/api/api_common.cpp
Normal file
22
Telegram/SourceFiles/api/api_common.cpp
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
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
|
||||
*/
|
||||
#include "api/api_common.h"
|
||||
|
||||
#include "data/data_thread.h"
|
||||
|
||||
namespace Api {
|
||||
|
||||
SendAction::SendAction(
|
||||
not_null<Data::Thread*> thread,
|
||||
SendOptions options)
|
||||
: history(thread->owningHistory())
|
||||
, options(options)
|
||||
, topicRootId(thread->topicRootId()) {
|
||||
}
|
||||
|
||||
} // namespace Api
|
Reference in New Issue
Block a user