Class: Telegram::Bot::Types::BusinessBotRights
- Defined in:
- sig/telegram/bot/types/business_bot_rights.rbs
Instance Attribute Summary collapse
-
#can_change_gift_settings ⇒ true?
readonly
Returns the value of attribute can_change_gift_settings.
-
#can_convert_gifts_to_stars ⇒ true?
readonly
Returns the value of attribute can_convert_gifts_to_stars.
-
#can_delete_all_messages ⇒ true?
readonly
Returns the value of attribute can_delete_all_messages.
-
#can_delete_sent_messages ⇒ true?
readonly
Returns the value of attribute can_delete_sent_messages.
-
#can_edit_bio ⇒ true?
readonly
Returns the value of attribute can_edit_bio.
-
#can_edit_name ⇒ true?
readonly
Returns the value of attribute can_edit_name.
-
#can_edit_profile_photo ⇒ true?
readonly
Returns the value of attribute can_edit_profile_photo.
-
#can_edit_username ⇒ true?
readonly
Returns the value of attribute can_edit_username.
-
#can_manage_stories ⇒ true?
readonly
Returns the value of attribute can_manage_stories.
-
#can_read_messages ⇒ true?
readonly
Returns the value of attribute can_read_messages.
-
#can_reply ⇒ true?
readonly
Returns the value of attribute can_reply.
-
#can_transfer_and_upgrade_gifts ⇒ true?
readonly
Returns the value of attribute can_transfer_and_upgrade_gifts.
-
#can_transfer_stars ⇒ true?
readonly
Returns the value of attribute can_transfer_stars.
-
#can_view_gifts_and_stars ⇒ true?
readonly
Returns the value of attribute can_view_gifts_and_stars.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#can_change_gift_settings ⇒ true? (readonly)
Returns the value of attribute can_change_gift_settings.
16 17 18 |
# File 'sig/telegram/bot/types/business_bot_rights.rbs', line 16 def can_change_gift_settings @can_change_gift_settings end |
#can_convert_gifts_to_stars ⇒ true? (readonly)
Returns the value of attribute can_convert_gifts_to_stars.
18 19 20 |
# File 'sig/telegram/bot/types/business_bot_rights.rbs', line 18 def can_convert_gifts_to_stars @can_convert_gifts_to_stars end |
#can_delete_all_messages ⇒ true? (readonly)
Returns the value of attribute can_delete_all_messages.
11 12 13 |
# File 'sig/telegram/bot/types/business_bot_rights.rbs', line 11 def @can_delete_all_messages end |
#can_delete_sent_messages ⇒ true? (readonly)
Returns the value of attribute can_delete_sent_messages.
10 11 12 |
# File 'sig/telegram/bot/types/business_bot_rights.rbs', line 10 def @can_delete_sent_messages end |
#can_edit_bio ⇒ true? (readonly)
Returns the value of attribute can_edit_bio.
13 14 15 |
# File 'sig/telegram/bot/types/business_bot_rights.rbs', line 13 def can_edit_bio @can_edit_bio end |
#can_edit_name ⇒ true? (readonly)
Returns the value of attribute can_edit_name.
12 13 14 |
# File 'sig/telegram/bot/types/business_bot_rights.rbs', line 12 def can_edit_name @can_edit_name end |
#can_edit_profile_photo ⇒ true? (readonly)
Returns the value of attribute can_edit_profile_photo.
14 15 16 |
# File 'sig/telegram/bot/types/business_bot_rights.rbs', line 14 def can_edit_profile_photo @can_edit_profile_photo end |
#can_edit_username ⇒ true? (readonly)
Returns the value of attribute can_edit_username.
15 16 17 |
# File 'sig/telegram/bot/types/business_bot_rights.rbs', line 15 def can_edit_username @can_edit_username end |
#can_manage_stories ⇒ true? (readonly)
Returns the value of attribute can_manage_stories.
21 22 23 |
# File 'sig/telegram/bot/types/business_bot_rights.rbs', line 21 def can_manage_stories @can_manage_stories end |
#can_read_messages ⇒ true? (readonly)
Returns the value of attribute can_read_messages.
9 10 11 |
# File 'sig/telegram/bot/types/business_bot_rights.rbs', line 9 def @can_read_messages end |
#can_reply ⇒ true? (readonly)
Returns the value of attribute can_reply.
8 9 10 |
# File 'sig/telegram/bot/types/business_bot_rights.rbs', line 8 def can_reply @can_reply end |
#can_transfer_and_upgrade_gifts ⇒ true? (readonly)
Returns the value of attribute can_transfer_and_upgrade_gifts.
19 20 21 |
# File 'sig/telegram/bot/types/business_bot_rights.rbs', line 19 def can_transfer_and_upgrade_gifts @can_transfer_and_upgrade_gifts end |
#can_transfer_stars ⇒ true? (readonly)
Returns the value of attribute can_transfer_stars.
20 21 22 |
# File 'sig/telegram/bot/types/business_bot_rights.rbs', line 20 def can_transfer_stars @can_transfer_stars end |
#can_view_gifts_and_stars ⇒ true? (readonly)
Returns the value of attribute can_view_gifts_and_stars.
17 18 19 |
# File 'sig/telegram/bot/types/business_bot_rights.rbs', line 17 def can_view_gifts_and_stars @can_view_gifts_and_stars end |
Class Method Details
.new(can_reply:, can_read_messages:, can_delete_sent_messages:, can_delete_all_messages:, can_edit_name:, can_edit_bio:, can_edit_profile_photo:, can_edit_username:, can_change_gift_settings:, can_view_gifts_and_stars:, can_convert_gifts_to_stars:, can_transfer_and_upgrade_gifts:, can_transfer_stars:, can_manage_stories:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/business_bot_rights.rbs', line 6
def self.new: (?can_reply: true, ?can_read_messages: true, ?can_delete_sent_messages: true, ?can_delete_all_messages: true, ?can_edit_name: true, ?can_edit_bio: true, ?can_edit_profile_photo: true, ?can_edit_username: true, ?can_change_gift_settings: true, ?can_view_gifts_and_stars: true, ?can_convert_gifts_to_stars: true, ?can_transfer_and_upgrade_gifts: true, ?can_transfer_stars: true, ?can_manage_stories: true) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|