SendInlineBotResult¶
-
class
pyrogram.raw.functions.messages.
SendInlineBotResult
¶ Send a result obtained using messages.getInlineBotResults.
- Details
Layer:
126
ID:
0x220815b0
- Parameters
peer (
InputPeer
) – Destination.random_id (
int
64-bit
) – Random ID to avoid resending the same query.query_id (
int
64-bit
) – Query ID from messages.getInlineBotResults.id (
str
) – Result ID from messages.getInlineBotResults.silent (
bool
, optional) – Whether to send the message silently (no notification will be triggered on the other client).background (
bool
, optional) – Whether to send the message in background.clear_draft (
bool
, optional) – Whether to clear the draft.hide_via (
bool
, optional) – Whether to hide the via @botname in the resulting message (only for bot usernames encountered in the config).reply_to_msg_id (
int
32-bit
, optional) – ID of the message this message should reply to.schedule_date (
int
32-bit
, optional) – Scheduled message date for scheduled messages.
- Returns
Updates
– Object which is perceived by the client without a call on its part when an event occurs.