Method: Discordrb::Channel#recipients

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

#recipientsArray<Recipient>? (readonly)

Returns the array of recipients of the private messages, or nil if this is not a Private channel.

Returns:

  • (Array<Recipient>, nil)

    the array of recipients of the private messages, or nil if this is not a Private channel



44
45
46
# File 'lib/discordrb/data/channel.rb', line 44

def recipients
  @recipients
end