KeyboardButtonRequestGeoLocation#

class pyrogram.raw.types.KeyboardButtonRequestGeoLocation#

Button to request a user’s geolocation Available only in private chats, in reply keyboards. When pressed, clients must request permission from the user to send the current user’s geolocation to the chat, replying to the message that attached the replyKeyboardMarkup.

Constructor of KeyboardButton.

Details:
  • Layer: 227

  • ID: AA40F94D

Parameters:
Functions:

This object can be returned by 1 function.

bots.GetRequestedWebViewButton

Fetch the peer request button a bot prepared for a Mini App with bots.requestWebViewButton, invoked when the Mini App emits a web_app_request_chat event, see here for more info.