Class TransferredMessage

Hierarchy (view full)

Constructors

Properties

#amountOfRecipients: number
#client: Pronote
#content: string
#created: Date
#id: string
#partialVisibility: boolean
#receiver?: MessageRecipient

Accessors

  • get amountOfRecipients(): number
  • Returns number

    Remark

    The author is also counted as a recipient.

    Example

    // In the situation when there's you and a teacher.
    message.amountOfRecipients === 2; // 1 (you) + 1 (teacher)
  • get partialVisibility(): boolean
  • true when only some people can see the message.

    Returns boolean

Methods