post

Hierarchy

  • ReturnsDiscussionsItem

Properties

attachment: null | string

Has attachments?

attachments

canfavourite: null | boolean

Can the user star the discussion

canlock: null | boolean

Can the user lock the discussion

canreply: null | boolean

Can the user reply to the discussion

created: null | number

Creation time

discussion: null | number

Discussion id

groupid: null | number

Group id

id: null | number

Post id

locked: null | boolean

Is the discussion locked

mailed: null | number

Mailed?

mailnow: null | number

Mail now?

message: null | string

The post message

messageformat: null | number

message format (1 = HTML, 0 = MOODLE, 2 = PLAIN, or 4 = MARKDOWN

post message inline files

messagetrust: null | number

Can we trust?

modified: null | number

Time modified

name: null | string

Discussion name

numreplies: null | number

The number of replies in the discussion

numunread: null | number

The number of unread discussions.

parent: null | number

Parent id

pinned: null | boolean

Is the discussion pinned

starred: null | boolean

Is the discussion starred

subject: null | string

The post subject

timeend: null | number

Time discussion ends

timemodified: null | number

Time modified

timestart: null | number

Time discussion can start

totalscore: null | number

The post message total score

userfullname: null | string

Post author full name

userid: null | number

User who started the discussion id

usermodified: null | number

The id of the user who last modified

usermodifiedfullname: null | string

Post modifier full name

usermodifiedpictureurl: null | string

Post modifier picture.

userpictureurl: null | string

Post author picture.

Generated using TypeDoc