We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f748667 commit 898b322Copy full SHA for 898b322
1 file changed
pyrogram/methods/bots/answer_guest_query.py
@@ -16,8 +16,6 @@
16
# You should have received a copy of the GNU Lesser General Public License
17
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
18
19
-from typing import Iterable
20
-
21
import pyrogram
22
from pyrogram import raw, types
23
@@ -47,10 +45,11 @@ async def answer_guest_query(
47
45
48
46
await app.answer_guest_query(
49
guest_query_id,
50
- results=[
51
- InlineQueryResultArticle(
52
- "Title",
53
- InputTextMessageContent("Message content"))])
+ result=InlineQueryResultArticle(
+ "Title",
+ InputTextMessageContent("Message content")
+ ),
+ )
54
"""
55
r = await self.invoke(
56
raw.functions.messages.SetBotGuestChatResult(
0 commit comments