Class: Telegram::Bot::Types::BusinessMessagesDeleted

Inherits:
Base
  • Object
show all
Defined in:
sig/telegram/bot/types/business_messages_deleted.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

#business_connection_idString (readonly)

Returns the value of attribute business_connection_id.

Returns:

  • (String)


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

def business_connection_id
  @business_connection_id
end

#chatChat (readonly)

Returns the value of attribute chat.

Returns:



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

def chat
  @chat
end

#message_idsArray[Integer] (readonly)

Returns the value of attribute message_ids.

Returns:

  • (Array[Integer])


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

def message_ids
  @message_ids
end

Class Method Details

.new(business_connection_id:, chat:, message_ids:) ⇒ instance .new(attributes) ⇒ instance

Overloads:

  • .new(business_connection_id:, chat:, message_ids:) ⇒ instance

    Parameters:

    • business_connection_id: (String)
    • chat: (Chat)
    • message_ids: (Array[Integer])

    Returns:

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

    Parameters:

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

    Returns:

    • (instance)


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

def self.new: (business_connection_id: String, chat: Chat, message_ids: Array[Integer]) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance