Method: Discordrb::Webhook#type

Defined in:
lib/discordrb/data/webhook.rb

#typeInteger (readonly)

Returns the webhook's type (1: Incoming, 2: Channel Follower).

Returns:

  • (Integer)

    the webhook's type (1: Incoming, 2: Channel Follower)



27
28
29
# File 'lib/discordrb/data/webhook.rb', line 27

def type
  @type
end