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/_audio_8h_source.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'docs/_audio_8h_source.html') diff --git a/docs/_audio_8h_source.html b/docs/_audio_8h_source.html index 49e880e..53c03c5 100644 --- a/docs/_audio_8h_source.html +++ b/docs/_audio_8h_source.html @@ -83,22 +83,22 @@ $(document).ready(function(){initNavTree('_audio_8h_source.html','');});
Audio.h
-Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_AUDIO_H
24 #define TGBOT_CPP_AUDIO_H
25 
26 #include <string>
27 #include <memory>
28 
29 namespace TgBot {
30 
35 class Audio {
36 
37 public:
38  typedef std::shared_ptr<Audio> Ptr;
39 
43  std::string fileId;
44 
48  int32_t duration;
49 
54  std::string performer;
55 
60  std::string title;
61 
65  std::string mimeType;
66 
70  int32_t fileSize;
71 };
72 
73 }
74 
75 #endif //TGBOT_CPP_AUDIO_H
int32_t duration
Definition: Audio.h:48
-
std::shared_ptr< Audio > Ptr
Definition: Audio.h:38
-
Definition: Api.h:46
-
std::string mimeType
Definition: Audio.h:65
-
std::string title
Definition: Audio.h:60
- -
std::string fileId
Definition: Audio.h:43
-
int32_t fileSize
Definition: Audio.h:70
-
std::string performer
Definition: Audio.h:54
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_AUDIO_H
24 #define TGBOT_CPP_AUDIO_H
25 
26 #include <string>
27 #include <memory>
28 
29 namespace TgBot {
30 
36 class Audio {
37 
38 public:
39  typedef std::shared_ptr<Audio> Ptr;
40 
44  std::string fileId;
45 
49  int32_t duration;
50 
55  std::string performer;
56 
61  std::string title;
62 
66  std::string mimeType;
67 
71  int32_t fileSize;
72 };
73 
74 }
75 
76 #endif //TGBOT_CPP_AUDIO_H
int32_t duration
Duration of the audio in seconds as defined by sender.
Definition: Audio.h:49
+
std::shared_ptr< Audio > Ptr
Definition: Audio.h:39
+
Definition: Api.h:47
+
std::string mimeType
Optional. MIME type of the file as defined by sender.
Definition: Audio.h:66
+
std::string title
Optional. Title of the audio as defined by sender or by audio tags.
Definition: Audio.h:61
+
This object represents an audio file (voice note).
Definition: Audio.h:36
+
std::string fileId
Unique identifier for this file.
Definition: Audio.h:44
+
int32_t fileSize
Optional. File size.
Definition: Audio.h:71
+
std::string performer
Optional. Performer of the audio as defined by sender or by audio tags.
Definition: Audio.h:55