def __init__(self, base_url=None, alt_text=None, base_size=None, actions=None, **kwargs):
        """__init__ method.

        :param str base_url: Base URL of image.
            HTTPS
        :param str alt_text: Alternative text
        :param base_size: Width and height of base image
        :type base_size: :py:class:`linebot.models.imagemap.BaseSize`
        :param actions: Action when tapped
        :type actions: list[T <= :py:class:`linebot.models.imagemap.ImagemapAction`]
        :param kwargs:
        """
        super(ImagemapSendMessage, self).__init__(**kwargs)

        self.type = 'imagemap'
        self.base_url = base_url
        self.alt_text = alt_text
        self.base_size = self.get_or_new_from_json_dict(
            base_size, BaseSize
        )

        new_actions = []
        if actions:
            for action in actions:
                action_obj = self.get_or_new_from_json_dict_with_types(
                    action, {
                        'uri': URIImagemapAction,
                        'message': MessageImagemapAction
                    }
                )
                if action_obj:
                    new_actions.append(action_obj)
        self.actions = new_actions
def __init__ ( self , base_url = None , alt_text = None , base_size = None , actions = None , ** kwargs ) : super ( ImagemapSendMessage , self ) . __init__ ( ** kwargs ) self . type = 'imagemap' self . base_url = base_url self . alt_text = alt_text self . base_size = self . get_or_new_from_json_dict ( base_size , BaseSize ) new_actions = [ ] if actions : for action in actions : action_obj = self . get_or_new_from_json_dict_with_types ( action , { 'uri' : URIImagemapAction , 'message' : MessageImagemapAction } ) if action_obj : new_actions . append ( action_obj ) self . actions = new_actions
__init__ method.

        :param str base_url: Base URL of image.
            HTTPS
        :param str alt_text: Alternative text
        :param base_size: Width and height of base image
        :type base_size: :py:class:`linebot.models.imagemap.BaseSize`
        :param actions: Action when tapped
        :type actions: list[T <= :py:class:`linebot.models.imagemap.ImagemapAction`]
        :param kwargs: