def internal_prep_stream_message_by_name(realm: Realm, sender: UserProfile, stream_name: str, topic: str, content: str) -> Optional[Dict[(str, Any)]]:
    '\n    See _internal_prep_message for details of how this works.\n    '
    addressee = Addressee.for_stream_name(stream_name, topic)
    return _internal_prep_message(realm=realm, sender=sender, addressee=addressee, content=content)
See _internal_prep_message for details of how this works.
def internal_prep_stream_message_by_name(realm: Realm, sender: UserProfile, stream_name: str, topic: str, content: str) -> Optional[Dict[(str, Any)]]:
    '\n    \n    '
    addressee = Addressee.for_stream_name(stream_name, topic)
    return _internal_prep_message(realm=realm, sender=sender, addressee=addressee, content=content)