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