MCPcopy Index your code
hub / github.com/ryanmcgrath/twython / destroy_direct_message

Method destroy_direct_message

twython/endpoints.py:328–335  ·  view source on GitHub ↗

Destroys the direct message specified in the required ``id`` parameter Docs: https://developer.twitter.com/en/docs/direct-messages/sending-and-receiving/api-reference/delete-message-event

(self, **params)

Source from the content-addressed store, hash-verified

326 return self.get('direct_messages/events/show', params=params)
327
328 def destroy_direct_message(self, **params):
329 """Destroys the direct message specified in the required ``id`` parameter
330
331 Docs:
332 https://developer.twitter.com/en/docs/direct-messages/sending-and-receiving/api-reference/delete-message-event
333
334 """
335 return self.delete('direct_messages/events/destroy', params=params)
336
337 def send_direct_message(self, **params):
338 """Sends a new direct message to the specified user from the

Calls 1

deleteMethod · 0.80