Class: Telegram::Bot::Types::ChatFullInfo
- Defined in:
- sig/telegram/bot/types/chat_full_info.rbs
Instance Attribute Summary collapse
-
#accent_color_id ⇒ Integer
readonly
Returns the value of attribute accent_color_id.
-
#accepted_gift_types ⇒ AcceptedGiftTypes
readonly
Returns the value of attribute accepted_gift_types.
-
#active_usernames ⇒ Array[String]?
readonly
Returns the value of attribute active_usernames.
-
#available_reactions ⇒ Array[reaction_type]?
readonly
Returns the value of attribute available_reactions.
-
#background_custom_emoji_id ⇒ String?
readonly
Returns the value of attribute background_custom_emoji_id.
-
#bio ⇒ String?
readonly
Returns the value of attribute bio.
-
#birthdate ⇒ Birthdate?
readonly
Returns the value of attribute birthdate.
-
#business_intro ⇒ BusinessIntro?
readonly
Returns the value of attribute business_intro.
-
#business_location ⇒ BusinessLocation?
readonly
Returns the value of attribute business_location.
-
#business_opening_hours ⇒ BusinessOpeningHours?
readonly
Returns the value of attribute business_opening_hours.
-
#can_send_paid_media ⇒ true?
readonly
Returns the value of attribute can_send_paid_media.
-
#can_set_sticker_set ⇒ true?
readonly
Returns the value of attribute can_set_sticker_set.
-
#custom_emoji_sticker_set_name ⇒ String?
readonly
Returns the value of attribute custom_emoji_sticker_set_name.
-
#description ⇒ String?
readonly
Returns the value of attribute description.
-
#emoji_status_custom_emoji_id ⇒ String?
readonly
Returns the value of attribute emoji_status_custom_emoji_id.
-
#emoji_status_expiration_date ⇒ Integer?
readonly
Returns the value of attribute emoji_status_expiration_date.
-
#first_name ⇒ String?
readonly
Returns the value of attribute first_name.
-
#first_profile_audio ⇒ Audio?
readonly
Returns the value of attribute first_profile_audio.
-
#has_aggressive_anti_spam_enabled ⇒ true?
readonly
Returns the value of attribute has_aggressive_anti_spam_enabled.
-
#has_hidden_members ⇒ true?
readonly
Returns the value of attribute has_hidden_members.
-
#has_private_forwards ⇒ true?
readonly
Returns the value of attribute has_private_forwards.
-
#has_protected_content ⇒ true?
readonly
Returns the value of attribute has_protected_content.
-
#has_restricted_voice_and_video_messages ⇒ true?
readonly
Returns the value of attribute has_restricted_voice_and_video_messages.
-
#has_visible_history ⇒ true?
readonly
Returns the value of attribute has_visible_history.
-
#id ⇒ Integer
readonly
Returns the value of attribute id.
-
#invite_link ⇒ String?
readonly
Returns the value of attribute invite_link.
-
#is_direct_messages ⇒ true?
readonly
Returns the value of attribute is_direct_messages.
-
#is_forum ⇒ true?
readonly
Returns the value of attribute is_forum.
-
#join_by_request ⇒ true?
readonly
Returns the value of attribute join_by_request.
-
#join_to_send_messages ⇒ true?
readonly
Returns the value of attribute join_to_send_messages.
-
#last_name ⇒ String?
readonly
Returns the value of attribute last_name.
-
#linked_chat_id ⇒ Integer?
readonly
Returns the value of attribute linked_chat_id.
-
#location ⇒ ChatLocation?
readonly
Returns the value of attribute location.
-
#max_reaction_count ⇒ Integer
readonly
Returns the value of attribute max_reaction_count.
-
#message_auto_delete_time ⇒ Integer?
readonly
Returns the value of attribute message_auto_delete_time.
-
#paid_message_star_count ⇒ Integer?
readonly
Returns the value of attribute paid_message_star_count.
-
#parent_chat ⇒ Chat?
readonly
Returns the value of attribute parent_chat.
-
#permissions ⇒ ChatPermissions?
readonly
Returns the value of attribute permissions.
-
#personal_chat ⇒ Chat?
readonly
Returns the value of attribute personal_chat.
-
#photo ⇒ ChatPhoto?
readonly
Returns the value of attribute photo.
-
#pinned_message ⇒ Message?
readonly
Returns the value of attribute pinned_message.
-
#profile_accent_color_id ⇒ Integer?
readonly
Returns the value of attribute profile_accent_color_id.
-
#profile_background_custom_emoji_id ⇒ String?
readonly
Returns the value of attribute profile_background_custom_emoji_id.
-
#rating ⇒ UserRating?
readonly
Returns the value of attribute rating.
-
#slow_mode_delay ⇒ Integer?
readonly
Returns the value of attribute slow_mode_delay.
-
#sticker_set_name ⇒ String?
readonly
Returns the value of attribute sticker_set_name.
-
#title ⇒ String?
readonly
Returns the value of attribute title.
-
#type ⇒ String
readonly
Returns the value of attribute type.
-
#unique_gift_colors ⇒ UniqueGiftColors?
readonly
Returns the value of attribute unique_gift_colors.
-
#unrestrict_boost_count ⇒ Integer?
readonly
Returns the value of attribute unrestrict_boost_count.
-
#username ⇒ String?
readonly
Returns the value of attribute username.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#accent_color_id ⇒ Integer (readonly)
Returns the value of attribute accent_color_id.
16 17 18 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 16 def accent_color_id @accent_color_id end |
#accepted_gift_types ⇒ AcceptedGiftTypes (readonly)
Returns the value of attribute accepted_gift_types.
41 42 43 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 41 def accepted_gift_types @accepted_gift_types end |
#active_usernames ⇒ Array[String]? (readonly)
Returns the value of attribute active_usernames.
19 20 21 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 19 def active_usernames @active_usernames end |
#available_reactions ⇒ Array[reaction_type]? (readonly)
Returns the value of attribute available_reactions.
26 27 28 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 26 def available_reactions @available_reactions end |
#background_custom_emoji_id ⇒ String? (readonly)
Returns the value of attribute background_custom_emoji_id.
27 28 29 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 27 def background_custom_emoji_id @background_custom_emoji_id end |
#bio ⇒ String? (readonly)
Returns the value of attribute bio.
32 33 34 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 32 def bio @bio end |
#birthdate ⇒ Birthdate? (readonly)
Returns the value of attribute birthdate.
20 21 22 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 20 def birthdate @birthdate end |
#business_intro ⇒ BusinessIntro? (readonly)
Returns the value of attribute business_intro.
21 22 23 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 21 def business_intro @business_intro end |
#business_location ⇒ BusinessLocation? (readonly)
Returns the value of attribute business_location.
22 23 24 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 22 def business_location @business_location end |
#business_opening_hours ⇒ BusinessOpeningHours? (readonly)
Returns the value of attribute business_opening_hours.
23 24 25 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 23 def business_opening_hours @business_opening_hours end |
#can_send_paid_media ⇒ true? (readonly)
Returns the value of attribute can_send_paid_media.
42 43 44 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 42 def can_send_paid_media @can_send_paid_media end |
#can_set_sticker_set ⇒ true? (readonly)
Returns the value of attribute can_set_sticker_set.
51 52 53 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 51 def can_set_sticker_set @can_set_sticker_set end |
#custom_emoji_sticker_set_name ⇒ String? (readonly)
Returns the value of attribute custom_emoji_sticker_set_name.
52 53 54 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 52 def custom_emoji_sticker_set_name @custom_emoji_sticker_set_name end |
#description ⇒ String? (readonly)
Returns the value of attribute description.
37 38 39 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 37 def description @description end |
#emoji_status_custom_emoji_id ⇒ String? (readonly)
Returns the value of attribute emoji_status_custom_emoji_id.
30 31 32 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 30 def emoji_status_custom_emoji_id @emoji_status_custom_emoji_id end |
#emoji_status_expiration_date ⇒ Integer? (readonly)
Returns the value of attribute emoji_status_expiration_date.
31 32 33 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 31 def emoji_status_expiration_date @emoji_status_expiration_date end |
#first_name ⇒ String? (readonly)
Returns the value of attribute first_name.
12 13 14 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 12 def first_name @first_name end |
#first_profile_audio ⇒ Audio? (readonly)
Returns the value of attribute first_profile_audio.
56 57 58 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 56 def first_profile_audio @first_profile_audio end |
#has_aggressive_anti_spam_enabled ⇒ true? (readonly)
Returns the value of attribute has_aggressive_anti_spam_enabled.
46 47 48 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 46 def has_aggressive_anti_spam_enabled @has_aggressive_anti_spam_enabled end |
#has_hidden_members ⇒ true? (readonly)
Returns the value of attribute has_hidden_members.
47 48 49 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 47 def has_hidden_members @has_hidden_members end |
#has_private_forwards ⇒ true? (readonly)
Returns the value of attribute has_private_forwards.
33 34 35 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 33 def has_private_forwards @has_private_forwards end |
#has_protected_content ⇒ true? (readonly)
Returns the value of attribute has_protected_content.
48 49 50 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 48 def has_protected_content @has_protected_content end |
#has_restricted_voice_and_video_messages ⇒ true? (readonly)
Returns the value of attribute has_restricted_voice_and_video_messages.
34 35 36 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 34 def @has_restricted_voice_and_video_messages end |
#has_visible_history ⇒ true? (readonly)
Returns the value of attribute has_visible_history.
49 50 51 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 49 def has_visible_history @has_visible_history end |
#id ⇒ Integer (readonly)
Returns the value of attribute id.
8 9 10 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 8 def id @id end |
#invite_link ⇒ String? (readonly)
Returns the value of attribute invite_link.
38 39 40 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 38 def invite_link @invite_link end |
#is_direct_messages ⇒ true? (readonly)
Returns the value of attribute is_direct_messages.
15 16 17 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 15 def @is_direct_messages end |
#is_forum ⇒ true? (readonly)
Returns the value of attribute is_forum.
14 15 16 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 14 def is_forum @is_forum end |
#join_by_request ⇒ true? (readonly)
Returns the value of attribute join_by_request.
36 37 38 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 36 def join_by_request @join_by_request end |
#join_to_send_messages ⇒ true? (readonly)
Returns the value of attribute join_to_send_messages.
35 36 37 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 35 def @join_to_send_messages end |
#last_name ⇒ String? (readonly)
Returns the value of attribute last_name.
13 14 15 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 13 def last_name @last_name end |
#linked_chat_id ⇒ Integer? (readonly)
Returns the value of attribute linked_chat_id.
53 54 55 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 53 def linked_chat_id @linked_chat_id end |
#location ⇒ ChatLocation? (readonly)
Returns the value of attribute location.
54 55 56 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 54 def location @location end |
#max_reaction_count ⇒ Integer (readonly)
Returns the value of attribute max_reaction_count.
17 18 19 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 17 def max_reaction_count @max_reaction_count end |
#message_auto_delete_time ⇒ Integer? (readonly)
Returns the value of attribute message_auto_delete_time.
45 46 47 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 45 def @message_auto_delete_time end |
#paid_message_star_count ⇒ Integer? (readonly)
Returns the value of attribute paid_message_star_count.
58 59 60 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 58 def @paid_message_star_count end |
#parent_chat ⇒ Chat? (readonly)
Returns the value of attribute parent_chat.
25 26 27 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 25 def parent_chat @parent_chat end |
#permissions ⇒ ChatPermissions? (readonly)
Returns the value of attribute permissions.
40 41 42 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 40 def @permissions end |
#personal_chat ⇒ Chat? (readonly)
Returns the value of attribute personal_chat.
24 25 26 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 24 def personal_chat @personal_chat end |
#photo ⇒ ChatPhoto? (readonly)
Returns the value of attribute photo.
18 19 20 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 18 def photo @photo end |
#pinned_message ⇒ Message? (readonly)
Returns the value of attribute pinned_message.
39 40 41 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 39 def @pinned_message end |
#profile_accent_color_id ⇒ Integer? (readonly)
Returns the value of attribute profile_accent_color_id.
28 29 30 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 28 def profile_accent_color_id @profile_accent_color_id end |
#profile_background_custom_emoji_id ⇒ String? (readonly)
Returns the value of attribute profile_background_custom_emoji_id.
29 30 31 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 29 def profile_background_custom_emoji_id @profile_background_custom_emoji_id end |
#rating ⇒ UserRating? (readonly)
Returns the value of attribute rating.
55 56 57 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 55 def @rating end |
#slow_mode_delay ⇒ Integer? (readonly)
Returns the value of attribute slow_mode_delay.
43 44 45 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 43 def slow_mode_delay @slow_mode_delay end |
#sticker_set_name ⇒ String? (readonly)
Returns the value of attribute sticker_set_name.
50 51 52 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 50 def sticker_set_name @sticker_set_name end |
#title ⇒ String? (readonly)
Returns the value of attribute title.
10 11 12 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 10 def title @title end |
#type ⇒ String (readonly)
Returns the value of attribute type.
9 10 11 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 9 def type @type end |
#unique_gift_colors ⇒ UniqueGiftColors? (readonly)
Returns the value of attribute unique_gift_colors.
57 58 59 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 57 def unique_gift_colors @unique_gift_colors end |
#unrestrict_boost_count ⇒ Integer? (readonly)
Returns the value of attribute unrestrict_boost_count.
44 45 46 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 44 def unrestrict_boost_count @unrestrict_boost_count end |
#username ⇒ String? (readonly)
Returns the value of attribute username.
11 12 13 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 11 def username @username end |
Class Method Details
.new(id:, type:, title:, username:, first_name:, last_name:, is_forum:, is_direct_messages:, accent_color_id:, max_reaction_count:, photo:, active_usernames:, birthdate:, business_intro:, business_location:, business_opening_hours:, personal_chat:, parent_chat:, available_reactions:, background_custom_emoji_id:, profile_accent_color_id:, profile_background_custom_emoji_id:, emoji_status_custom_emoji_id:, emoji_status_expiration_date:, bio:, has_private_forwards:, has_restricted_voice_and_video_messages:, join_to_send_messages:, join_by_request:, description:, invite_link:, pinned_message:, permissions:, accepted_gift_types:, can_send_paid_media:, slow_mode_delay:, unrestrict_boost_count:, message_auto_delete_time:, has_aggressive_anti_spam_enabled:, has_hidden_members:, has_protected_content:, has_visible_history:, sticker_set_name:, can_set_sticker_set:, custom_emoji_sticker_set_name:, linked_chat_id:, location:, rating:, first_profile_audio:, unique_gift_colors:, paid_message_star_count:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/chat_full_info.rbs', line 6
def self.new: (id: Integer, type: String, ?title: String, ?username: String, ?first_name: String, ?last_name: String, ?is_forum: true, ?is_direct_messages: true, accent_color_id: Integer, max_reaction_count: Integer, ?photo: ChatPhoto, ?active_usernames: Array[String], ?birthdate: Birthdate, ?business_intro: BusinessIntro, ?business_location: BusinessLocation, ?business_opening_hours: BusinessOpeningHours, ?personal_chat: Chat, ?parent_chat: Chat, ?available_reactions: Array[reaction_type], ?background_custom_emoji_id: String, ?profile_accent_color_id: Integer, ?profile_background_custom_emoji_id: String, ?emoji_status_custom_emoji_id: String, ?emoji_status_expiration_date: Integer, ?bio: String, ?has_private_forwards: true, ?has_restricted_voice_and_video_messages: true, ?join_to_send_messages: true, ?join_by_request: true, ?description: String, ?invite_link: String, ?pinned_message: Message, ?permissions: ChatPermissions, accepted_gift_types: AcceptedGiftTypes, ?can_send_paid_media: true, ?slow_mode_delay: Integer, ?unrestrict_boost_count: Integer, ?message_auto_delete_time: Integer, ?has_aggressive_anti_spam_enabled: true, ?has_hidden_members: true, ?has_protected_content: true, ?has_visible_history: true, ?sticker_set_name: String, ?can_set_sticker_set: true, ?custom_emoji_sticker_set_name: String, ?linked_chat_id: Integer, ?location: ChatLocation, ?rating: UserRating, ?first_profile_audio: Audio, ?unique_gift_colors: UniqueGiftColors, ?paid_message_star_count: Integer) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|