{"action":"created","issue":{"url":"https://api.github.com/repos/ryanmcgrath/twython/issues/500","repository_url":"https://api.github.com/repos/ryanmcgrath/twython","labels_url":"https://api.github.com/repos/ryanmcgrath/twython/issues/500/labels{/name}","comments_url":"https://api.github.com/repos/ryanmcgrath/twython/issues/500/comments","events_url":"https://api.github.com/repos/ryanmcgrath/twython/issues/500/events","html_url":"https://github.com/ryanmcgrath/twython/pull/500","id":365145882,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5MTU2MTkx","number":500,"title":"Added support for the new direct message endpoints","user":{"login":"manuelcortez","id":9423498,"node_id":"MDQ6VXNlcjk0MjM0OTg=","avatar_url":"https://avatars3.githubusercontent.com/u/9423498?v=4","gravatar_id":"","url":"https://api.github.com/users/manuelcortez","html_url":"https://github.com/manuelcortez","followers_url":"https://api.github.com/users/manuelcortez/followers","following_url":"https://api.github.com/users/manuelcortez/following{/other_user}","gists_url":"https://api.github.com/users/manuelcortez/gists{/gist_id}","starred_url":"https://api.github.com/users/manuelcortez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuelcortez/subscriptions","organizations_url":"https://api.github.com/users/manuelcortez/orgs","repos_url":"https://api.github.com/users/manuelcortez/repos","events_url":"https://api.github.com/users/manuelcortez/events{/privacy}","received_events_url":"https://api.github.com/users/manuelcortez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-09-29T16:23:03Z","updated_at":"2018-11-15T19:20:56Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ryanmcgrath/twython/pulls/500","html_url":"https://github.com/ryanmcgrath/twython/pull/500","diff_url":"https://github.com/ryanmcgrath/twython/pull/500.diff","patch_url":"https://github.com/ryanmcgrath/twython/pull/500.patch"},"body":"This adds support for the new event based direct messages methods, available after August 16. In particular, get_direct_messages, get_direct_message, send_direct_message and destroy_direct_message were changed to the new methods provided in Twitter. Take into account that new objects (events) are returned for all GET methods related to direct messages, and in order to send a direct message you have to send an event in a dictionary as specified in the [Documentation of this method.](https://developer.twitter.com/en/docs/direct-messages/sending-and-receiving/api-reference/new-event.html) Also, the function get_send_messages should be removed, as is no longer possible to use that endpoint."},"comment":{"url":"https://api.github.com/repos/ryanmcgrath/twython/issues/comments/439158772","html_url":"https://github.com/ryanmcgrath/twython/pull/500#issuecomment-439158772","issue_url":"https://api.github.com/repos/ryanmcgrath/twython/issues/500","id":439158772,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTE1ODc3Mg==","user":{"login":"michaelhelmick","id":352270,"node_id":"MDQ6VXNlcjM1MjI3MA==","avatar_url":"https://avatars3.githubusercontent.com/u/352270?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelhelmick","html_url":"https://github.com/michaelhelmick","followers_url":"https://api.github.com/users/michaelhelmick/followers","following_url":"https://api.github.com/users/michaelhelmick/following{/other_user}","gists_url":"https://api.github.com/users/michaelhelmick/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelhelmick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelhelmick/subscriptions","organizations_url":"https://api.github.com/users/michaelhelmick/orgs","repos_url":"https://api.github.com/users/michaelhelmick/repos","events_url":"https://api.github.com/users/michaelhelmick/events{/privacy}","received_events_url":"https://api.github.com/users/michaelhelmick/received_events","type":"User","site_admin":false},"created_at":"2018-11-15T19:20:56Z","updated_at":"2018-11-15T19:20:56Z","author_association":"COLLABORATOR","body":"Hi all!\r\n\r\nSorry, this must have missed my inbox.\r\n\r\n@ryanmcgrath Not sure if the call for contributors fell through, but I'll try and put one out after the Thanksgiving holiday (with @manuelcortez being a lead candidate :))! \r\n\r\nThe only issue I see with this is that `data_key` is spaced in a bit far under the first `if`, fix that and I'll merge this."}}
{"actor":{"display_login":"michaelhelmick"}}