NodePing.Contacts.mute_contact-exclamation-mark

You're seeing just the function mute_contact-exclamation-mark, go back to NodePing.Contacts module for more information.
Link to this function

mute_contact!(token, id, duration, customerid \\ nil)

View Source

Mute an entire contact for a specified duration in seconds. Note that the contact has to be the ID (or _id) of the contact.

NOTE: This makes a GET request to the API before doing a PUT

Parameters

  • token - NodePing API token that was provided with account
  • id - the ID for the contact you want to mute
  • duration - time to mute the contact method in seconds
  • customerid - optional ID to access a subaccount