BPPMsgModules - danopia/deviantart-difi GitHub Wiki

vote

This method is called when responding to group invitation or submission requests

Params

  • group_id: number
  • deviation_id: number
  • vote: number (1 = yes, 2 = no)
  • type?: text (submission_offer for deviation vote, invitation for group invitations)

Response

  • On success, returns a Dialog-like object.
  • On fail, returns an error object, such as:
    • code: ERR_VALIDATION
      human: Sorry, you are not allowed to vote on this process.
    • code: ERR_USER_QUOTA_EXCEEDED
      human: Sorry, you are unable to join this group. You are already an administrator of three or more groups. Please leave any other group, or upgrade to Core Membership first.

cancel

undocumented