langchain_community.tools.slack.schedule_message.ScheduleMessageSchema¶
class langchain_community.tools.slack.schedule_message.ScheduleMessageSchema[source]¶
Bases: BaseModel
Input for ScheduleMessageTool.
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
param channel: str [Required]¶
The channel, private group, or IM channel to send message to.
param message: str [Required]¶
The message to be sent.
param timestamp: str [Required]¶
The datetime for when the message should be sent in the  following format: YYYY-MM-DDTHH:MM:SS±hh:mm, where “T” separates the date  and time components, and the time zone offset is specified as ±hh:mm.  For example: “2023-06-09T10:30:00+03:00” represents June 9th,  2023, at 10:30 AM in a time zone with a positive offset of 3  hours from Coordinated Universal Time (UTC).
classmethod construct(_fields_set: Optional[SetStr] = None, **values: Any) → Model¶
Creates a new model setting __dict__ and __fields_set__ from trusted or pre-validated data.
Default values are respected, but no other validation is performed.
Behaves as if Config.extra = ‘allow’ was set since it adds all passed values
copy(*, include: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, exclude: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, update: Optional[DictStrAny] = None, deep: bool = False) → Model¶
Duplicate a model, optionally choose which fields to include, exclude and change.
Parameters
include – fields to include in new model