- class sym.sdk.request_destination.SlackChannelName(*, allow_self: bool = False, timeout: Optional[int] = None, channel_name: str)¶
A Request to be sent to a Slack Channel, identified by a Slack Channel name.
- field channel_name: str [Required]¶
A string that identifies a Slack Channel by its unique name. (e.g. ‘#sym-errors’).
- Validated by
- classmethod parse_obj(obj)¶
Without this method override, Pydantic will not call our custom validator when parsing a RequestDestination directly (e.g. RequestDestination.parse_obj(…)). It will only be called when parsing fields that contain a RequestDestination object (e.g. SlackUserGroup.parse_obj(…), where the users field contains SlackUsers which are subclasses of RequestDestination).