{"comment":{"url":"https://api.github.com/repos/mendab1e/nadia/comments/15494470","html_url":"https://github.com/mendab1e/nadia/commit/57de5feabe18d398a01fdb18ce15b6c60bed5fcd#commitcomment-15494470","id":15494470,"user":{"login":"zhyu","id":1728523,"avatar_url":"https://avatars.githubusercontent.com/u/1728523?v=3","gravatar_id":"","url":"https://api.github.com/users/zhyu","html_url":"https://github.com/zhyu","followers_url":"https://api.github.com/users/zhyu/followers","following_url":"https://api.github.com/users/zhyu/following{/other_user}","gists_url":"https://api.github.com/users/zhyu/gists{/gist_id}","starred_url":"https://api.github.com/users/zhyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhyu/subscriptions","organizations_url":"https://api.github.com/users/zhyu/orgs","repos_url":"https://api.github.com/users/zhyu/repos","events_url":"https://api.github.com/users/zhyu/events{/privacy}","received_events_url":"https://api.github.com/users/zhyu/received_events","type":"User","site_admin":false},"position":5,"line":351,"path":"lib/nadia.ex","commit_id":"57de5feabe18d398a01fdb18ce15b6c60bed5fcd","created_at":"2016-01-17T10:21:55Z","updated_at":"2016-01-17T10:21:55Z","body":"yes, I think it's better to have a type like `Nadia.Model.InlineQueryResult.t`.\r\nmaybe you can do it like this:\r\n```elixir\r\ndefmodule Nadia.Model.InlineQueryResult do\r\n\r\n  @type t :: Nadia.Model.InlineQueryResult.Photo.t | Nadia.Model.InlineQueryResult.Article.t | ...\r\n\r\nend\r\n```\r\n\r\ndon't worry about defining a type for a non-structure."}}