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