{"action":"closed","issue":{"url":"https://api.github.com/repos/mukel/telegrambot4s/issues/49","repository_url":"https://api.github.com/repos/mukel/telegrambot4s","labels_url":"https://api.github.com/repos/mukel/telegrambot4s/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/mukel/telegrambot4s/issues/49/comments","events_url":"https://api.github.com/repos/mukel/telegrambot4s/issues/49/events","html_url":"https://github.com/mukel/telegrambot4s/issues/49","id":269075335,"number":49,"title":"Line breaks in photo/document caption are broken","user":{"login":"kitsunyan","id":24494863,"avatar_url":"https://avatars0.githubusercontent.com/u/24494863?v=4","gravatar_id":"","url":"https://api.github.com/users/kitsunyan","html_url":"https://github.com/kitsunyan","followers_url":"https://api.github.com/users/kitsunyan/followers","following_url":"https://api.github.com/users/kitsunyan/following{/other_user}","gists_url":"https://api.github.com/users/kitsunyan/gists{/gist_id}","starred_url":"https://api.github.com/users/kitsunyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kitsunyan/subscriptions","organizations_url":"https://api.github.com/users/kitsunyan/orgs","repos_url":"https://api.github.com/users/kitsunyan/repos","events_url":"https://api.github.com/users/kitsunyan/events{/privacy}","received_events_url":"https://api.github.com/users/kitsunyan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-27T11:29:22Z","updated_at":"2017-10-27T16:29:10Z","closed_at":"2017-10-27T16:29:10Z","author_association":"NONE","body":"I've updated library from `3.0.4` to `3.0.13` and faced the problem with line breaks in document title. They are sent as plain text.\r\n\r\n```scala\r\nSendDocument(chatId, InputFile(\"file.png\", byteArray),\r\n  caption = Some(\"first line\\nsecond line\"))\r\n```\r\n\r\nResulting message in `3.0.4`:\r\n```\r\nfirst line\r\nsecond line\r\n```\r\n\r\nIn `3.0.13`:\r\n```\r\nfirst line\\nsecond line\r\n```"}}
{"actor":{"display_login":"mukel"}}