class Rubirai::BotInvitedToGroupEvent
Event
that the bot is invited to a group
Public Instance Methods
respond(operation, message = '')
click to toggle source
Respond to the group invitation.
@param operation [Integer] see {GroupInviteRequestOperation} @param message [String] the message to reply @return [void]
# File lib/rubirai/event_resp.rb, line 145 def respond(operation, message = '') @bot.respond_to_group_invite @event_id, @from_id, @group_id, operation, message end