ChatEventLogFilters

public struct ChatEventLogFilters : Codable, Equatable, FunctionResult

Represents a set of filters used to obtain a chat event log

  • True, if message edits should be returned

    Declaration

    Swift

    public let messageEdits: Bool
  • True, if message deletions should be returned

    Declaration

    Swift

    public let messageDeletions: Bool
  • True, if pin/unpin events should be returned

    Declaration

    Swift

    public let messagePins: Bool
  • True, if members joining events should be returned

    Declaration

    Swift

    public let memberJoins: Bool
  • True, if members leaving events should be returned

    Declaration

    Swift

    public let memberLeaves: Bool
  • True, if invited member events should be returned

    Declaration

    Swift

    public let memberInvites: Bool
  • True, if member promotion/demotion events should be returned

    Declaration

    Swift

    public let memberPromotions: Bool
  • True, if member restricted/unrestricted/banned/unbanned events should be returned

    Declaration

    Swift

    public let memberRestrictions: Bool
  • True, if changes in chat information should be returned

    Declaration

    Swift

    public let infoChanges: Bool
  • True, if changes in chat settings should be returned

    Declaration

    Swift

    public let settingChanges: Bool
  • Represents a set of filters used to obtain a chat event log

    Declaration

    Swift

    public init(messageEdits: Bool, messageDeletions: Bool, messagePins: Bool, memberJoins: Bool, memberLeaves: Bool, memberInvites: Bool, memberPromotions: Bool, memberRestrictions: Bool, infoChanges: Bool, settingChanges: Bool)

    Parameters

    messageEdits

    True, if message edits should be returned

    messageDeletions

    True, if message deletions should be returned

    messagePins

    True, if pin/unpin events should be returned

    memberJoins

    True, if members joining events should be returned

    memberLeaves

    True, if members leaving events should be returned

    memberInvites

    True, if invited member events should be returned

    memberPromotions

    True, if member promotion/demotion events should be returned

    memberRestrictions

    True, if member restricted/unrestricted/banned/unbanned events should be returned

    infoChanges

    True, if changes in chat information should be returned

    settingChanges

    True, if changes in chat settings should be returned