Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get direct messages #567

Open
emorling opened this issue Dec 24, 2021 · 2 comments
Open

Get direct messages #567

emorling opened this issue Dec 24, 2021 · 2 comments

Comments

@emorling
Copy link

Is it possible to get a list of direct messages?

I tried this for example:

T.post('direct_messages/list', function (err, data, response) { console.log(data) })

@orhanarslan-uzmancrm
Copy link

Can you try :"T.get('direct_messages/events/list', function (err, data, response) { console.log(data) })"

@kautilyak
Copy link

kautilyak commented Apr 2, 2022

OP, you are trying to POST instead of GET. If you are looking to get recent Direct messages
Try
T.get('direct_messages/events/list, callback func)

If you want to send
POST to direct_messages/events/new

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants