SendLocationReq

final case class SendLocationReq(chatId: ChatId, latitude: Float, longitude: Float, messageThreadId: Option[Int], horizontalAccuracy: Option[Float], livePeriod: Option[Int], heading: Option[Int], proximityAlertRadius: Option[Int], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup])
Value parameters:
allowSendingWithoutReply

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

chatId

Unique identifier for the target chat or username of the target channel (in the format @channelusername)

disableNotification

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

heading

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

horizontalAccuracy

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

latitude

Latitude of the location

livePeriod

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

longitude

Longitude of the location

messageThreadId

Unique identifier for the target message thread (topic) of the forum; for forum supergroups only

protectContent

Protects the contents of the sent message from forwarding and saving

proximityAlertRadius

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

replyMarkup

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.

replyToMessageId

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

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product