EmailUsersCourseData

class EmailUsersCourseData[source]

Input data required for the Course::EmailUsers operation.

subject: str

The subject of the email

body: str

The plain text body of the email

email_all_users: bool

Email all users of the course except those specified in usernames. If false we will email only the users specified in usernames.

users: Sequence[UserInput]

The usernames of the users to email (or not to email, depending on the value of email_all_users).