Class: CQHttp::Bot::Target

Inherits:
Struct
  • Object
show all
Defined in:
lib/Bot/Bot.rb

Instance Attribute Summary collapse

Instance Attribute Details

#group_idObject

Returns the value of attribute group_id

Returns:

  • (Object)

    the current value of group_id



4
5
6
# File 'lib/Bot/Bot.rb', line 4

def group_id
  @group_id
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



4
5
6
# File 'lib/Bot/Bot.rb', line 4

def message
  @message
end

#message_idObject

Returns the value of attribute message_id

Returns:

  • (Object)

    the current value of message_id



4
5
6
# File 'lib/Bot/Bot.rb', line 4

def message_id
  @message_id
end

#messagetypeObject

Returns the value of attribute messagetype

Returns:

  • (Object)

    the current value of messagetype



4
5
6
# File 'lib/Bot/Bot.rb', line 4

def messagetype
  @messagetype
end

#timeObject

Returns the value of attribute time

Returns:

  • (Object)

    the current value of time



4
5
6
# File 'lib/Bot/Bot.rb', line 4

def time
  @time
end

#user_idObject

Returns the value of attribute user_id

Returns:

  • (Object)

    the current value of user_id



4
5
6
# File 'lib/Bot/Bot.rb', line 4

def user_id
  @user_id
end