peyk.platforms.rubika.methods.send_location¶
- async peyk.platforms.rubika.methods.send_location(self, chat_id: str, latitude: str, longitude: str, *, chat_keypad: Keypad | Dict[str, object] | None = None, inline_keypad: Keypad | Dict[str, object] | None = None, chat_keypad_type: str | None = None, reply_to_message_id: str | None = None, disable_notification: bool | None = None) Message[source]¶
Sends location through the Rubika API.
- Parameters:
chat_id – Identifier of the target chat.
latitude – Value used by this operation.
longitude – Value used by this operation.
chat_keypad – Value used by this operation.
inline_keypad – Value used by this operation.
chat_keypad_type – Value used by this operation.
reply_to_message_id – Value used by this operation.
disable_notification – Value used by this operation.
- Returns:
Result produced by the Rubika operation.