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_file.html | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) (limited to 'docs/class_tg_bot_1_1_file.html') diff --git a/docs/class_tg_bot_1_1_file.html b/docs/class_tg_bot_1_1_file.html index 85f589d..fefc695 100644 --- a/docs/class_tg_bot_1_1_file.html +++ b/docs/class_tg_bot_1_1_file.html @@ -88,6 +88,9 @@ $(document).ready(function(){initNavTree('class_tg_bot_1_1_file.html','');});
+

This object represents a file ready to be downloaded. + More...

+

#include <File.h>

+ + +

@@ -98,16 +101,20 @@ Public Types

Public Attributes

std::string fileId
 Unique identifier for this file. More...
 
int32_t fileSize
 Optional. File size, if known. More...
 
std::string filePath
 Optional. File path. More...
 

Detailed Description

-

This object represents a file ready to be downloaded. The file can be downloaded via the link https://api.telegram.org/file/bot<token>/<file_path>. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling getFile. Maximum file size to download is 20 MB

+

This object represents a file ready to be downloaded.

+

The file can be downloaded via the link https://api.telegram.org/file/bot<token>/<file_path>. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling getFile. Maximum file size to download is 20 MB

-

Definition at line 21 of file File.h.

+

Definition at line 23 of file File.h.

Member Typedef Documentation

◆ Ptr

@@ -121,7 +128,7 @@ Public Attributes
-

Definition at line 24 of file File.h.

+

Definition at line 26 of file File.h.

@@ -137,9 +144,10 @@ Public Attributes
-

Unique identifier for this file

-

Definition at line 29 of file File.h.

+

Unique identifier for this file.

+ +

Definition at line 31 of file File.h.

@@ -154,9 +162,11 @@ Public Attributes
-

Optional. File path. Use https://api.telegram.org/file/bot<token>/<file_path> to get the file.

-

Definition at line 40 of file File.h.

+

Optional. File path.

+

Use https://api.telegram.org/file/bot<token>/<file_path> to get the file.

+ +

Definition at line 43 of file File.h.

@@ -171,9 +181,10 @@ Public Attributes
-

Optional. File size, if known

-

Definition at line 34 of file File.h.

+

Optional. File size, if known.

+ +

Definition at line 36 of file File.h.

@@ -186,7 +197,7 @@ Public Attributes