Class: Telegram::Bot::Types::UsersShared
- Defined in:
- sig/telegram/bot/types/users_shared.rbs
Instance Attribute Summary collapse
-
#request_id ⇒ Integer
readonly
Returns the value of attribute request_id.
-
#users ⇒ Array[SharedUser]
readonly
Returns the value of attribute users.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#request_id ⇒ Integer (readonly)
Returns the value of attribute request_id.
8 9 10 |
# File 'sig/telegram/bot/types/users_shared.rbs', line 8 def request_id @request_id end |
#users ⇒ Array[SharedUser] (readonly)
Returns the value of attribute users.
9 10 11 |
# File 'sig/telegram/bot/types/users_shared.rbs', line 9 def users @users end |
Class Method Details
.new(request_id:, users:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/users_shared.rbs', line 6
def self.new: (request_id: Integer, users: Array[SharedUser]) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|