DeleteMessages

public struct DeleteMessages : Codable, Equatable, TDFunction

Deletes messages

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • Chat identifier

    Declaration

    Swift

    public let chatId: Int53
  • Identifiers of the messages to be deleted

    Declaration

    Swift

    public let messageIds: [Int53]
  • Pass true to try to delete messages for all chat members. Always true for supergroups, channels and secret chats

    Declaration

    Swift

    public let revoke: Bool
  • Deletes messages

    Declaration

    Swift

    public init(chatId: Int53, messageIds: [Int53], revoke: Bool)

    Parameters

    chatId

    Chat identifier

    messageIds

    Identifiers of the messages to be deleted

    revoke

    Pass true to try to delete messages for all chat members. Always true for supergroups, channels and secret chats