Class: Telegrammer::DataTypes::InlineQueryResultMpeg4Gif
- Defined in:
- lib/telegrammer/data_types/inline_query_result_mpeg4_gif.rb
Overview
Telegram InlineQueryResultMpeg4Gif data type
See more at core.telegram.org/bots/api#inlinequeryresultmpeg4gif
Instance Attribute Summary collapse
-
#caption ⇒ String
Optional.
-
#disable_web_page_preview ⇒ Boolean
Optional.
-
#id ⇒ String
Unique identifier for this result, 1-64 bytes.
-
#message_text ⇒ String
Optional.
-
#mpeg4_height ⇒ Integer
Optional.
-
#mpeg4_url ⇒ String
A valid URL for the MP4 file.
-
#mpeg4_width ⇒ Integer
Optional.
-
#parse_mode ⇒ String
Optional.
-
#thumb_url ⇒ String
URL of the static thumbnail (jpeg or gif) for the result.
-
#title ⇒ String
Optional.
-
#type ⇒ String
Type of the result, must be mpeg4_gif.
Instance Attribute Details
#caption ⇒ String
Optional. Caption of the MPEG-4 file to be sent, 0-200 characters
18 19 20 |
# File 'lib/telegrammer/data_types/inline_query_result_mpeg4_gif.rb', line 18 def @caption end |
#disable_web_page_preview ⇒ Boolean
Optional. Disables link previews for links in the sent message
18 19 20 |
# File 'lib/telegrammer/data_types/inline_query_result_mpeg4_gif.rb', line 18 def disable_web_page_preview @disable_web_page_preview end |
#id ⇒ String
Unique identifier for this result, 1-64 bytes
18 19 20 |
# File 'lib/telegrammer/data_types/inline_query_result_mpeg4_gif.rb', line 18 def id @id end |
#message_text ⇒ String
Optional. Text of a message to be sent instead of the animation, 1-512 characters
18 19 20 |
# File 'lib/telegrammer/data_types/inline_query_result_mpeg4_gif.rb', line 18 def @message_text end |
#mpeg4_height ⇒ Integer
Optional. Video height
18 19 20 |
# File 'lib/telegrammer/data_types/inline_query_result_mpeg4_gif.rb', line 18 def mpeg4_height @mpeg4_height end |
#mpeg4_url ⇒ String
A valid URL for the MP4 file. File size must not exceed 1MB
18 19 20 |
# File 'lib/telegrammer/data_types/inline_query_result_mpeg4_gif.rb', line 18 def mpeg4_url @mpeg4_url end |
#mpeg4_width ⇒ Integer
Optional. Video width
18 19 20 |
# File 'lib/telegrammer/data_types/inline_query_result_mpeg4_gif.rb', line 18 def mpeg4_width @mpeg4_width end |
#parse_mode ⇒ String
Optional. Send “Markdown”, if you want Telegram apps to show bold, italic and inline URLs in your bot’s message.
18 19 20 |
# File 'lib/telegrammer/data_types/inline_query_result_mpeg4_gif.rb', line 18 def parse_mode @parse_mode end |
#thumb_url ⇒ String
URL of the static thumbnail (jpeg or gif) for the result
18 19 20 |
# File 'lib/telegrammer/data_types/inline_query_result_mpeg4_gif.rb', line 18 def thumb_url @thumb_url end |
#title ⇒ String
Optional. Title for the result
18 19 20 |
# File 'lib/telegrammer/data_types/inline_query_result_mpeg4_gif.rb', line 18 def title @title end |
#type ⇒ String
Type of the result, must be mpeg4_gif
18 19 20 |
# File 'lib/telegrammer/data_types/inline_query_result_mpeg4_gif.rb', line 18 def type @type end |