mirror of
https://github.com/tdlib/telegram-bot-api
synced 2025-08-22 18:08:31 +00:00
Support starTransactionTypeGiftPurchase for chats.
This commit is contained in:
parent
77b488e188
commit
20aa12caea
@ -4358,8 +4358,9 @@ class Client::JsonStarTransactionType final : public td::Jsonable {
|
||||
break;
|
||||
}
|
||||
case td_api::messageSenderChat::ID: {
|
||||
// auto owner_id = static_cast<const td_api::messageSenderChat *>(type->owner_id_.get());
|
||||
object("type", "other");
|
||||
auto owner_id = static_cast<const td_api::messageSenderChat *>(type->owner_id_.get());
|
||||
object("type", "chat");
|
||||
object("chat", JsonChat(owner_id->chat_id_, client_));
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user