{"action":"created","issue":{"url":"https://api.github.com/repos/justdmitry/NetTelegramBotApi/issues/6","labels_url":"https://api.github.com/repos/justdmitry/NetTelegramBotApi/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/justdmitry/NetTelegramBotApi/issues/6/comments","events_url":"https://api.github.com/repos/justdmitry/NetTelegramBotApi/issues/6/events","html_url":"https://github.com/justdmitry/NetTelegramBotApi/issues/6","id":101155463,"number":6,"title":"Send pdf","user":{"login":"hanigamini","id":12791970,"avatar_url":"https://avatars.githubusercontent.com/u/12791970?v=3","gravatar_id":"","url":"https://api.github.com/users/hanigamini","html_url":"https://github.com/hanigamini","followers_url":"https://api.github.com/users/hanigamini/followers","following_url":"https://api.github.com/users/hanigamini/following{/other_user}","gists_url":"https://api.github.com/users/hanigamini/gists{/gist_id}","starred_url":"https://api.github.com/users/hanigamini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanigamini/subscriptions","organizations_url":"https://api.github.com/users/hanigamini/orgs","repos_url":"https://api.github.com/users/hanigamini/repos","events_url":"https://api.github.com/users/hanigamini/events{/privacy}","received_events_url":"https://api.github.com/users/hanigamini/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-15T09:31:50Z","updated_at":"2015-08-16T04:56:06Z","closed_at":"2015-08-16T04:56:06Z","body":"Hi,\r\nwhen i want send pdf file this error accourd \r\nValue cannot be null.\r\nParameter name: content\r\n\r\nusing (var docData = Assembly.GetExecutingAssembly().GetManifestResourceStream(\"TelegramBotDemo.test.pdf\"))\r\n                                {\r\n                                   \r\n                                    var req = new SendDocument(update.Message.Chat.Id, new FileToSend(docData, \"test.pdf\"));\r\n                                    var msg = bot.MakeRequestAsync(req).Result;\r\n                                    uploadedDocumentId = msg.Document.FileId;\r\n                                }"},"comment":{"url":"https://api.github.com/repos/justdmitry/NetTelegramBotApi/issues/comments/131490882","html_url":"https://github.com/justdmitry/NetTelegramBotApi/issues/6#issuecomment-131490882","issue_url":"https://api.github.com/repos/justdmitry/NetTelegramBotApi/issues/6","id":131490882,"user":{"login":"hanigamini","id":12791970,"avatar_url":"https://avatars.githubusercontent.com/u/12791970?v=3","gravatar_id":"","url":"https://api.github.com/users/hanigamini","html_url":"https://github.com/hanigamini","followers_url":"https://api.github.com/users/hanigamini/followers","following_url":"https://api.github.com/users/hanigamini/following{/other_user}","gists_url":"https://api.github.com/users/hanigamini/gists{/gist_id}","starred_url":"https://api.github.com/users/hanigamini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanigamini/subscriptions","organizations_url":"https://api.github.com/users/hanigamini/orgs","repos_url":"https://api.github.com/users/hanigamini/repos","events_url":"https://api.github.com/users/hanigamini/events{/privacy}","received_events_url":"https://api.github.com/users/hanigamini/received_events","type":"User","site_admin":false},"created_at":"2015-08-16T04:56:06Z","updated_at":"2015-08-16T04:56:06Z","body":"Hi,\r\nThanks for your response."}}