Class: Telegram::Bot::Types::ChatBoostRemoved

Inherits:
Base
  • Object
show all
Defined in:
sig/telegram/bot/types/chat_boost_removed.rbs

Instance Attribute Summary collapse

Attributes inherited from Base

#attributes

Class Method Summary collapse

Methods included from Compactable

#to_compact_hash, #to_json

Methods included from PatternMatching

#deconstruct_keys

Instance Attribute Details

#boost_idString (readonly)

Returns the value of attribute boost_id.

Returns:

  • (String)


9
10
11
# File 'sig/telegram/bot/types/chat_boost_removed.rbs', line 9

def boost_id
  @boost_id
end

#chatChat (readonly)

Returns the value of attribute chat.

Returns:



8
9
10
# File 'sig/telegram/bot/types/chat_boost_removed.rbs', line 8

def chat
  @chat
end

#remove_dateInteger (readonly)

Returns the value of attribute remove_date.

Returns:

  • (Integer)


10
11
12
# File 'sig/telegram/bot/types/chat_boost_removed.rbs', line 10

def remove_date
  @remove_date
end

#sourcechat_boost_source (readonly)

Returns the value of attribute source.

Returns:

  • (chat_boost_source)


11
12
13
# File 'sig/telegram/bot/types/chat_boost_removed.rbs', line 11

def source
  @source
end

Class Method Details

.new(chat:, boost_id:, remove_date:, source:) ⇒ instance .new(attributes) ⇒ instance

Overloads:

  • .new(chat:, boost_id:, remove_date:, source:) ⇒ instance

    Parameters:

    • chat: (Chat)
    • boost_id: (String)
    • remove_date: (Integer)
    • source: (chat_boost_source)

    Returns:

    • (instance)
  • .new(attributes) ⇒ instance

    Parameters:

    • attributes (Hash[Symbol | String, untyped])

    Returns:

    • (instance)


6
7
# File 'sig/telegram/bot/types/chat_boost_removed.rbs', line 6

def self.new: (chat: Chat, boost_id: String, remove_date: Integer, source: chat_boost_source) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance