original_string: public static function messageuser_link_params(int $useridto) : array {
          global $USER;
  
          return [
              'id' => 'message-user-button',
              'role' => 'button',
              'data-conversationid' => api::get_conversation_between_users([$USER->id, $useridto]),
              'data-userid' => $useridto,
          ];
      }
code: public static function messageuser_link_params(int $useridto) : array {
          global $USER;
  
          return [
              'id' => 'message-user-button',
              'role' => 'button',
              'data-conversationid' => api::get_conversation_between_users([$USER->id, $useridto]),
              'data-userid' => $useridto,
          ];
      }
code_tokens: public static function messageuser_link_params ( int $ useridto ) : array { global $ USER ; return [ 'id' => 'message-user-button' , 'role' => 'button' , 'data-conversationid' => api :: get_conversation_between_users ( [ $ USER -> id , $ useridto ] ) , 'data-userid' => $ useridto , ] ; }
docstring: Returns the attributes to place on the message user button.
  
  @param int $useridto
  @return array
docstring_tokens: Returns the attributes to place on the message user button .