(type_: str,
              id_: int,
              style: Optional[int] = None)
return MessageSegment(type_='music',
                              data=_remove_optional({
                                  'type': type_,
                                  'id': str(id_),
                                  'style': _optionally_strfy(style),
                              }))
音乐
音乐
音乐
def music(type_: str,
              id_: int,
              style: Optional[int] = None) -> 'MessageSegment':
        """音乐"""
        # NOTE: style parameter is not part of the onebot v11 std.
        return MessageSegment(type_='music',
                              data=_remove_optional({
                                  'type': type_,
                                  'id': str(id_),
                                  'style': _optionally_strfy(style),
                              }))
def music ( type_ : str , id_ : int , style : Optional [ int ] = None ) -> 'MessageSegment' : # NOTE: style parameter is not part of the onebot v11 std. return MessageSegment ( type_ = 'music' , data = _remove_optional ( { 'type' : type_ , 'id' : str ( id_ ) , 'style' : _optionally_strfy ( style ) , } ) )