Class: Telegram::Bot::Types::ChatInviteLink
- Defined in:
- sig/telegram/bot/types/chat_invite_link.rbs
Instance Attribute Summary collapse
-
#creates_join_request ⇒ Boolean
readonly
Returns the value of attribute creates_join_request.
-
#creator ⇒ User
readonly
Returns the value of attribute creator.
-
#expire_date ⇒ Integer?
readonly
Returns the value of attribute expire_date.
-
#invite_link ⇒ String
readonly
Returns the value of attribute invite_link.
-
#is_primary ⇒ Boolean
readonly
Returns the value of attribute is_primary.
-
#is_revoked ⇒ Boolean
readonly
Returns the value of attribute is_revoked.
-
#member_limit ⇒ Integer?
readonly
Returns the value of attribute member_limit.
-
#name ⇒ String?
readonly
Returns the value of attribute name.
-
#pending_join_request_count ⇒ Integer?
readonly
Returns the value of attribute pending_join_request_count.
-
#subscription_period ⇒ Integer?
readonly
Returns the value of attribute subscription_period.
-
#subscription_price ⇒ Integer?
readonly
Returns the value of attribute subscription_price.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#creates_join_request ⇒ Boolean (readonly)
Returns the value of attribute creates_join_request.
10 11 12 |
# File 'sig/telegram/bot/types/chat_invite_link.rbs', line 10 def creates_join_request @creates_join_request end |
#creator ⇒ User (readonly)
Returns the value of attribute creator.
9 10 11 |
# File 'sig/telegram/bot/types/chat_invite_link.rbs', line 9 def creator @creator end |
#expire_date ⇒ Integer? (readonly)
Returns the value of attribute expire_date.
14 15 16 |
# File 'sig/telegram/bot/types/chat_invite_link.rbs', line 14 def expire_date @expire_date end |
#invite_link ⇒ String (readonly)
Returns the value of attribute invite_link.
8 9 10 |
# File 'sig/telegram/bot/types/chat_invite_link.rbs', line 8 def invite_link @invite_link end |
#is_primary ⇒ Boolean (readonly)
Returns the value of attribute is_primary.
11 12 13 |
# File 'sig/telegram/bot/types/chat_invite_link.rbs', line 11 def is_primary @is_primary end |
#is_revoked ⇒ Boolean (readonly)
Returns the value of attribute is_revoked.
12 13 14 |
# File 'sig/telegram/bot/types/chat_invite_link.rbs', line 12 def is_revoked @is_revoked end |
#member_limit ⇒ Integer? (readonly)
Returns the value of attribute member_limit.
15 16 17 |
# File 'sig/telegram/bot/types/chat_invite_link.rbs', line 15 def member_limit @member_limit end |
#name ⇒ String? (readonly)
Returns the value of attribute name.
13 14 15 |
# File 'sig/telegram/bot/types/chat_invite_link.rbs', line 13 def name @name end |
#pending_join_request_count ⇒ Integer? (readonly)
Returns the value of attribute pending_join_request_count.
16 17 18 |
# File 'sig/telegram/bot/types/chat_invite_link.rbs', line 16 def pending_join_request_count @pending_join_request_count end |
#subscription_period ⇒ Integer? (readonly)
Returns the value of attribute subscription_period.
17 18 19 |
# File 'sig/telegram/bot/types/chat_invite_link.rbs', line 17 def subscription_period @subscription_period end |
#subscription_price ⇒ Integer? (readonly)
Returns the value of attribute subscription_price.
18 19 20 |
# File 'sig/telegram/bot/types/chat_invite_link.rbs', line 18 def subscription_price @subscription_price end |
Class Method Details
.new(invite_link:, creator:, creates_join_request:, is_primary:, is_revoked:, name:, expire_date:, member_limit:, pending_join_request_count:, subscription_period:, subscription_price:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/chat_invite_link.rbs', line 6
def self.new: (invite_link: String, creator: User, creates_join_request: bool, is_primary: bool, is_revoked: bool, ?name: String, ?expire_date: Integer, ?member_limit: Integer, ?pending_join_request_count: Integer, ?subscription_period: Integer, ?subscription_price: Integer) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|