From c8d40dccabaaa406faed6c0797a92bac811c9d0f Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Tue, 5 Jun 2018 19:07:27 +0300 Subject: Update docs --- docs/class_tg_bot_1_1_input_media.html | 61 ++++++++++++++++++++++------------ 1 file changed, 40 insertions(+), 21 deletions(-) (limited to 'docs/class_tg_bot_1_1_input_media.html') diff --git a/docs/class_tg_bot_1_1_input_media.html b/docs/class_tg_bot_1_1_input_media.html index 5113f1d..0ed23bf 100644 --- a/docs/class_tg_bot_1_1_input_media.html +++ b/docs/class_tg_bot_1_1_input_media.html @@ -88,6 +88,9 @@ $(document).ready(function(){initNavTree('class_tg_bot_1_1_input_media.html','')
+

This object represents the content of a media message to be sent. + More...

+

#include <InputMedia.h>

Inheritance diagram for TgBot::InputMedia:
@@ -95,8 +98,8 @@ Inheritance diagram for TgBot::InputMedia:
-TgBot::InputMediaPhoto -TgBot::InputMediaVideo +TgBot::InputMediaPhoto +TgBot::InputMediaVideo
@@ -112,26 +115,34 @@ Public Types + + + + + + + +

Public Attributes

TYPE type
 Type of the result, It should be one of TYPE::PHOTO/TYPE::VIDEO. More...
 
std::string media
 File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass "attach://<file_attach_name>" to upload a new one using multipart/form-data under <file_attach_name> name. More...
 
std::string caption
 Optional. Caption of the photo to be sent, 0-200 characters. More...
 
std::string parseMode
 Optional. Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption. More...
 
int32_t width = 0
 Optional. Video width. More...
 
int32_t height = 0
 Optional. Video height. More...
 
int32_t duration = 0
 Optional. Video duration. More...
 
bool supportsStreaming = false
 Optional. Pass True, if the uploaded video is suitable for streaming. More...
 

Detailed Description

This object represents the content of a media message to be sent.

-

Definition at line 37 of file InputMedia.h.

+

Definition at line 38 of file InputMedia.h.

Member Typedef Documentation

◆ Ptr

@@ -145,7 +156,7 @@ Public Attributes
-

Definition at line 39 of file InputMedia.h.

+

Definition at line 40 of file InputMedia.h.

@@ -174,7 +185,7 @@ Public Attributes VIDEO  -

Definition at line 41 of file InputMedia.h.

+

Definition at line 42 of file InputMedia.h.

@@ -190,9 +201,10 @@ Public Attributes
-

Optional. Caption of the photo to be sent, 0-200 characters

-

Definition at line 59 of file InputMedia.h.

+

Optional. Caption of the photo to be sent, 0-200 characters.

+ +

Definition at line 60 of file InputMedia.h.

@@ -207,9 +219,10 @@ Public Attributes
-

Optional. Video duration

-

Definition at line 79 of file InputMedia.h.

+

Optional. Video duration.

+ +

Definition at line 80 of file InputMedia.h.

@@ -224,9 +237,10 @@ Public Attributes
-

Optional. Video height

-

Definition at line 74 of file InputMedia.h.

+

Optional. Video height.

+ +

Definition at line 75 of file InputMedia.h.

@@ -241,9 +255,10 @@ Public Attributes
-

File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass "attach://<file_attach_name>" to upload a new one using multipart/form-data under <file_attach_name> name.

-

Definition at line 54 of file InputMedia.h.

+

File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass "attach://<file_attach_name>" to upload a new one using multipart/form-data under <file_attach_name> name.

+ +

Definition at line 55 of file InputMedia.h.

@@ -258,9 +273,10 @@ Public Attributes
+

Optional. Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption.

-

Definition at line 64 of file InputMedia.h.

+

Definition at line 65 of file InputMedia.h.

@@ -275,9 +291,10 @@ Public Attributes
-

Optional. Pass True, if the uploaded video is suitable for streaming

-

Definition at line 84 of file InputMedia.h.

+

Optional. Pass True, if the uploaded video is suitable for streaming.

+ +

Definition at line 85 of file InputMedia.h.

@@ -292,9 +309,10 @@ Public Attributes
-

Type of the result, It should be one of TYPE::PHOTO/TYPE::VIDEO

-

Definition at line 49 of file InputMedia.h.

+

Type of the result, It should be one of TYPE::PHOTO/TYPE::VIDEO.

+ +

Definition at line 50 of file InputMedia.h.

@@ -309,9 +327,10 @@ Public Attributes
-

Optional. Video width

-

Definition at line 69 of file InputMedia.h.

+

Optional. Video width.

+ +

Definition at line 70 of file InputMedia.h.

@@ -324,7 +343,7 @@ Public Attributes