INNER CODE UNIT · Python
default_room
opsdroid/opsdroid · opsdroid/connector/__init__.py:223
def default_room(self): # noqa: D401
"""The room to send messages to if not specified."""
warnings.warn(
"Connector.default_room is deprecated. Use "
"Connector.default_target instead.",
DeprecationWarning,
)
return self.default_target
@default_room.setter
def default_room(self, value):
warnings.warn(
"Connector.default_room is deprecated. Use "
"Connector.default_target instead.",
DeprecationWarning,
)