Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface sendLocationOptions

Hierarchy

  • OptionsBase
    • sendLocationOptions

Index

Properties

allow_sending_without_reply?: boolean

Pass True, if the message should be sent even if the specified replied-to message is not found

disable_notification?: boolean

Sends the message silently. Users will receive a notification with no sound.

heading?: number

For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.

horizontal_accuracy?: number

The radius of uncertainty for the location, measured in meters; 0-1500

live_period?: number

Period in seconds for which the location will be updated (see Live Locations, should be between 60 and 86400.

protect_content?: boolean

Protects the contents of the sent message from forwarding and saving

proximity_alert_radius?: number

For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.

Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user.

reply_to_message_id?: number

If the message is a reply, ID of the original message

Generated using TypeDoc