ReportSupergroupSpam

public struct ReportSupergroupSpam : Codable, Equatable, TDFunction

Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • Supergroup identifier

    Declaration

    Swift

    public let supergroupId: Int32
  • User identifier

    Declaration

    Swift

    public let userId: Int32
  • Identifiers of messages sent in the supergroup by the user. This list must be non-empty

    Declaration

    Swift

    public let messageIds: [Int53]
  • Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup

    Declaration

    Swift

    public init(supergroupId: Int32, userId: Int32, messageIds: [Int53])

    Parameters

    supergroupId

    Supergroup identifier

    userId

    User identifier

    messageIds

    Identifiers of messages sent in the supergroup by the user. This list must be non-empty