Class: Telegram::Bot::Types::BusinessConnection
- Defined in:
- sig/telegram/bot/types/business_connection.rbs
Instance Attribute Summary collapse
-
#date ⇒ Integer
readonly
Returns the value of attribute date.
-
#id ⇒ String
readonly
Returns the value of attribute id.
-
#is_enabled ⇒ Boolean
readonly
Returns the value of attribute is_enabled.
-
#rights ⇒ BusinessBotRights?
readonly
Returns the value of attribute rights.
-
#user ⇒ User
readonly
Returns the value of attribute user.
-
#user_chat_id ⇒ Integer
readonly
Returns the value of attribute user_chat_id.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#date ⇒ Integer (readonly)
Returns the value of attribute date.
11 12 13 |
# File 'sig/telegram/bot/types/business_connection.rbs', line 11 def date @date end |
#id ⇒ String (readonly)
Returns the value of attribute id.
8 9 10 |
# File 'sig/telegram/bot/types/business_connection.rbs', line 8 def id @id end |
#is_enabled ⇒ Boolean (readonly)
Returns the value of attribute is_enabled.
13 14 15 |
# File 'sig/telegram/bot/types/business_connection.rbs', line 13 def is_enabled @is_enabled end |
#rights ⇒ BusinessBotRights? (readonly)
Returns the value of attribute rights.
12 13 14 |
# File 'sig/telegram/bot/types/business_connection.rbs', line 12 def rights @rights end |
#user ⇒ User (readonly)
Returns the value of attribute user.
9 10 11 |
# File 'sig/telegram/bot/types/business_connection.rbs', line 9 def user @user end |
#user_chat_id ⇒ Integer (readonly)
Returns the value of attribute user_chat_id.
10 11 12 |
# File 'sig/telegram/bot/types/business_connection.rbs', line 10 def user_chat_id @user_chat_id end |
Class Method Details
.new(id:, user:, user_chat_id:, date:, rights:, is_enabled:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/business_connection.rbs', line 6
def self.new: (id: String, user: User, user_chat_id: Integer, date: Integer, ?rights: BusinessBotRights, is_enabled: bool) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|