Class: Telegram::Message

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

Instance Attribute Summary collapse

Instance Attribute Details

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



18
19
20
# File 'lib/telegram/events.rb', line 18

def from
  @from
end

#from_typeObject

Returns the value of attribute from_type

Returns:

  • (Object)

    the current value of from_type



18
19
20
# File 'lib/telegram/events.rb', line 18

def from_type
  @from_type
end

#raw_fromObject

Returns the value of attribute raw_from

Returns:

  • (Object)

    the current value of raw_from



18
19
20
# File 'lib/telegram/events.rb', line 18

def raw_from
  @raw_from
end

#raw_toObject

Returns the value of attribute raw_to

Returns:

  • (Object)

    the current value of raw_to



18
19
20
# File 'lib/telegram/events.rb', line 18

def raw_to
  @raw_to
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



18
19
20
# File 'lib/telegram/events.rb', line 18

def text
  @text
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



18
19
20
# File 'lib/telegram/events.rb', line 18

def to
  @to
end

#to_typeObject

Returns the value of attribute to_type

Returns:

  • (Object)

    the current value of to_type



18
19
20
# File 'lib/telegram/events.rb', line 18

def to_type
  @to_type
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



18
19
20
# File 'lib/telegram/events.rb', line 18

def type
  @type
end