mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-12-28 21:55:51 +01:00
Implement message_thread_id
This commit is contained in:
parent
aa82ba8cca
commit
cda2030584
@ -1620,6 +1620,9 @@ void Client::JsonMessage::store(JsonValueScope *scope) const {
|
||||
if (message_->media_album_id != 0) {
|
||||
object("media_group_id", td::to_string(message_->media_album_id));
|
||||
}
|
||||
if (message_->message_thread_id != 0) {
|
||||
object("message_thread_id", td::to_string(message_->message_thread_id));
|
||||
}
|
||||
switch (message_->content->get_id()) {
|
||||
case td_api::messageText::ID: {
|
||||
auto message_text = static_cast<const td_api::messageText *>(message_->content.get());
|
||||
|
@ -725,6 +725,7 @@ class Client : public WebhookActor::Callback {
|
||||
td::string initial_sender_name;
|
||||
td::string author_signature;
|
||||
int64 reply_to_message_id = 0;
|
||||
int64 message_thread_id = 0;
|
||||
int64 media_album_id = 0;
|
||||
int32 via_bot_user_id = 0;
|
||||
object_ptr<td_api::MessageContent> content;
|
||||
|
Loading…
Reference in New Issue
Block a user