File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1280,12 +1280,15 @@ std::string TgTypeParser::parseInlineKeyboardButton(const InlineKeyboardButton::
12801280 }
12811281 std::string result;
12821282 result += ' {' ;
1283- appendToJson (result, " pay" , object->pay );
12841283 appendToJson (result, " text" , object->text );
12851284 appendToJson (result, " url" , object->url );
12861285 appendToJson (result, " callback_data" , object->callbackData );
1286+ appendToJson (result, " web_app" , parseWebAppInfo (object->webApp ));
1287+ appendToJson (result, " login_url" , parseLoginUrl (object->loginUrl ));
12871288 appendToJson (result, " switch_inline_query" , object->switchInlineQuery );
12881289 appendToJson (result, " switch_inline_query_current_chat" , object->switchInlineQueryCurrentChat );
1290+ appendToJson (result, " callback_game" , parseCallbackGame (object->callbackGame ));
1291+ appendToJson (result, " pay" , object->pay );
12891292 removeLastComma (result);
12901293 result += ' }' ;
12911294 return result;
You can’t perform that action at this time.
0 commit comments