Class: Telegram::Bot::Types::ChatJoinRequest
- Defined in:
- sig/telegram/bot/types/chat_join_request.rbs
Instance Attribute Summary collapse
-
#bio ⇒ String?
readonly
Returns the value of attribute bio.
-
#chat ⇒ Chat
readonly
Returns the value of attribute chat.
-
#date ⇒ Integer
readonly
Returns the value of attribute date.
-
#from ⇒ User
readonly
Returns the value of attribute from.
-
#invite_link ⇒ ChatInviteLink?
readonly
Returns the value of attribute invite_link.
-
#user_chat_id ⇒ Integer
readonly
Returns the value of attribute user_chat_id.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#bio ⇒ String? (readonly)
Returns the value of attribute bio.
12 13 14 |
# File 'sig/telegram/bot/types/chat_join_request.rbs', line 12 def bio @bio end |
#chat ⇒ Chat (readonly)
Returns the value of attribute chat.
8 9 10 |
# File 'sig/telegram/bot/types/chat_join_request.rbs', line 8 def chat @chat end |
#date ⇒ Integer (readonly)
Returns the value of attribute date.
11 12 13 |
# File 'sig/telegram/bot/types/chat_join_request.rbs', line 11 def date @date end |
#from ⇒ User (readonly)
Returns the value of attribute from.
9 10 11 |
# File 'sig/telegram/bot/types/chat_join_request.rbs', line 9 def from @from end |
#invite_link ⇒ ChatInviteLink? (readonly)
Returns the value of attribute invite_link.
13 14 15 |
# File 'sig/telegram/bot/types/chat_join_request.rbs', line 13 def invite_link @invite_link end |
#user_chat_id ⇒ Integer (readonly)
Returns the value of attribute user_chat_id.
10 11 12 |
# File 'sig/telegram/bot/types/chat_join_request.rbs', line 10 def user_chat_id @user_chat_id end |
Class Method Details
.new(chat:, from:, user_chat_id:, date:, bio:, invite_link:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/chat_join_request.rbs', line 6
def self.new: (chat: Chat, from: User, user_chat_id: Integer, date: Integer, ?bio: String, ?invite_link: ChatInviteLink) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|