Class: Telegram::Bot::Types::ExternalReplyInfo
- Defined in:
- sig/telegram/bot/types/external_reply_info.rbs
Instance Attribute Summary collapse
-
#animation ⇒ Animation?
readonly
Returns the value of attribute animation.
-
#audio ⇒ Audio?
readonly
Returns the value of attribute audio.
-
#chat ⇒ Chat?
readonly
Returns the value of attribute chat.
-
#checklist ⇒ Checklist?
readonly
Returns the value of attribute checklist.
-
#contact ⇒ Contact?
readonly
Returns the value of attribute contact.
-
#dice ⇒ Dice?
readonly
Returns the value of attribute dice.
-
#document ⇒ Document?
readonly
Returns the value of attribute document.
-
#game ⇒ Game?
readonly
Returns the value of attribute game.
-
#giveaway ⇒ Giveaway?
readonly
Returns the value of attribute giveaway.
-
#giveaway_winners ⇒ GiveawayWinners?
readonly
Returns the value of attribute giveaway_winners.
-
#has_media_spoiler ⇒ true?
readonly
Returns the value of attribute has_media_spoiler.
-
#invoice ⇒ Invoice?
readonly
Returns the value of attribute invoice.
-
#link_preview_options ⇒ LinkPreviewOptions?
readonly
Returns the value of attribute link_preview_options.
-
#location ⇒ Location?
readonly
Returns the value of attribute location.
-
#message_id ⇒ Integer?
readonly
Returns the value of attribute message_id.
-
#origin ⇒ message_origin
readonly
Returns the value of attribute origin.
-
#paid_media ⇒ PaidMediaInfo?
readonly
Returns the value of attribute paid_media.
-
#photo ⇒ Array[PhotoSize]?
readonly
Returns the value of attribute photo.
-
#poll ⇒ Poll?
readonly
Returns the value of attribute poll.
-
#sticker ⇒ Sticker?
readonly
Returns the value of attribute sticker.
-
#story ⇒ Story?
readonly
Returns the value of attribute story.
-
#venue ⇒ Venue?
readonly
Returns the value of attribute venue.
-
#video ⇒ Video?
readonly
Returns the value of attribute video.
-
#video_note ⇒ VideoNote?
readonly
Returns the value of attribute video_note.
-
#voice ⇒ Voice?
readonly
Returns the value of attribute voice.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#animation ⇒ Animation? (readonly)
Returns the value of attribute animation.
12 13 14 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 12 def animation @animation end |
#audio ⇒ Audio? (readonly)
Returns the value of attribute audio.
13 14 15 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 13 def audio @audio end |
#chat ⇒ Chat? (readonly)
Returns the value of attribute chat.
9 10 11 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 9 def chat @chat end |
#checklist ⇒ Checklist? (readonly)
Returns the value of attribute checklist.
23 24 25 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 23 def checklist @checklist end |
#contact ⇒ Contact? (readonly)
Returns the value of attribute contact.
24 25 26 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 24 def contact @contact end |
#dice ⇒ Dice? (readonly)
Returns the value of attribute dice.
25 26 27 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 25 def dice @dice end |
#document ⇒ Document? (readonly)
Returns the value of attribute document.
14 15 16 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 14 def document @document end |
#game ⇒ Game? (readonly)
Returns the value of attribute game.
26 27 28 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 26 def game @game end |
#giveaway ⇒ Giveaway? (readonly)
Returns the value of attribute giveaway.
27 28 29 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 27 def giveaway @giveaway end |
#giveaway_winners ⇒ GiveawayWinners? (readonly)
Returns the value of attribute giveaway_winners.
28 29 30 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 28 def giveaway_winners @giveaway_winners end |
#has_media_spoiler ⇒ true? (readonly)
Returns the value of attribute has_media_spoiler.
22 23 24 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 22 def has_media_spoiler @has_media_spoiler end |
#invoice ⇒ Invoice? (readonly)
Returns the value of attribute invoice.
29 30 31 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 29 def invoice @invoice end |
#link_preview_options ⇒ LinkPreviewOptions? (readonly)
Returns the value of attribute link_preview_options.
11 12 13 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 11 def @link_preview_options end |
#location ⇒ Location? (readonly)
Returns the value of attribute location.
30 31 32 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 30 def location @location end |
#message_id ⇒ Integer? (readonly)
Returns the value of attribute message_id.
10 11 12 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 10 def @message_id end |
#origin ⇒ message_origin (readonly)
Returns the value of attribute origin.
8 9 10 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 8 def origin @origin end |
#paid_media ⇒ PaidMediaInfo? (readonly)
Returns the value of attribute paid_media.
15 16 17 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 15 def paid_media @paid_media end |
#photo ⇒ Array[PhotoSize]? (readonly)
Returns the value of attribute photo.
16 17 18 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 16 def photo @photo end |
#poll ⇒ Poll? (readonly)
Returns the value of attribute poll.
31 32 33 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 31 def poll @poll end |
#sticker ⇒ Sticker? (readonly)
Returns the value of attribute sticker.
17 18 19 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 17 def sticker @sticker end |
#story ⇒ Story? (readonly)
Returns the value of attribute story.
18 19 20 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 18 def story @story end |
#venue ⇒ Venue? (readonly)
Returns the value of attribute venue.
32 33 34 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 32 def venue @venue end |
#video ⇒ Video? (readonly)
Returns the value of attribute video.
19 20 21 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 19 def video @video end |
#video_note ⇒ VideoNote? (readonly)
Returns the value of attribute video_note.
20 21 22 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 20 def video_note @video_note end |
#voice ⇒ Voice? (readonly)
Returns the value of attribute voice.
21 22 23 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 21 def voice @voice end |
Class Method Details
.new(origin:, chat:, message_id:, link_preview_options:, animation:, audio:, document:, paid_media:, photo:, sticker:, story:, video:, video_note:, voice:, has_media_spoiler:, checklist:, contact:, dice:, game:, giveaway:, giveaway_winners:, invoice:, location:, poll:, venue:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/external_reply_info.rbs', line 6
def self.new: (origin: message_origin, ?chat: Chat, ?message_id: Integer, ?link_preview_options: LinkPreviewOptions, ?animation: Animation, ?audio: Audio, ?document: Document, ?paid_media: PaidMediaInfo, ?photo: Array[PhotoSize], ?sticker: Sticker, ?story: Story, ?video: Video, ?video_note: VideoNote, ?voice: Voice, ?has_media_spoiler: true, ?checklist: Checklist, ?contact: Contact, ?dice: Dice, ?game: Game, ?giveaway: Giveaway, ?giveaway_winners: GiveawayWinners, ?invoice: Invoice, ?location: Location, ?poll: Poll, ?venue: Venue) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|