def _get_default_delivery_medium(self):
medium_options = (<EOL>self._conversation.self_conversation_state.delivery_medium_option<EOL>)<EOL>try:<EOL><INDENT>default_medium = medium_options[<NUM_LIT:0>].delivery_medium<EOL><DEDENT>except IndexError:<EOL><INDENT>logger.warning('<STR_LIT>', self.id_)<EOL>default_medium = hangouts_pb2.DeliveryMedium(<EOL>medium_type=hangouts_pb2.DELIVERY_MEDIUM_BABEL<EOL>)<EOL><DEDENT>for medium_option in medium_options:<EOL><INDENT>if medium_option.current_default:<EOL><INDENT>default_medium = medium_option.delivery_medium<EOL><DEDENT><DEDENT>return default_medium<EOL>
Return default DeliveryMedium to use for sending messages.

        Use the first option, or an option that's marked as the current
        default.