Package net.md_5.bungee.api.chat

# Class ClickEventCustom

java.lang.Object
net.md_5.bungee.api.chat.ClickEvent
net.md_5.bungee.api.chat.ClickEventCustom

public class ClickEventCustom extends ClickEvent
Click event which sends a custom payload to the server.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class net.md_5.bungee.api.chat.ClickEvent

  `ClickEvent.Action`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ClickEventCustom(String id, String payload)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected boolean`
  `canEqual(Object other)`
  `boolean`
  `equals(Object o)`
  `String`
  `getPayload()`
  The custom payload.
  `int`
  `hashCode()`
  `String`
  `toString()`

  ### Methods inherited from class net.md_5.bungee.api.chat.ClickEvent

  `getAction, getValue`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### ClickEventCustom

    public ClickEventCustom(String id, String payload)
    Parameters:
      `id` - identifier for the event (lower case, no special characters)
      `payload` - custom payload

- ## Method Details

  - ### getPayload

    public String getPayload()
    The custom payload.

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `ClickEvent`

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `ClickEvent`

  - ### canEqual

    protected boolean canEqual(Object other)
    Overrides:
      `canEqual` in class `ClickEvent`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `ClickEvent`