def METHOD_NAME(
    self,
) -> MessagingOperationsDict:
    pre_enable = None  # type: Optional[MessagingOperations]
    if not self.access_only:
        pre_enable = [
            (
                util.prompt_for_confirmation,
                {
                    "msg": messages.REALTIME_PROMPT,
                    "assume_yes": self.assume_yes,
                    "default": True,
                },
            )
        ]
    return {
        "pre_enable": pre_enable,
        "pre_disable": [
            (
                util.prompt_for_confirmation,
                {
                    "msg": messages.REALTIME_PRE_DISABLE_PROMPT,
                    "assume_yes": self.assume_yes,
                },
            )
        ],
    }