ChimeraCoder / anaconda

A Go client library for the Twitter 1.1 API
MIT License
1.14k stars 247 forks source link

Feature/report spam #198

Closed andefined closed 7 years ago

andefined commented 7 years ago

Add support for the POST users/report_spam endpoint. By default the user will be also blocked, if you wish otherwise you should add v.Set("perform_block", "false") before calling PostUsersReportSpam or PostUsersReportSpamId.

ChimeraCoder commented 7 years ago

Mind rebasing this onto master (or checking the box that gives maintainers write access, so I can do that for you)? Thanks!

muesli commented 7 years ago

Note: This fixes #124.