StopPoll
public struct StopPoll : Codable, Equatable, TDFunction
Stops a poll. A poll in a message can be stopped when the message has can_be_edited flag set
-
Undocumented
Declaration
Swift
public typealias Result = Ok
-
Identifier of the chat to which the poll belongs
Declaration
Swift
public let chatId: Int53
-
Identifier of the message containing the poll
Declaration
Swift
public let messageId: Int53
-
The new message reply markup; for bots only
Declaration
Swift
public let replyMarkup: ReplyMarkup?
-
Stops a poll. A poll in a message can be stopped when the message has can_be_edited flag set
Declaration
Swift
public init(chatId: Int53, messageId: Int53, replyMarkup: ReplyMarkup?)
Parameters
chatId
Identifier of the chat to which the poll belongs
messageId
Identifier of the message containing the poll
replyMarkup
The new message reply markup; for bots only