{"action":"created","issue":{"url":"https://api.github.com/repos/sochix/TLSharp/issues/298","repository_url":"https://api.github.com/repos/sochix/TLSharp","labels_url":"https://api.github.com/repos/sochix/TLSharp/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/sochix/TLSharp/issues/298/comments","events_url":"https://api.github.com/repos/sochix/TLSharp/issues/298/events","html_url":"https://github.com/sochix/TLSharp/issues/298","id":188309397,"number":298,"title":"Get TLObject parameters.","user":{"login":"Pro-Ton","id":13706043,"avatar_url":"https://avatars.githubusercontent.com/u/13706043?v=3","gravatar_id":"","url":"https://api.github.com/users/Pro-Ton","html_url":"https://github.com/Pro-Ton","followers_url":"https://api.github.com/users/Pro-Ton/followers","following_url":"https://api.github.com/users/Pro-Ton/following{/other_user}","gists_url":"https://api.github.com/users/Pro-Ton/gists{/gist_id}","starred_url":"https://api.github.com/users/Pro-Ton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pro-Ton/subscriptions","organizations_url":"https://api.github.com/users/Pro-Ton/orgs","repos_url":"https://api.github.com/users/Pro-Ton/repos","events_url":"https://api.github.com/users/Pro-Ton/events{/privacy}","received_events_url":"https://api.github.com/users/Pro-Ton/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-09T17:46:29Z","updated_at":"2016-11-09T18:57:44Z","closed_at":"2016-11-09T18:15:30Z","body":"Hi,\r\nI created a `TLRequestGetHistory()` request:\r\n\r\n            var req = new TeleSharp.TL.Messages.TLRequestGetHistory()\r\n            {\r\n                peer = new TLInputPeerSelf(),\r\n                limit = 5\r\n            };\r\n\r\nthen got the response:\r\n`            var msgs = await client.SendRequestAsync<TeleSharp.TL.Messages.TLMessagesSlice>(req);\r\n`\r\n\r\nand got the first `TLMessage` object:\r\n`            var msg = msgs.messages.lists.First();\r\n`\r\n\r\nthe `TLMessage` object is equivalent to the tl-scheme's `message` type, right?\r\n\r\nNow, is it possible to get the message's parameters? For example the message text, or the ones mentioned here https://tjhorner.com/tl-schema/constructor/message?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/sochix/TLSharp/issues/comments/259495048","html_url":"https://github.com/sochix/TLSharp/issues/298#issuecomment-259495048","issue_url":"https://api.github.com/repos/sochix/TLSharp/issues/298","id":259495048,"user":{"login":"sochix","id":1539682,"avatar_url":"https://avatars.githubusercontent.com/u/1539682?v=3","gravatar_id":"","url":"https://api.github.com/users/sochix","html_url":"https://github.com/sochix","followers_url":"https://api.github.com/users/sochix/followers","following_url":"https://api.github.com/users/sochix/following{/other_user}","gists_url":"https://api.github.com/users/sochix/gists{/gist_id}","starred_url":"https://api.github.com/users/sochix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sochix/subscriptions","organizations_url":"https://api.github.com/users/sochix/orgs","repos_url":"https://api.github.com/users/sochix/repos","events_url":"https://api.github.com/users/sochix/events{/privacy}","received_events_url":"https://api.github.com/users/sochix/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T18:57:44Z","updated_at":"2016-11-09T18:57:44Z","body":"Yep it's definitely possible via TLSHarp. I recommend you to start from exploring tests"}}
{"actor":{"display_login":"sochix"}}