peyk.platforms.telegram.methods.answer_guest_query¶
- async peyk.platforms.telegram.methods.answer_guest_query(self, guest_query_id: str, result: InlineQueryResultArticle | InlineQueryResultPhoto | InlineQueryResultGif | InlineQueryResultMpeg4Gif | InlineQueryResultVideo | InlineQueryResultAudio | InlineQueryResultVoice | InlineQueryResultDocument | InlineQueryResultLocation | InlineQueryResultVenue | InlineQueryResultContact | InlineQueryResultGame | InlineQueryResultCachedPhoto | InlineQueryResultCachedGif | InlineQueryResultCachedMpeg4Gif | InlineQueryResultCachedSticker | InlineQueryResultCachedDocument | InlineQueryResultCachedVideo | InlineQueryResultCachedVoice | InlineQueryResultCachedAudio) SentGuestMessage¶
Use this method to reply to a received guest message. On success, a SentGuestMessage object is returned.
- Parameters:
guest_query_id – Unique identifier for the query to be answered
result – A JSON-serialized object describing the message to be sent
- Returns:
Result returned by Telegram on successful execution.
- Return type: