{"action":"opened","issue":{"url":"https://api.github.com/repos/TelegramBot/Api/issues/97","repository_url":"https://api.github.com/repos/TelegramBot/Api","labels_url":"https://api.github.com/repos/TelegramBot/Api/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/TelegramBot/Api/issues/97/comments","events_url":"https://api.github.com/repos/TelegramBot/Api/issues/97/events","html_url":"https://github.com/TelegramBot/Api/issues/97","id":264899156,"number":97,"title":"succesful_payment type","user":{"login":"timkimtim","id":31388642,"avatar_url":"https://avatars2.githubusercontent.com/u/31388642?v=4","gravatar_id":"","url":"https://api.github.com/users/timkimtim","html_url":"https://github.com/timkimtim","followers_url":"https://api.github.com/users/timkimtim/followers","following_url":"https://api.github.com/users/timkimtim/following{/other_user}","gists_url":"https://api.github.com/users/timkimtim/gists{/gist_id}","starred_url":"https://api.github.com/users/timkimtim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timkimtim/subscriptions","organizations_url":"https://api.github.com/users/timkimtim/orgs","repos_url":"https://api.github.com/users/timkimtim/repos","events_url":"https://api.github.com/users/timkimtim/events{/privacy}","received_events_url":"https://api.github.com/users/timkimtim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-12T11:03:04Z","updated_at":"2017-10-12T11:03:04Z","closed_at":null,"author_association":"NONE","body":"Can someone help me with a tip, how should i get SuccesfulPaymant object, with total_amount and provider_payment_charge_id, after bot successfuly answerPreCheckoutQuery, like this:\r\n```\r\ntry {\r\n$telegram_client->preCheckoutQuery(function ($query) use ($telegram_client, $telegram) {\r\n$telegram->answerPreCheckoutQuery($query->getId(), true);\r\n});\r\n$telegram_client->run();\r\n } catch (\\TelegramBot\\Api\\Exception $e) {\r\n //$e->getMessage();\r\n```\r\nThank you in advance"}}
{"actor":{"display_login":"timkimtim"}}