EditMessageLiveLocation
public struct EditMessageLiveLocation : Codable, Equatable, TDFunction
Edits the message content of a live location. Messages can be edited for a limited period of time specified in the live location. Returns the edited message after the edit is completed on the server side
-
Undocumented
Declaration
Swift
public typealias Result = Message -
The chat the message belongs to
Declaration
Swift
public let chatId: Int53 -
Identifier of the message
Declaration
Swift
public let messageId: Int53 -
The new message reply markup; for bots only
Declaration
Swift
public let replyMarkup: ReplyMarkup? -
New location content of the message; may be null. Pass null to stop sharing the live location
Declaration
Swift
public let location: Location? -
Edits the message content of a live location. Messages can be edited for a limited period of time specified in the live location. Returns the edited message after the edit is completed on the server side
Declaration
Swift
public init(chatId: Int53, messageId: Int53, replyMarkup: ReplyMarkup?, location: Location?)Parameters
chatIdThe chat the message belongs to
messageIdIdentifier of the message
replyMarkupThe new message reply markup; for bots only
locationNew location content of the message; may be null. Pass null to stop sharing the live location
View on GitHub
Install in Dash
EditMessageLiveLocation Structure Reference