DeleteChatMessagesFromUser

public struct DeleteChatMessagesFromUser : Codable, Equatable, TDFunction

Deletes all messages sent by the specified user to a chat. Supported only for supergroups; requires can_delete_messages administrator privileges

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • Chat identifier

    Declaration

    Swift

    public let chatId: Int53
  • User identifier

    Declaration

    Swift

    public let userId: Int32
  • Deletes all messages sent by the specified user to a chat. Supported only for supergroups; requires can_delete_messages administrator privileges

    Declaration

    Swift

    public init(chatId: Int53, userId: Int32)

    Parameters

    chatId

    Chat identifier

    userId

    User identifier