|
22 | 22 | from pyrogram import types |
23 | 23 | from ..object import Object |
24 | 24 |
|
25 | | -"""- :obj:`~pyrogram.types.InlineQueryResultCachedAudio` |
| 25 | + |
| 26 | +class InlineQueryResult(Object): |
| 27 | + """One result of an inline query. |
| 28 | +
|
| 29 | + - :obj:`~pyrogram.types.InlineQueryResultCachedAudio` |
26 | 30 | - :obj:`~pyrogram.types.InlineQueryResultCachedDocument` |
27 | | - - :obj:`~pyrogram.types.InlineQueryResultCachedGif` |
28 | | - - :obj:`~pyrogram.types.InlineQueryResultCachedMpeg4Gif` |
| 31 | + - :obj:`~pyrogram.types.InlineQueryResultCachedAnimation` |
29 | 32 | - :obj:`~pyrogram.types.InlineQueryResultCachedPhoto` |
30 | 33 | - :obj:`~pyrogram.types.InlineQueryResultCachedSticker` |
31 | 34 | - :obj:`~pyrogram.types.InlineQueryResultCachedVideo` |
32 | 35 | - :obj:`~pyrogram.types.InlineQueryResultCachedVoice` |
| 36 | + - :obj:`~pyrogram.types.InlineQueryResultArticle` |
33 | 37 | - :obj:`~pyrogram.types.InlineQueryResultAudio` |
34 | 38 | - :obj:`~pyrogram.types.InlineQueryResultContact` |
35 | | - - :obj:`~pyrogram.types.InlineQueryResultGame` |
36 | 39 | - :obj:`~pyrogram.types.InlineQueryResultDocument` |
37 | | - - :obj:`~pyrogram.types.InlineQueryResultGif` |
| 40 | + - :obj:`~pyrogram.types.InlineQueryResultAnimation` |
38 | 41 | - :obj:`~pyrogram.types.InlineQueryResultLocation` |
39 | | - - :obj:`~pyrogram.types.InlineQueryResultMpeg4Gif` |
40 | 42 | - :obj:`~pyrogram.types.InlineQueryResultPhoto` |
41 | 43 | - :obj:`~pyrogram.types.InlineQueryResultVenue` |
42 | 44 | - :obj:`~pyrogram.types.InlineQueryResultVideo` |
43 | | - - :obj:`~pyrogram.types.InlineQueryResultVoice`""" |
44 | | - |
45 | | - |
46 | | -class InlineQueryResult(Object): |
47 | | - """One result of an inline query. |
48 | | -
|
49 | | - Pyrogram currently supports results of the following types: |
50 | | -
|
51 | | - - :obj:`~pyrogram.types.InlineQueryResultArticle` |
52 | | - - :obj:`~pyrogram.types.InlineQueryResultAudio` |
53 | | - - :obj:`~pyrogram.types.InlineQueryResultAnimation` |
54 | | - - :obj:`~pyrogram.types.InlineQueryResultContact` |
55 | | - - :obj:`~pyrogram.types.InlineQueryResultDocument` |
56 | | - - :obj:`~pyrogram.types.InlineQueryResultPhoto` |
57 | | - - :obj:`~pyrogram.types.InlineQueryResultVideo` |
| 45 | + - :obj:`~pyrogram.types.InlineQueryResultVoice` |
58 | 46 | """ |
59 | 47 |
|
60 | 48 | def __init__( |
|
0 commit comments