class sym.sdk.forms.SlackUserSelection(*, user_id: str, username: Optional[str] = None)

Bases: pydantic.main.BaseModel

A representation of a Slack user who has been selected in a Slack user drop-down menu (i.e. a Sym prompt_field with a type of “slack_user” or “slack_user_list”).

field user_id: str [Required]

The Slack ID of the Slack user who was selected.

field username: Optional[str] = None

The Sym username (i.e. email or bot username) of the user who was selected.

If the selected Slack user is not already a known Sym user in your organization, this attribute will return None.