#!/usr/pkg/bin/python3.12

import argparse

import zulip

usage = """delete-message <message_id> [options]

Please note that an administrator user is required for this example.

Example: delete-message 42
"""


parser = zulip.add_default_arguments(argparse.ArgumentParser(usage=usage))
parser.add_argument("message_id", type=int)
options = parser.parse_args()

client = zulip.init_from_options(options)

print(client.delete_message(options.message_id))
