glados.slack_classes.views module

class glados.slack_classes.views.Home(*, blocks=None)[source]

Bases: slack.web.classes.JsonObject

add_block(block)[source]
Parameters

block (Block) –

attributes = {'home'}
to_dict(*args)[source]

Extract this object as a JSON-compatible, Slack-API-valid dictionary

Parameters

*args – Any specific formatting args (rare; generally not required)

Raises

SlackObjectFormationError if the object was not valid

Return type

dict