Class: Telegram::Bot::Types::MessageOriginChannel
- Defined in:
- sig/telegram/bot/types/message_origin_channel.rbs
Instance Attribute Summary collapse
-
#author_signature ⇒ String?
readonly
Returns the value of attribute author_signature.
-
#chat ⇒ Chat
readonly
Returns the value of attribute chat.
-
#date ⇒ Integer
readonly
Returns the value of attribute date.
-
#message_id ⇒ Integer
readonly
Returns the value of attribute message_id.
-
#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.
12 13 14 |
# File 'sig/telegram/bot/types/message_origin_channel.rbs', line 12 def @author_signature end |
#chat ⇒ Chat (readonly)
Returns the value of attribute chat.
10 11 12 |
# File 'sig/telegram/bot/types/message_origin_channel.rbs', line 10 def chat @chat end |
#date ⇒ Integer (readonly)
Returns the value of attribute date.
9 10 11 |
# File 'sig/telegram/bot/types/message_origin_channel.rbs', line 9 def date @date end |
#message_id ⇒ Integer (readonly)
Returns the value of attribute message_id.
11 12 13 |
# File 'sig/telegram/bot/types/message_origin_channel.rbs', line 11 def @message_id end |
#type ⇒ String (readonly)
Returns the value of attribute type.
8 9 10 |
# File 'sig/telegram/bot/types/message_origin_channel.rbs', line 8 def type @type end |
Class Method Details
.new(type:, date:, chat:, message_id:, author_signature:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/message_origin_channel.rbs', line 6
def self.new: (?type: String, date: Integer, chat: Chat, message_id: Integer, ?author_signature: String) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|